Documentation ¶
Index ¶
Constants ¶
View Source
const KeysReloaded = "Reloaded validator keys into keymanager"
KeysReloaded is a "key reloaded" message.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IKeymanager ¶ added in v1.0.0
type IKeymanager interface { // FetchValidatingPublicKeys fetches the list of active public keys that should be used to validate with. FetchValidatingPublicKeys(ctx context.Context) ([][48]byte, error) // Sign signs a message using a validator key. Sign(context.Context, *validatorpb.SignRequest) (bls.Signature, error) // SubscribeAccountChanges subscribes to changes made to the underlying keys. SubscribeAccountChanges(pubKeysChan chan [][48]byte) event.Subscription }
IKeymanager defines a general keymanager interface for Prysm wallets.
type Keystore ¶
type Keystore struct { Crypto map[string]interface{} `json:"crypto"` ID string `json:"uuid"` Pubkey string `json:"pubkey"` Version uint `json:"version"` Name string `json:"name"` }
Keystore json file representation as a Go struct.
Directories ¶
Path | Synopsis |
---|---|
Package imported defines an implementation of an on-disk, EIP-2335 keystore.json approach towards defining validator accounts in Prysm.
|
Package imported defines an implementation of an on-disk, EIP-2335 keystore.json approach towards defining validator accounts in Prysm. |
Package remote defines an implementation of an on-disk, EIP-2335 keystore.json approach towards defining validator accounts in Prysm.
|
Package remote defines an implementation of an on-disk, EIP-2335 keystore.json approach towards defining validator accounts in Prysm. |
Click to show internal directories.
Click to hide internal directories.