Documentation ¶
Index ¶
- type MockKeymanager
- func (*MockKeymanager) DeleteKeystores(context.Context, [][]byte) ([]*ethpbservice.DeletedKeystoreStatus, error)
- func (*MockKeymanager) ExtractKeystores(_ context.Context, _ []bls.PublicKey, _ string) ([]*keymanager.Keystore, error)
- func (m *MockKeymanager) FetchValidatingPublicKeys(context.Context) ([][fieldparams.BLSPubkeyLength]byte, error)
- func (*MockKeymanager) ListKeymanagerAccounts(context.Context, keymanager.ListKeymanagerAccountConfig) error
- func (m *MockKeymanager) ReloadPublicKeys(context.Context) ([][fieldparams.BLSPubkeyLength]byte, error)
- func (*MockKeymanager) Sign(_ context.Context, s *validatorpb.SignRequest) (bls.Signature, error)
- func (m *MockKeymanager) SubscribeAccountChanges(chan [][fieldparams.BLSPubkeyLength]byte) event.Subscription
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockKeymanager ¶
type MockKeymanager struct { PublicKeys [][fieldparams.BLSPubkeyLength]byte ReloadPublicKeysChan chan [][fieldparams.BLSPubkeyLength]byte ReloadPublicKeysCalled bool // contains filtered or unexported fields }
MockKeymanager --
func NewMock ¶
func NewMock() MockKeymanager
func (*MockKeymanager) DeleteKeystores ¶
func (*MockKeymanager) DeleteKeystores(context.Context, [][]byte, ) ([]*ethpbservice.DeletedKeystoreStatus, error)
func (*MockKeymanager) ExtractKeystores ¶
func (*MockKeymanager) ExtractKeystores( _ context.Context, _ []bls.PublicKey, _ string, ) ([]*keymanager.Keystore, error)
ExtractKeystores --
func (*MockKeymanager) FetchValidatingPublicKeys ¶
func (m *MockKeymanager) FetchValidatingPublicKeys(context.Context) ([][fieldparams.BLSPubkeyLength]byte, error)
FetchValidatingPublicKeys --
func (*MockKeymanager) ListKeymanagerAccounts ¶
func (*MockKeymanager) ListKeymanagerAccounts( context.Context, keymanager.ListKeymanagerAccountConfig) error
ListKeymanagerAccounts --
func (*MockKeymanager) ReloadPublicKeys ¶
func (m *MockKeymanager) ReloadPublicKeys(context.Context) ([][fieldparams.BLSPubkeyLength]byte, error)
ReloadPublicKeys --
func (*MockKeymanager) Sign ¶
func (*MockKeymanager) Sign(_ context.Context, s *validatorpb.SignRequest) (bls.Signature, error)
Sign --
func (*MockKeymanager) SubscribeAccountChanges ¶
func (m *MockKeymanager) SubscribeAccountChanges(chan [][fieldparams.BLSPubkeyLength]byte) event.Subscription
SubscribeAccountChanges --
Click to show internal directories.
Click to hide internal directories.