Documentation ¶
Index ¶
- type Service
- func (s *Service) Abort(ctx context.Context, recipient *core.Endpoint, account string) error
- func (s *Service) Commit(ctx context.Context, recipient *core.Endpoint, account string, ...) ([]byte, []byte, error)
- func (s *Service) Execute(ctx context.Context, recipient *core.Endpoint, account string) error
- func (s *Service) Prepare(ctx context.Context, recipient *core.Endpoint, account string, ...) error
- func (s *Service) SendContribution(ctx context.Context, recipient *core.Endpoint, account string, ...) (bls.SecretKey, []bls.PublicKey, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is a mock sender service.
func (*Service) Commit ¶
func (s *Service) Commit(ctx context.Context, recipient *core.Endpoint, account string, confirmationData []byte) ([]byte, []byte, error)
Commit sends a request to the given participant to commit the given DKG.
func (*Service) Execute ¶
Execute sends a request to the given participant to execute the given DKG.
Click to show internal directories.
Click to hide internal directories.