Documentation
¶
Overview ¶
Package client defines ECDSA keep client.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Initialize ¶
func Initialize( ctx context.Context, operatorPublicKey *operator.PublicKey, ethereumChain eth.Handle, networkProvider net.Provider, persistence persistence.Handle, sanctionedApplications []common.Address, clientConfig *Config, tssConfig *tss.Config, )
Initialize initializes the ECDSA client with rules related to events handling. Expects a slice of sanctioned applications selected by the operator for which operator will be registered as a member candidate.
Types ¶
type Config ¶ added in v1.2.0
type Config struct {
// Defines the look-back period to check if existing, active keeps are awaiting
// signer generation on the client start. The client does not check keeps older
// than the look-back value.
AwaitingKeyGenerationLookback configtime.Duration
// Timeout for key generation and signature calculation.
KeyGenerationTimeout configtime.Duration
SigningTimeout configtime.Duration
}
Config contains configuration for tss protocol execution.
func (*Config) GetAwaitingKeyGenerationLookback ¶ added in v1.2.0
GetAwaitingKeyGenerationLookback returns a look-back period to check if existing, active keeps are awaiting signer generation. If a value is not set it returns a default value.
func (*Config) GetKeyGenerationTimeout ¶ added in v1.2.0
GetKeyGenerationTimeout returns key generation timeout. If a value is not set it returns a default value.
func (*Config) GetSigningTimeout ¶ added in v1.2.0
GetSigningTimeout returns signature calculation timeout. If a value is not set it returns a default value.