Versions in this module Expand all Collapse all v0 v0.6.3 Nov 21, 2024 Changes in this version + type AggregateSignatureResult struct + Message *avalancheWarp.Message + SignatureWeight uint64 + TotalWeight uint64 + type Aggregator struct + func New(client SignatureGetter, validators []*avalancheWarp.Validator, ...) *Aggregator + func (a *Aggregator) AggregateSignatures(ctx context.Context, unsignedMessage *avalancheWarp.UnsignedMessage, ...) (*AggregateSignatureResult, error) + type MockSignatureGetter struct + func NewMockSignatureGetter(ctrl *gomock.Controller) *MockSignatureGetter + func (m *MockSignatureGetter) EXPECT() *MockSignatureGetterMockRecorder + func (m *MockSignatureGetter) GetSignature(arg0 context.Context, arg1 ids.NodeID, arg2 *warp.UnsignedMessage) (*bls.Signature, error) + type MockSignatureGetterMockRecorder struct + func (mr *MockSignatureGetterMockRecorder) GetSignature(arg0, arg1, arg2 interface{}) *gomock.Call + type NetworkClient interface + SendAppRequest func(ctx context.Context, nodeID ids.NodeID, message []byte) ([]byte, error) + type NetworkSignatureGetter struct + Client NetworkClient + func NewSignatureGetter(client NetworkClient) *NetworkSignatureGetter + func (s *NetworkSignatureGetter) GetSignature(ctx context.Context, nodeID ids.NodeID, ...) (*bls.Signature, error) + type SignatureGetter interface + GetSignature func(ctx context.Context, nodeID ids.NodeID, ...) (*bls.Signature, error)