handlers

package
v0.5.6-fuji-warp Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2023 License: GPL-3.0, LGPL-3.0 Imports: 9 Imported by: 1

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL