package
0.3.10
Repository: https://github.com/prysmaticlabs/go-ethereum.git
Documentation: pkg.go.dev

# Functions

NewDirect creates a new direct key manager from the secret keys provided to it.
NewInterop creates a key manager using a number of interop keys at a given offset.
NewKeystore creates a key manager populated with the keys from the keystore at the given path.
NewUnencrypted creates a keymanager from a file of unencrypted keys.
NewWallet creates a key manager populated with the keys from a wallet at the given path.

# Variables

ErrCannotSign is returned whenever a signing attempt fails.
ErrCouldSlash is returned whenever a signing attempt is refused due to a potential slashing event.
ErrNoSuchKey is returned whenever a request is made for a key of which a key manager is unaware.

# Structs

Direct is a key manager that holds all secret keys directly.
Interop is a key manager that deterministically generates keys.
Keystore is a key manager that loads keys from a standard keystore.
Unencrypted is a key manager that loads keys from an unencrypted store.
Wallet is a key manager that loads keys from a local Ethereum 2 wallet.

# Interfaces

KeyManager controls access to private keys by the validator.
ProtectingKeyManager provides access to a keymanager that protects its clients from slashing events.