Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NoopSignatureRequestHandler ¶
type NoopSignatureRequestHandler struct{}
func (*NoopSignatureRequestHandler) OnSignatureRequest ¶
func (s *NoopSignatureRequestHandler) OnSignatureRequest(ctx context.Context, nodeID ids.NodeID, requestID uint32, signatureRequest message.SignatureRequest) ([]byte, error)
type SignatureRequestHandler ¶
type SignatureRequestHandler interface {
OnSignatureRequest(ctx context.Context, nodeID ids.NodeID, requestID uint32, signatureRequest message.SignatureRequest) ([]byte, error)
}
SignatureRequestHandler is a peer.RequestHandler for message.SignatureRequest serving requested BLS signature data
func NewSignatureRequestHandler ¶
func NewSignatureRequestHandler(backend warp.WarpBackend, codec codec.Manager, stats stats.SignatureRequestHandlerStats) SignatureRequestHandler
Click to show internal directories.
Click to hide internal directories.