Documentation ¶
Index ¶
- type Service
- func (s *Service) Multisign(_ context.Context, _ *checker.Credentials, _ []string, _ [][]byte, ...) ([]core.Result, [][]byte)
- func (s *Service) SignBeaconAttestation(_ context.Context, _ *checker.Credentials, _ string, _ []byte, ...) (core.Result, []byte)
- func (s *Service) SignBeaconAttestations(_ context.Context, _ *checker.Credentials, _ []string, _ [][]byte, ...) ([]core.Result, [][]byte)
- func (s *Service) SignBeaconProposal(_ context.Context, _ *checker.Credentials, _ string, _ []byte, ...) (core.Result, []byte)
- func (s *Service) SignGeneric(_ context.Context, _ *checker.Credentials, _ string, _ []byte, ...) (core.Result, []byte)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct{}
Service is the mock signer service.
func (*Service) Multisign ¶ added in v1.1.0
func (s *Service) Multisign(_ context.Context, _ *checker.Credentials, _ []string, _ [][]byte, _ []*rules.SignData, ) ( []core.Result, [][]byte, )
Multisign signs multiple generic data.
func (*Service) SignBeaconAttestation ¶
func (s *Service) SignBeaconAttestation(_ context.Context, _ *checker.Credentials, _ string, _ []byte, _ *rules.SignBeaconAttestationData, ) ( core.Result, []byte, )
SignBeaconAttestation signs a beacon attestation.
func (*Service) SignBeaconAttestations ¶ added in v0.9.0
func (s *Service) SignBeaconAttestations(_ context.Context, _ *checker.Credentials, _ []string, _ [][]byte, data []*rules.SignBeaconAttestationData, ) ( []core.Result, [][]byte, )
SignBeaconAttestations signs multiple beacon attestations.
func (*Service) SignBeaconProposal ¶
func (s *Service) SignBeaconProposal(_ context.Context, _ *checker.Credentials, _ string, _ []byte, _ *rules.SignBeaconProposalData, ) ( core.Result, []byte, )
SignBeaconProposal signs a proposal for a beacon block.
Click to show internal directories.
Click to hide internal directories.