Versions in this module Expand all Collapse all v2 v2.0.1 Oct 5, 2021 Changes in this version + const AccountsKeystoreFileName + const AccountsPath + const KeystoreFileNameFormat + func ResetCaches() + type AccountsKeystoreRepresentation struct + Crypto map[string]interface{} + ID string + Name string + Version uint + type Keymanager struct + func NewInteropKeymanager(_ context.Context, offset, numValidatorKeys uint64) (*Keymanager, error) + func NewKeymanager(ctx context.Context, cfg *SetupConfig) (*Keymanager, error) + func (km *Keymanager) CreateAccountsKeystore(_ context.Context, privateKeys, publicKeys [][]byte) (*AccountsKeystoreRepresentation, error) + func (km *Keymanager) DeleteAccounts(ctx context.Context, publicKeys [][]byte) error + func (km *Keymanager) ExtractKeystores(_ context.Context, publicKeys []bls.PublicKey, password string) ([]*keymanager.Keystore, error) + func (km *Keymanager) FetchValidatingPrivateKeys(ctx context.Context) ([][32]byte, error) + func (km *Keymanager) FetchValidatingPublicKeys(ctx context.Context) ([][48]byte, error) + func (km *Keymanager) ImportKeypairs(ctx context.Context, privKeys, pubKeys [][]byte) error + func (km *Keymanager) ImportKeystores(ctx context.Context, keystores []*keymanager.Keystore, importsPassword string) error + func (km *Keymanager) Sign(ctx context.Context, req *validatorpb.SignRequest) (bls.Signature, error) + func (km *Keymanager) SubscribeAccountChanges(pubKeysChan chan [][48]byte) event.Subscription + func (km *Keymanager) ValidatingAccountNames() ([]string, error) + type SetupConfig struct + ListenForChanges bool + Wallet iface.Wallet Other modules containing this package github.com/prysmaticlabs/prysm