Documentation ¶
Index ¶
- Variables
- type Commit
- type Done
- type Echo
- type Finish
- type Halt
- type Lock
- type MVBAIN
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (x *Message) GetData() []byte
- func (x *Message) GetId() []byte
- func (x *Message) GetSender() uint32
- func (x *Message) GetType() string
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (x *Message) String() string
- type NewCommit
- type Pi
- type PiContent
- func (*PiContent) Descriptor() ([]byte, []int)deprecated
- func (x *PiContent) GetCBj() []byte
- func (x *PiContent) GetCZj() []byte
- func (x *PiContent) GetGFj() []byte
- func (x *PiContent) GetJ() uint32
- func (x *PiContent) GetWZ0() []byte
- func (*PiContent) ProtoMessage()
- func (x *PiContent) ProtoReflect() protoreflect.Message
- func (x *PiContent) Reset()
- func (x *PiContent) String() string
- type PreVote
- func (*PreVote) Descriptor() ([]byte, []int)deprecated
- func (x *PreVote) GetSig() []byte
- func (x *PreVote) GetValue() []byte
- func (x *PreVote) GetVote() bool
- func (*PreVote) ProtoMessage()
- func (x *PreVote) ProtoReflect() protoreflect.Message
- func (x *PreVote) Reset()
- func (x *PreVote) String() string
- type Prepare
- type RBCEcho
- type RBCReady
- type Recover
- func (*Recover) Descriptor() ([]byte, []int)deprecated
- func (x *Recover) GetIndex() uint32
- func (x *Recover) GetSigShare() []byte
- func (x *Recover) GetV() []byte
- func (x *Recover) GetW() []byte
- func (*Recover) ProtoMessage()
- func (x *Recover) ProtoReflect() protoreflect.Message
- func (x *Recover) Reset()
- func (x *Recover) String() string
- type Reshare
- type ShareDist
- type ShareReduce
- func (*ShareReduce) Descriptor() ([]byte, []int)deprecated
- func (x *ShareReduce) GetC() []byte
- func (x *ShareReduce) GetV() []byte
- func (x *ShareReduce) GetW() []byte
- func (*ShareReduce) ProtoMessage()
- func (x *ShareReduce) ProtoReflect() protoreflect.Message
- func (x *ShareReduce) Reset()
- func (x *ShareReduce) String() string
- type Success
- type VSSDistribute
- func (*VSSDistribute) Descriptor() ([]byte, []int)deprecated
- func (x *VSSDistribute) GetBli() []byte
- func (x *VSSDistribute) GetWBli() []byte
- func (*VSSDistribute) ProtoMessage()
- func (x *VSSDistribute) ProtoReflect() protoreflect.Message
- func (x *VSSDistribute) Reset()
- func (x *VSSDistribute) String() string
- type VSSEcho
- type VSSReady
- func (*VSSReady) Descriptor() ([]byte, []int)deprecated
- func (x *VSSReady) GetBil() []byte
- func (x *VSSReady) GetPi() *Pi
- func (x *VSSReady) GetReadyType() string
- func (x *VSSReady) GetWBil() []byte
- func (*VSSReady) ProtoMessage()
- func (x *VSSReady) ProtoReflect() protoreflect.Message
- func (x *VSSReady) Reset()
- func (x *VSSReady) String() string
- type VSSSend
- func (*VSSSend) Descriptor() ([]byte, []int)deprecated
- func (x *VSSSend) GetBijList() [][]byte
- func (x *VSSSend) GetPi() *Pi
- func (x *VSSSend) GetWBijList() [][]byte
- func (*VSSSend) ProtoMessage()
- func (x *VSSSend) ProtoReflect() protoreflect.Message
- func (x *VSSSend) Reset()
- func (x *VSSSend) String() string
- type Value
- type Vote
- func (*Vote) Descriptor() ([]byte, []int)deprecated
- func (x *Vote) GetSig() []byte
- func (x *Vote) GetSigshare() []byte
- func (x *Vote) GetValue() []byte
- func (x *Vote) GetVote() bool
- func (*Vote) ProtoMessage()
- func (x *Vote) ProtoReflect() protoreflect.Message
- func (x *Vote) Reset()
- func (x *Vote) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_Message_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Commit ¶
type Commit struct { Pi []*PiContent `protobuf:"bytes,1,rep,name=Pi,json=pi,proto3" json:"Pi,omitempty"` // contains filtered or unexported fields }
func (*Commit) Descriptor
deprecated
func (*Commit) ProtoMessage ¶
func (*Commit) ProtoMessage()
func (*Commit) ProtoReflect ¶
func (x *Commit) ProtoReflect() protoreflect.Message
type Done ¶
type Done struct { // contains filtered or unexported fields }
func (*Done) Descriptor
deprecated
func (*Done) GetCoinShare ¶
func (*Done) ProtoMessage ¶
func (*Done) ProtoMessage()
func (*Done) ProtoReflect ¶
func (x *Done) ProtoReflect() protoreflect.Message
type Echo ¶
type Echo struct { // contains filtered or unexported fields }
func (*Echo) Descriptor
deprecated
func (*Echo) GetSigshare ¶
func (*Echo) ProtoMessage ¶
func (*Echo) ProtoMessage()
func (*Echo) ProtoReflect ¶
func (x *Echo) ProtoReflect() protoreflect.Message
type Finish ¶
type Finish struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` Sig []byte `protobuf:"bytes,2,opt,name=sig,proto3" json:"sig,omitempty"` // contains filtered or unexported fields }
func (*Finish) Descriptor
deprecated
func (*Finish) ProtoMessage ¶
func (*Finish) ProtoMessage()
func (*Finish) ProtoReflect ¶
func (x *Finish) ProtoReflect() protoreflect.Message
type Halt ¶
type Halt struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` Sig []byte `protobuf:"bytes,2,opt,name=sig,proto3" json:"sig,omitempty"` // contains filtered or unexported fields }
func (*Halt) Descriptor
deprecated
func (*Halt) ProtoMessage ¶
func (*Halt) ProtoMessage()
func (*Halt) ProtoReflect ¶
func (x *Halt) ProtoReflect() protoreflect.Message
type Lock ¶
type Lock struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` Sig []byte `protobuf:"bytes,2,opt,name=sig,proto3" json:"sig,omitempty"` // contains filtered or unexported fields }
smvba
func (*Lock) Descriptor
deprecated
func (*Lock) ProtoMessage ¶
func (*Lock) ProtoMessage()
func (*Lock) ProtoReflect ¶
func (x *Lock) ProtoReflect() protoreflect.Message
type MVBAIN ¶
type MVBAIN struct { Sig [][]byte `protobuf:"bytes,1,rep,name=sig,proto3" json:"sig,omitempty"` J []uint32 `protobuf:"varint,2,rep,packed,name=j,proto3" json:"j,omitempty"` // contains filtered or unexported fields }
func (*MVBAIN) Descriptor
deprecated
func (*MVBAIN) ProtoMessage ¶
func (*MVBAIN) ProtoMessage()
func (*MVBAIN) ProtoReflect ¶
func (x *MVBAIN) ProtoReflect() protoreflect.Message
type Message ¶
type Message struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // instance id Id []byte `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Sender uint32 `protobuf:"varint,3,opt,name=sender,proto3" json:"sender,omitempty"` Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*Message) Descriptor
deprecated
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
type NewCommit ¶
type NewCommit struct { CB []byte `protobuf:"bytes,1,opt,name=CB,json=cB,proto3" json:"CB,omitempty"` // contains filtered or unexported fields }
func (*NewCommit) Descriptor
deprecated
func (*NewCommit) ProtoMessage ¶
func (*NewCommit) ProtoMessage()
func (*NewCommit) ProtoReflect ¶
func (x *NewCommit) ProtoReflect() protoreflect.Message
type Pi ¶
type Pi struct { Gs []byte `protobuf:"bytes,1,opt,name=gs,proto3" json:"gs,omitempty"` PiContents []*PiContent `protobuf:"bytes,2,rep,name=piContents,proto3" json:"piContents,omitempty"` // contains filtered or unexported fields }
func (*Pi) Descriptor
deprecated
func (*Pi) GetPiContents ¶
func (*Pi) ProtoMessage ¶
func (*Pi) ProtoMessage()
func (*Pi) ProtoReflect ¶
func (x *Pi) ProtoReflect() protoreflect.Message
type PiContent ¶
type PiContent struct { J uint32 `protobuf:"varint,1,opt,name=j,proto3" json:"j,omitempty"` CBj []byte `protobuf:"bytes,2,opt,name=CBj,json=cBj,proto3" json:"CBj,omitempty"` CZj []byte `protobuf:"bytes,3,opt,name=CZj,json=cZj,proto3" json:"CZj,omitempty"` WZ0 []byte `protobuf:"bytes,4,opt,name=WZ0,json=wZ0,proto3" json:"WZ0,omitempty"` GFj []byte `protobuf:"bytes,5,opt,name=gFj,proto3" json:"gFj,omitempty"` // contains filtered or unexported fields }
func (*PiContent) Descriptor
deprecated
func (*PiContent) ProtoMessage ¶
func (*PiContent) ProtoMessage()
func (*PiContent) ProtoReflect ¶
func (x *PiContent) ProtoReflect() protoreflect.Message
type PreVote ¶
type PreVote struct { Vote bool `protobuf:"varint,1,opt,name=vote,proto3" json:"vote,omitempty"` Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` Sig []byte `protobuf:"bytes,3,opt,name=sig,proto3" json:"sig,omitempty"` // contains filtered or unexported fields }
func (*PreVote) Descriptor
deprecated
func (*PreVote) ProtoMessage ¶
func (*PreVote) ProtoMessage()
func (*PreVote) ProtoReflect ¶
func (x *PreVote) ProtoReflect() protoreflect.Message
type Prepare ¶
type Prepare struct { Commitments [][]byte `protobuf:"bytes,1,rep,name=Commitments,json=commitments,proto3" json:"Commitments,omitempty"` // contains filtered or unexported fields }
func (*Prepare) Descriptor
deprecated
func (*Prepare) GetCommitments ¶
func (*Prepare) ProtoMessage ¶
func (*Prepare) ProtoMessage()
func (*Prepare) ProtoReflect ¶
func (x *Prepare) ProtoReflect() protoreflect.Message
type RBCEcho ¶
type RBCEcho struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` M []byte `protobuf:"bytes,2,opt,name=m,proto3" json:"m,omitempty"` // contains filtered or unexported fields }
func (*RBCEcho) Descriptor
deprecated
func (*RBCEcho) ProtoMessage ¶
func (*RBCEcho) ProtoMessage()
func (*RBCEcho) ProtoReflect ¶
func (x *RBCEcho) ProtoReflect() protoreflect.Message
type RBCReady ¶
type RBCReady struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` M []byte `protobuf:"bytes,2,opt,name=m,proto3" json:"m,omitempty"` // contains filtered or unexported fields }
func (*RBCReady) Descriptor
deprecated
func (*RBCReady) ProtoMessage ¶
func (*RBCReady) ProtoMessage()
func (*RBCReady) ProtoReflect ¶
func (x *RBCReady) ProtoReflect() protoreflect.Message
type Recover ¶
type Recover struct { Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` V []byte `protobuf:"bytes,2,opt,name=v,proto3" json:"v,omitempty"` W []byte `protobuf:"bytes,3,opt,name=w,proto3" json:"w,omitempty"` // contains filtered or unexported fields }
func (*Recover) Descriptor
deprecated
func (*Recover) GetSigShare ¶
func (*Recover) ProtoMessage ¶
func (*Recover) ProtoMessage()
func (*Recover) ProtoReflect ¶
func (x *Recover) ProtoReflect() protoreflect.Message
type Reshare ¶
type Reshare struct { // contains filtered or unexported fields }
func (*Reshare) Descriptor
deprecated
func (*Reshare) ProtoMessage ¶
func (*Reshare) ProtoMessage()
func (*Reshare) ProtoReflect ¶
func (x *Reshare) ProtoReflect() protoreflect.Message
type ShareDist ¶
type ShareDist struct { // contains filtered or unexported fields }
func (*ShareDist) Descriptor
deprecated
func (*ShareDist) ProtoMessage ¶
func (*ShareDist) ProtoMessage()
func (*ShareDist) ProtoReflect ¶
func (x *ShareDist) ProtoReflect() protoreflect.Message
type ShareReduce ¶
type ShareReduce struct { // contains filtered or unexported fields }
func (*ShareReduce) Descriptor
deprecated
func (*ShareReduce) Descriptor() ([]byte, []int)
Deprecated: Use ShareReduce.ProtoReflect.Descriptor instead.
func (*ShareReduce) GetC ¶
func (x *ShareReduce) GetC() []byte
func (*ShareReduce) GetV ¶
func (x *ShareReduce) GetV() []byte
func (*ShareReduce) GetW ¶
func (x *ShareReduce) GetW() []byte
func (*ShareReduce) ProtoMessage ¶
func (*ShareReduce) ProtoMessage()
func (*ShareReduce) ProtoReflect ¶
func (x *ShareReduce) ProtoReflect() protoreflect.Message
func (*ShareReduce) Reset ¶
func (x *ShareReduce) Reset()
func (*ShareReduce) String ¶
func (x *ShareReduce) String() string
type Success ¶
type Success struct { Nothing []byte `protobuf:"bytes,1,opt,name=nothing,proto3" json:"nothing,omitempty"` // contains filtered or unexported fields }
func (*Success) Descriptor
deprecated
func (*Success) GetNothing ¶
func (*Success) ProtoMessage ¶
func (*Success) ProtoMessage()
func (*Success) ProtoReflect ¶
func (x *Success) ProtoReflect() protoreflect.Message
type VSSDistribute ¶
type VSSDistribute struct { Bli []byte `protobuf:"bytes,1,opt,name=Bli,json=bli,proto3" json:"Bli,omitempty"` WBli []byte `protobuf:"bytes,2,opt,name=WBli,json=wBli,proto3" json:"WBli,omitempty"` // contains filtered or unexported fields }
func (*VSSDistribute) Descriptor
deprecated
func (*VSSDistribute) Descriptor() ([]byte, []int)
Deprecated: Use VSSDistribute.ProtoReflect.Descriptor instead.
func (*VSSDistribute) GetBli ¶
func (x *VSSDistribute) GetBli() []byte
func (*VSSDistribute) GetWBli ¶
func (x *VSSDistribute) GetWBli() []byte
func (*VSSDistribute) ProtoMessage ¶
func (*VSSDistribute) ProtoMessage()
func (*VSSDistribute) ProtoReflect ¶
func (x *VSSDistribute) ProtoReflect() protoreflect.Message
func (*VSSDistribute) Reset ¶
func (x *VSSDistribute) Reset()
func (*VSSDistribute) String ¶
func (x *VSSDistribute) String() string
type VSSEcho ¶
type VSSEcho struct { Pi *Pi `protobuf:"bytes,1,opt,name=pi,proto3" json:"pi,omitempty"` // contains filtered or unexported fields }
func (*VSSEcho) Descriptor
deprecated
func (*VSSEcho) ProtoMessage ¶
func (*VSSEcho) ProtoMessage()
func (*VSSEcho) ProtoReflect ¶
func (x *VSSEcho) ProtoReflect() protoreflect.Message
type VSSReady ¶
type VSSReady struct { Pi *Pi `protobuf:"bytes,1,opt,name=pi,proto3" json:"pi,omitempty"` ReadyType string `protobuf:"bytes,2,opt,name=ReadyType,json=readyType,proto3" json:"ReadyType,omitempty"` Bil []byte `protobuf:"bytes,3,opt,name=Bil,json=bil,proto3" json:"Bil,omitempty"` WBil []byte `protobuf:"bytes,4,opt,name=WBil,json=wBil,proto3" json:"WBil,omitempty"` // contains filtered or unexported fields }
func (*VSSReady) Descriptor
deprecated
func (*VSSReady) GetReadyType ¶
func (*VSSReady) ProtoMessage ¶
func (*VSSReady) ProtoMessage()
func (*VSSReady) ProtoReflect ¶
func (x *VSSReady) ProtoReflect() protoreflect.Message
type VSSSend ¶
type VSSSend struct { Pi *Pi `protobuf:"bytes,1,opt,name=pi,proto3" json:"pi,omitempty"` BijList [][]byte `protobuf:"bytes,2,rep,name=BijList,json=bijList,proto3" json:"BijList,omitempty"` WBijList [][]byte `protobuf:"bytes,3,rep,name=WBijList,json=wBijList,proto3" json:"WBijList,omitempty"` // contains filtered or unexported fields }
func (*VSSSend) Descriptor
deprecated
func (*VSSSend) GetBijList ¶
func (*VSSSend) GetWBijList ¶
func (*VSSSend) ProtoMessage ¶
func (*VSSSend) ProtoMessage()
func (*VSSSend) ProtoReflect ¶
func (x *VSSSend) ProtoReflect() protoreflect.Message
type Value ¶
type Value struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // paload Validation []byte `protobuf:"bytes,2,opt,name=validation,proto3" json:"validation,omitempty"` // for external validating // contains filtered or unexported fields }
provable broadcast
func (*Value) Descriptor
deprecated
func (*Value) GetValidation ¶
func (*Value) ProtoMessage ¶
func (*Value) ProtoMessage()
func (*Value) ProtoReflect ¶
func (x *Value) ProtoReflect() protoreflect.Message
type Vote ¶
type Vote struct { Vote bool `protobuf:"varint,1,opt,name=vote,proto3" json:"vote,omitempty"` Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` Sig []byte `protobuf:"bytes,3,opt,name=sig,proto3" json:"sig,omitempty"` // contains filtered or unexported fields }
func (*Vote) Descriptor
deprecated
func (*Vote) GetSigshare ¶
func (*Vote) ProtoMessage ¶
func (*Vote) ProtoMessage()
func (*Vote) ProtoReflect ¶
func (x *Vote) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.