pb

package
v1.3.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package pb is a generated protocol buffer package.

It is generated from these files:

pb/message.proto

It has these top-level messages:

SignatureShare

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthMessage = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMessage   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type SignatureShare

type SignatureShare struct {
	// The little-endian BLS ID of the member who is joining the distributed key
	// generation process.
	SenderID uint32 `protobuf:"varint,1,opt,name=senderID,proto3" json:"senderID,omitempty"`
	// The serialized BLS signature share from the member with the above BLS ID.
	Share []byte `protobuf:"bytes,2,opt,name=share,proto3" json:"share,omitempty"`
}

SignatureShare represents one share from the sender of a signature on a given piece of data. The data is not reflected in the message itself; instead, it is expected that all members will know the data that is being signed.

func (*SignatureShare) Descriptor

func (*SignatureShare) Descriptor() ([]byte, []int)

func (*SignatureShare) Equal

func (this *SignatureShare) Equal(that interface{}) bool

func (*SignatureShare) GetSenderID

func (m *SignatureShare) GetSenderID() uint32

func (*SignatureShare) GetShare

func (m *SignatureShare) GetShare() []byte

func (*SignatureShare) GoString

func (this *SignatureShare) GoString() string

func (*SignatureShare) Marshal

func (m *SignatureShare) Marshal() (dAtA []byte, err error)

func (*SignatureShare) MarshalTo

func (m *SignatureShare) MarshalTo(dAtA []byte) (int, error)

func (*SignatureShare) ProtoMessage

func (*SignatureShare) ProtoMessage()

func (*SignatureShare) Reset

func (m *SignatureShare) Reset()

func (*SignatureShare) Size

func (m *SignatureShare) Size() (n int)

func (*SignatureShare) String

func (this *SignatureShare) String() string

func (*SignatureShare) Unmarshal

func (m *SignatureShare) Unmarshal(dAtA []byte) error

Jump to

Keyboard shortcuts

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