Documentation ¶
Index ¶
- type Service
- func (s *Service) SignBeaconAttestation(ctx context.Context, credentials *checker.Credentials, accountName string, ...) (core.Result, []byte)
- func (s *Service) SignBeaconAttestations(ctx context.Context, credentials *checker.Credentials, accountName []string, ...) ([]core.Result, [][]byte)
- func (s *Service) SignBeaconProposal(ctx context.Context, credentials *checker.Credentials, accountName string, ...) (core.Result, []byte)
- func (s *Service) SignGeneric(ctx context.Context, credentials *checker.Credentials, accountName string, ...) (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) SignBeaconAttestation ¶
func (s *Service) SignBeaconAttestation(ctx context.Context, credentials *checker.Credentials, accountName string, pubKey []byte, data *rules.SignBeaconAttestationData) (core.Result, []byte)
SignBeaconAttestation signs a beacon attestation.
func (*Service) SignBeaconAttestations ¶ added in v0.9.0
func (s *Service) SignBeaconAttestations(ctx context.Context, credentials *checker.Credentials, accountName []string, pubKey [][]byte, data []*rules.SignBeaconAttestationData) ([]core.Result, [][]byte)
SignBeaconAttestations signs multiple beacon attestations.
func (*Service) SignBeaconProposal ¶
func (s *Service) SignBeaconProposal(ctx context.Context, credentials *checker.Credentials, accountName string, pubKey []byte, data *rules.SignBeaconProposalData) (core.Result, []byte)
SignBeaconProposal signs a proposal for a beacon block.
Click to show internal directories.
Click to hide internal directories.