Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCantDecrypt = errors.New("can't decrypt stored wallet, wrong password?")
Functions ¶
func NewETHKeyManagerSigner ¶
func NewETHKeyManagerSigner(logger *zap.Logger, db basedb.Database, network networkconfig.NetworkConfig, builderProposals bool, encryptionKey string) (spectypes.KeyManager, error)
NewETHKeyManagerSigner returns a new instance of ethKeyManagerSigner
Types ¶
type Storage ¶ added in v0.4.0
type Storage interface { registry.RegistryStore core.Storage core.SlashingStore RemoveHighestAttestation(pubKey []byte) error RemoveHighestProposal(pubKey []byte) error SetEncryptionKey(newKey string) error ListAccountsTxn(r basedb.Reader) ([]core.ValidatorAccount, error) SaveAccountTxn(rw basedb.ReadWriter, account core.ValidatorAccount) error BeaconNetwork() beacon.BeaconNetwork }
Storage represents the interface for ssv node storage
func NewSignerStorage ¶ added in v0.4.0
type StorageProvider ¶ added in v1.1.0
type StorageProvider interface { ListAccounts() ([]core.ValidatorAccount, error) RetrieveHighestAttestation(pubKey []byte) (*phase0.AttestationData, bool, error) RetrieveHighestProposal(pubKey []byte) (phase0.Slot, bool, error) BumpSlashingProtection(pubKey []byte) error }
StorageProvider provides the underlying KeyManager storage.
Click to show internal directories.
Click to hide internal directories.