Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface { Debug(args ...interface{}) Debugf(format string, args ...interface{}) Error(args ...interface{}) Errorf(format string, args ...interface{}) Fatal(args ...interface{}) Fatalf(format string, args ...interface{}) Info(args ...interface{}) Infof(format string, args ...interface{}) Panic(args ...interface{}) Panicf(format string, args ...interface{}) Warn(args ...interface{}) Warnf(format string, args ...interface{}) }
type Module ¶
type Module struct { NetworkName gpbft.NetworkName CertStore *certs.Store // contains filtered or unexported fields }
func NewModule ¶
func NewModule(ctx context.Context, nn gpbft.NetworkName, ds datastore.Datastore, h host.Host, ps *pubsub.PubSub, sigs gpbft.Signer, verif gpbft.Verifier, ec ECBackend, log Logger) (*Module, error)
NewModule creates and setups new libp2p f3 module The context is used for initialization not runtime.
type TODOVerifier ¶
type TODOVerifier struct{}
func (*TODOVerifier) Aggregate ¶
func (v *TODOVerifier) Aggregate(sig [][]byte, aggSignature []byte) []byte
Aggregates signatures from a participant to an existing signature.
func (*TODOVerifier) VerifyAggregate ¶
VerifyAggregate verifies an aggregate signature.
Click to show internal directories.
Click to hide internal directories.