Documentation
¶
Index ¶
- Constants
- Variables
- func InitExecutor(cfg *types.Chain33Config)
- func InitFork(cfg *types.Chain33Config)
- func NewDposCBTable(kvdb db.KV) *table.Table
- func NewDposCandidatorTable(kvdb db.KV) *table.Table
- func NewDposVoteTable(kvdb db.KV) *table.Table
- func NewDposVrfMTable(kvdb db.KV) *table.Table
- func NewDposVrfRPTable(kvdb db.KV) *table.Table
- type Candidator
- func (cand *Candidator) Copy() *Candidator
- func (*Candidator) Descriptor() ([]byte, []int)
- func (m *Candidator) GetAddress() string
- func (m *Candidator) GetIP() string
- func (m *Candidator) GetPubkey() []byte
- func (m *Candidator) GetStatus() int64
- func (m *Candidator) GetVotes() int64
- func (*Candidator) ProtoMessage()
- func (m *Candidator) Reset()
- func (m *Candidator) String() string
- func (m *Candidator) XXX_DiscardUnknown()
- func (m *Candidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Candidator) XXX_Merge(src proto.Message)
- func (m *Candidator) XXX_Size() int
- func (m *Candidator) XXX_Unmarshal(b []byte) error
- type CandidatorInfo
- func (*CandidatorInfo) Descriptor() ([]byte, []int)
- func (m *CandidatorInfo) GetAddress() string
- func (m *CandidatorInfo) GetIP() string
- func (m *CandidatorInfo) GetIndex() int64
- func (m *CandidatorInfo) GetPreIndex() int64
- func (m *CandidatorInfo) GetPreStatus() int64
- func (m *CandidatorInfo) GetPubkey() []byte
- func (m *CandidatorInfo) GetStartHeight() int64
- func (m *CandidatorInfo) GetStartIndex() int64
- func (m *CandidatorInfo) GetStartTime() int64
- func (m *CandidatorInfo) GetStartTxHash() string
- func (m *CandidatorInfo) GetStatus() int64
- func (m *CandidatorInfo) GetVoters() []*DposVoter
- func (m *CandidatorInfo) GetVotes() int64
- func (*CandidatorInfo) ProtoMessage()
- func (m *CandidatorInfo) Reset()
- func (m *CandidatorInfo) String() string
- func (m *CandidatorInfo) XXX_DiscardUnknown()
- func (m *CandidatorInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CandidatorInfo) XXX_Merge(src proto.Message)
- func (m *CandidatorInfo) XXX_Size() int
- func (m *CandidatorInfo) XXX_Unmarshal(b []byte) error
- type CandidatorQuery
- func (*CandidatorQuery) Descriptor() ([]byte, []int)
- func (m *CandidatorQuery) GetPubkeys() []string
- func (m *CandidatorQuery) GetTopN() int32
- func (m *CandidatorQuery) GetTy() int32
- func (*CandidatorQuery) ProtoMessage()
- func (m *CandidatorQuery) Reset()
- func (m *CandidatorQuery) String() string
- func (m *CandidatorQuery) XXX_DiscardUnknown()
- func (m *CandidatorQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CandidatorQuery) XXX_Merge(src proto.Message)
- func (m *CandidatorQuery) XXX_Size() int
- func (m *CandidatorQuery) XXX_Unmarshal(b []byte) error
- type CandidatorReply
- func (*CandidatorReply) Descriptor() ([]byte, []int)
- func (m *CandidatorReply) GetCandidators() []*JSONCandidator
- func (*CandidatorReply) ProtoMessage()
- func (m *CandidatorReply) Reset()
- func (m *CandidatorReply) String() string
- func (m *CandidatorReply) XXX_DiscardUnknown()
- func (m *CandidatorReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CandidatorReply) XXX_Merge(src proto.Message)
- func (m *CandidatorReply) XXX_Size() int
- func (m *CandidatorReply) XXX_Unmarshal(b []byte) error
- type CanonicalOnceCBInfo
- type CanonicalOnceTopNCandidator
- type DPosType
- type DposCBInfo
- func (*DposCBInfo) Descriptor() ([]byte, []int)
- func (m *DposCBInfo) GetCycle() int64
- func (m *DposCBInfo) GetPubkey() string
- func (m *DposCBInfo) GetSignature() string
- func (m *DposCBInfo) GetStopHash() string
- func (m *DposCBInfo) GetStopHeight() int64
- func (*DposCBInfo) ProtoMessage()
- func (m *DposCBInfo) Reset()
- func (m *DposCBInfo) String() string
- func (cb *DposCBInfo) Verify() error
- func (m *DposCBInfo) XXX_DiscardUnknown()
- func (m *DposCBInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DposCBInfo) XXX_Merge(src proto.Message)
- func (m *DposCBInfo) XXX_Size() int
- func (m *DposCBInfo) XXX_Unmarshal(b []byte) error
- type DposCBQuery
- func (*DposCBQuery) Descriptor() ([]byte, []int)
- func (m *DposCBQuery) GetCycle() int64
- func (m *DposCBQuery) GetStopHash() string
- func (m *DposCBQuery) GetStopHeight() int64
- func (m *DposCBQuery) GetTy() int32
- func (*DposCBQuery) ProtoMessage()
- func (m *DposCBQuery) Reset()
- func (m *DposCBQuery) String() string
- func (m *DposCBQuery) XXX_DiscardUnknown()
- func (m *DposCBQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DposCBQuery) XXX_Merge(src proto.Message)
- func (m *DposCBQuery) XXX_Size() int
- func (m *DposCBQuery) XXX_Unmarshal(b []byte) error
- type DposCBReply
- func (*DposCBReply) Descriptor() ([]byte, []int)
- func (m *DposCBReply) GetCbInfo() *DposCBInfo
- func (*DposCBReply) ProtoMessage()
- func (m *DposCBReply) Reset()
- func (m *DposCBReply) String() string
- func (m *DposCBReply) XXX_DiscardUnknown()
- func (m *DposCBReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DposCBReply) XXX_Merge(src proto.Message)
- func (m *DposCBReply) XXX_Size() int
- func (m *DposCBReply) XXX_Unmarshal(b []byte) error
- type DposCBRow
- type DposCancelVote
- func (*DposCancelVote) Descriptor() ([]byte, []int)
- func (m *DposCancelVote) GetIndex() int64
- func (m *DposCancelVote) GetPubkey() string
- func (*DposCancelVote) ProtoMessage()
- func (m *DposCancelVote) Reset()
- func (m *DposCancelVote) String() string
- func (m *DposCancelVote) XXX_DiscardUnknown()
- func (m *DposCancelVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DposCancelVote) XXX_Merge(src proto.Message)
- func (m *DposCancelVote) XXX_Size() int
- func (m *DposCancelVote) XXX_Unmarshal(b []byte) error
- type DposCandidatorCancelRegist
- func (*DposCandidatorCancelRegist) Descriptor() ([]byte, []int)
- func (m *DposCandidatorCancelRegist) GetAddress() string
- func (m *DposCandidatorCancelRegist) GetPubkey() string
- func (*DposCandidatorCancelRegist) ProtoMessage()
- func (m *DposCandidatorCancelRegist) Reset()
- func (m *DposCandidatorCancelRegist) String() string
- func (m *DposCandidatorCancelRegist) XXX_DiscardUnknown()
- func (m *DposCandidatorCancelRegist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DposCandidatorCancelRegist) XXX_Merge(src proto.Message)
- func (m *DposCandidatorCancelRegist) XXX_Size() int
- func (m *DposCandidatorCancelRegist) XXX_Unmarshal(b []byte) error
- type DposCandidatorRegist
- func (*DposCandidatorRegist) Descriptor() ([]byte, []int)
- func (m *DposCandidatorRegist) GetAddress() string
- func (m *DposCandidatorRegist) GetIP() string
- func (m *DposCandidatorRegist) GetPubkey() string
- func (*DposCandidatorRegist) ProtoMessage()
- func (m *DposCandidatorRegist) Reset()
- func (m *DposCandidatorRegist) String() string
- func (m *DposCandidatorRegist) XXX_DiscardUnknown()
- func (m *DposCandidatorRegist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DposCandidatorRegist) XXX_Merge(src proto.Message)
- func (m *DposCandidatorRegist) XXX_Size() int
- func (m *DposCandidatorRegist) XXX_Unmarshal(b []byte) error
- type DposCandidatorRow
- type DposCycleBoundaryInfo
- func (*DposCycleBoundaryInfo) Descriptor() ([]byte, []int)
- func (m *DposCycleBoundaryInfo) GetCycle() int64
- func (m *DposCycleBoundaryInfo) GetPubkey() []byte
- func (m *DposCycleBoundaryInfo) GetSignature() []byte
- func (m *DposCycleBoundaryInfo) GetStopHash() []byte
- func (m *DposCycleBoundaryInfo) GetStopHeight() int64
- func (*DposCycleBoundaryInfo) ProtoMessage()
- func (m *DposCycleBoundaryInfo) Reset()
- func (m *DposCycleBoundaryInfo) String() string
- func (m *DposCycleBoundaryInfo) XXX_DiscardUnknown()
- func (m *DposCycleBoundaryInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DposCycleBoundaryInfo) XXX_Merge(src proto.Message)
- func (m *DposCycleBoundaryInfo) XXX_Size() int
- func (m *DposCycleBoundaryInfo) XXX_Unmarshal(b []byte) error
- type DposVote
- func (*DposVote) Descriptor() ([]byte, []int)
- func (m *DposVote) GetFromAddr() string
- func (m *DposVote) GetPubkey() string
- func (m *DposVote) GetVotes() int64
- func (*DposVote) ProtoMessage()
- func (m *DposVote) Reset()
- func (m *DposVote) String() string
- func (m *DposVote) XXX_DiscardUnknown()
- func (m *DposVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DposVote) XXX_Merge(src proto.Message)
- func (m *DposVote) XXX_Size() int
- func (m *DposVote) XXX_Unmarshal(b []byte) error
- type DposVoteAction
- func (*DposVoteAction) Descriptor() ([]byte, []int)
- func (m *DposVoteAction) GetCancelRegist() *DposCandidatorCancelRegist
- func (m *DposVoteAction) GetCancelVote() *DposCancelVote
- func (m *DposVoteAction) GetCandidatorQuery() *CandidatorQuery
- func (m *DposVoteAction) GetCbQuery() *DposCBQuery
- func (m *DposVoteAction) GetReRegist() *DposCandidatorRegist
- func (m *DposVoteAction) GetRecordCB() *DposCBInfo
- func (m *DposVoteAction) GetRegist() *DposCandidatorRegist
- func (m *DposVoteAction) GetRegistTopN() *TopNCandidatorRegist
- func (m *DposVoteAction) GetRegistVrfM() *DposVrfMRegist
- func (m *DposVoteAction) GetRegistVrfRP() *DposVrfRPRegist
- func (m *DposVoteAction) GetTopNQuery() *TopNCandidatorsQuery
- func (m *DposVoteAction) GetTy() int32
- func (m *DposVoteAction) GetValue() isDposVoteAction_Value
- func (m *DposVoteAction) GetVote() *DposVote
- func (m *DposVoteAction) GetVoteQuery() *DposVoteQuery
- func (m *DposVoteAction) GetVrfQuery() *DposVrfQuery
- func (*DposVoteAction) ProtoMessage()
- func (m *DposVoteAction) Reset()
- func (m *DposVoteAction) String() string
- func (m *DposVoteAction) XXX_DiscardUnknown()
- func (m *DposVoteAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DposVoteAction) XXX_Merge(src proto.Message)
- func (*DposVoteAction) XXX_OneofWrappers() []interface{}
- func (m *DposVoteAction) XXX_Size() int
- func (m *DposVoteAction) XXX_Unmarshal(b []byte) error
- type DposVoteAction_CancelRegist
- type DposVoteAction_CancelVote
- type DposVoteAction_CandidatorQuery
- type DposVoteAction_CbQuery
- type DposVoteAction_ReRegist
- type DposVoteAction_RecordCB
- type DposVoteAction_Regist
- type DposVoteAction_RegistTopN
- type DposVoteAction_RegistVrfM
- type DposVoteAction_RegistVrfRP
- type DposVoteAction_TopNQuery
- type DposVoteAction_Vote
- type DposVoteAction_VoteQuery
- type DposVoteAction_VrfQuery
- type DposVoteQuery
- func (*DposVoteQuery) Descriptor() ([]byte, []int)
- func (m *DposVoteQuery) GetAddr() string
- func (m *DposVoteQuery) GetPubkeys() []string
- func (*DposVoteQuery) ProtoMessage()
- func (m *DposVoteQuery) Reset()
- func (m *DposVoteQuery) String() string
- func (m *DposVoteQuery) XXX_DiscardUnknown()
- func (m *DposVoteQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DposVoteQuery) XXX_Merge(src proto.Message)
- func (m *DposVoteQuery) XXX_Size() int
- func (m *DposVoteQuery) XXX_Unmarshal(b []byte) error
- type DposVoteReply
- func (*DposVoteReply) Descriptor() ([]byte, []int)
- func (m *DposVoteReply) GetVotes() []*JSONDposVoter
- func (*DposVoteReply) ProtoMessage()
- func (m *DposVoteReply) Reset()
- func (m *DposVoteReply) String() string
- func (m *DposVoteReply) XXX_DiscardUnknown()
- func (m *DposVoteReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DposVoteReply) XXX_Merge(src proto.Message)
- func (m *DposVoteReply) XXX_Size() int
- func (m *DposVoteReply) XXX_Unmarshal(b []byte) error
- type DposVoter
- func (*DposVoter) Descriptor() ([]byte, []int)
- func (m *DposVoter) GetFromAddr() string
- func (m *DposVoter) GetIndex() int64
- func (m *DposVoter) GetPubkey() []byte
- func (m *DposVoter) GetTime() int64
- func (m *DposVoter) GetVotes() int64
- func (*DposVoter) ProtoMessage()
- func (m *DposVoter) Reset()
- func (m *DposVoter) String() string
- func (m *DposVoter) XXX_DiscardUnknown()
- func (m *DposVoter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DposVoter) XXX_Merge(src proto.Message)
- func (m *DposVoter) XXX_Size() int
- func (m *DposVoter) XXX_Unmarshal(b []byte) error
- type DposVoterRow
- type DposVrfM
- func (*DposVrfM) Descriptor() ([]byte, []int)
- func (m *DposVrfM) GetCycle() int64
- func (m *DposVrfM) GetCycleMiddle() int64
- func (m *DposVrfM) GetCycleStart() int64
- func (m *DposVrfM) GetCycleStop() int64
- func (m *DposVrfM) GetHeight() int64
- func (m *DposVrfM) GetIndex() int64
- func (m *DposVrfM) GetM() []byte
- func (m *DposVrfM) GetPubkey() []byte
- func (m *DposVrfM) GetTime() int64
- func (*DposVrfM) ProtoMessage()
- func (m *DposVrfM) Reset()
- func (m *DposVrfM) String() string
- func (m *DposVrfM) XXX_DiscardUnknown()
- func (m *DposVrfM) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DposVrfM) XXX_Merge(src proto.Message)
- func (m *DposVrfM) XXX_Size() int
- func (m *DposVrfM) XXX_Unmarshal(b []byte) error
- type DposVrfMRegist
- func (*DposVrfMRegist) Descriptor() ([]byte, []int)
- func (m *DposVrfMRegist) GetCycle() int64
- func (m *DposVrfMRegist) GetM() string
- func (m *DposVrfMRegist) GetPubkey() string
- func (*DposVrfMRegist) ProtoMessage()
- func (m *DposVrfMRegist) Reset()
- func (m *DposVrfMRegist) String() string
- func (m *DposVrfMRegist) XXX_DiscardUnknown()
- func (m *DposVrfMRegist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DposVrfMRegist) XXX_Merge(src proto.Message)
- func (m *DposVrfMRegist) XXX_Size() int
- func (m *DposVrfMRegist) XXX_Unmarshal(b []byte) error
- type DposVrfMRow
- type DposVrfQuery
- func (*DposVrfQuery) Descriptor() ([]byte, []int)
- func (m *DposVrfQuery) GetCycle() int64
- func (m *DposVrfQuery) GetPubkeys() []string
- func (m *DposVrfQuery) GetTimestamp() int64
- func (m *DposVrfQuery) GetTy() int64
- func (*DposVrfQuery) ProtoMessage()
- func (m *DposVrfQuery) Reset()
- func (m *DposVrfQuery) String() string
- func (m *DposVrfQuery) XXX_DiscardUnknown()
- func (m *DposVrfQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DposVrfQuery) XXX_Merge(src proto.Message)
- func (m *DposVrfQuery) XXX_Size() int
- func (m *DposVrfQuery) XXX_Unmarshal(b []byte) error
- type DposVrfRP
- func (*DposVrfRP) Descriptor() ([]byte, []int)
- func (m *DposVrfRP) GetCycle() int64
- func (m *DposVrfRP) GetCycleMiddle() int64
- func (m *DposVrfRP) GetCycleStart() int64
- func (m *DposVrfRP) GetCycleStop() int64
- func (m *DposVrfRP) GetHeight() int64
- func (m *DposVrfRP) GetIndex() int64
- func (m *DposVrfRP) GetM() []byte
- func (m *DposVrfRP) GetP() []byte
- func (m *DposVrfRP) GetPubkey() []byte
- func (m *DposVrfRP) GetR() []byte
- func (m *DposVrfRP) GetTime() int64
- func (*DposVrfRP) ProtoMessage()
- func (m *DposVrfRP) Reset()
- func (m *DposVrfRP) String() string
- func (m *DposVrfRP) XXX_DiscardUnknown()
- func (m *DposVrfRP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DposVrfRP) XXX_Merge(src proto.Message)
- func (m *DposVrfRP) XXX_Size() int
- func (m *DposVrfRP) XXX_Unmarshal(b []byte) error
- type DposVrfRPRegist
- func (*DposVrfRPRegist) Descriptor() ([]byte, []int)
- func (m *DposVrfRPRegist) GetCycle() int64
- func (m *DposVrfRPRegist) GetP() string
- func (m *DposVrfRPRegist) GetPubkey() string
- func (m *DposVrfRPRegist) GetR() string
- func (*DposVrfRPRegist) ProtoMessage()
- func (m *DposVrfRPRegist) Reset()
- func (m *DposVrfRPRegist) String() string
- func (m *DposVrfRPRegist) XXX_DiscardUnknown()
- func (m *DposVrfRPRegist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DposVrfRPRegist) XXX_Merge(src proto.Message)
- func (m *DposVrfRPRegist) XXX_Size() int
- func (m *DposVrfRPRegist) XXX_Unmarshal(b []byte) error
- type DposVrfRPRow
- type DposVrfReply
- func (*DposVrfReply) Descriptor() ([]byte, []int)
- func (m *DposVrfReply) GetVrf() []*JSONVrfInfo
- func (*DposVrfReply) ProtoMessage()
- func (m *DposVrfReply) Reset()
- func (m *DposVrfReply) String() string
- func (m *DposVrfReply) XXX_DiscardUnknown()
- func (m *DposVrfReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DposVrfReply) XXX_Merge(src proto.Message)
- func (m *DposVrfReply) XXX_Size() int
- func (m *DposVrfReply) XXX_Unmarshal(b []byte) error
- type JSONCandidator
- func (*JSONCandidator) Descriptor() ([]byte, []int)
- func (m *JSONCandidator) GetAddress() string
- func (m *JSONCandidator) GetIP() string
- func (m *JSONCandidator) GetPubkey() string
- func (m *JSONCandidator) GetStatus() int64
- func (m *JSONCandidator) GetVotes() int64
- func (*JSONCandidator) ProtoMessage()
- func (m *JSONCandidator) Reset()
- func (m *JSONCandidator) String() string
- func (m *JSONCandidator) XXX_DiscardUnknown()
- func (m *JSONCandidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *JSONCandidator) XXX_Merge(src proto.Message)
- func (m *JSONCandidator) XXX_Size() int
- func (m *JSONCandidator) XXX_Unmarshal(b []byte) error
- type JSONDposVoter
- func (*JSONDposVoter) Descriptor() ([]byte, []int)
- func (m *JSONDposVoter) GetFromAddr() string
- func (m *JSONDposVoter) GetIndex() int64
- func (m *JSONDposVoter) GetPubkey() string
- func (m *JSONDposVoter) GetTime() int64
- func (m *JSONDposVoter) GetVotes() int64
- func (*JSONDposVoter) ProtoMessage()
- func (m *JSONDposVoter) Reset()
- func (m *JSONDposVoter) String() string
- func (m *JSONDposVoter) XXX_DiscardUnknown()
- func (m *JSONDposVoter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *JSONDposVoter) XXX_Merge(src proto.Message)
- func (m *JSONDposVoter) XXX_Size() int
- func (m *JSONDposVoter) XXX_Unmarshal(b []byte) error
- type JSONVrfInfo
- func (*JSONVrfInfo) Descriptor() ([]byte, []int)
- func (m *JSONVrfInfo) GetCycle() int64
- func (m *JSONVrfInfo) GetHeight() int64
- func (m *JSONVrfInfo) GetIndex() int64
- func (m *JSONVrfInfo) GetM() string
- func (m *JSONVrfInfo) GetP() string
- func (m *JSONVrfInfo) GetPubkey() string
- func (m *JSONVrfInfo) GetR() string
- func (m *JSONVrfInfo) GetTime() int64
- func (*JSONVrfInfo) ProtoMessage()
- func (m *JSONVrfInfo) Reset()
- func (m *JSONVrfInfo) String() string
- func (m *JSONVrfInfo) XXX_DiscardUnknown()
- func (m *JSONVrfInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *JSONVrfInfo) XXX_Merge(src proto.Message)
- func (m *JSONVrfInfo) XXX_Size() int
- func (m *JSONVrfInfo) XXX_Unmarshal(b []byte) error
- type OnceCandidator
- type ReceiptCB
- func (*ReceiptCB) Descriptor() ([]byte, []int)
- func (m *ReceiptCB) GetCbInfo() *DposCycleBoundaryInfo
- func (m *ReceiptCB) GetCycle() int64
- func (m *ReceiptCB) GetCycleMiddle() int64
- func (m *ReceiptCB) GetCycleStart() int64
- func (m *ReceiptCB) GetCycleStop() int64
- func (m *ReceiptCB) GetHeight() int64
- func (m *ReceiptCB) GetIndex() int64
- func (m *ReceiptCB) GetPubkey() []byte
- func (m *ReceiptCB) GetStatus() int64
- func (m *ReceiptCB) GetTime() int64
- func (*ReceiptCB) ProtoMessage()
- func (m *ReceiptCB) Reset()
- func (m *ReceiptCB) String() string
- func (m *ReceiptCB) XXX_DiscardUnknown()
- func (m *ReceiptCB) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReceiptCB) XXX_Merge(src proto.Message)
- func (m *ReceiptCB) XXX_Size() int
- func (m *ReceiptCB) XXX_Unmarshal(b []byte) error
- type ReceiptCandicator
- func (*ReceiptCandicator) Descriptor() ([]byte, []int)
- func (m *ReceiptCandicator) GetAddress() string
- func (m *ReceiptCandicator) GetCandInfo() *CandidatorInfo
- func (m *ReceiptCandicator) GetFromAddr() string
- func (m *ReceiptCandicator) GetIndex() int64
- func (m *ReceiptCandicator) GetPreStatus() int64
- func (m *ReceiptCandicator) GetPubkey() []byte
- func (m *ReceiptCandicator) GetStatus() int64
- func (m *ReceiptCandicator) GetStatusChange() bool
- func (m *ReceiptCandicator) GetTime() int64
- func (m *ReceiptCandicator) GetVote() *DposVoter
- func (m *ReceiptCandicator) GetVoteType() int32
- func (*ReceiptCandicator) ProtoMessage()
- func (m *ReceiptCandicator) Reset()
- func (m *ReceiptCandicator) String() string
- func (m *ReceiptCandicator) XXX_DiscardUnknown()
- func (m *ReceiptCandicator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReceiptCandicator) XXX_Merge(src proto.Message)
- func (m *ReceiptCandicator) XXX_Size() int
- func (m *ReceiptCandicator) XXX_Unmarshal(b []byte) error
- type ReceiptTopN
- func (*ReceiptTopN) Descriptor() ([]byte, []int)
- func (m *ReceiptTopN) GetHeight() int64
- func (m *ReceiptTopN) GetIndex() int64
- func (m *ReceiptTopN) GetPubkey() []byte
- func (m *ReceiptTopN) GetStatus() int64
- func (m *ReceiptTopN) GetTime() int64
- func (m *ReceiptTopN) GetTopN() *TopNCandidator
- func (m *ReceiptTopN) GetVersion() int64
- func (*ReceiptTopN) ProtoMessage()
- func (m *ReceiptTopN) Reset()
- func (m *ReceiptTopN) String() string
- func (m *ReceiptTopN) XXX_DiscardUnknown()
- func (m *ReceiptTopN) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReceiptTopN) XXX_Merge(src proto.Message)
- func (m *ReceiptTopN) XXX_Size() int
- func (m *ReceiptTopN) XXX_Unmarshal(b []byte) error
- type ReceiptVrf
- func (*ReceiptVrf) Descriptor() ([]byte, []int)
- func (m *ReceiptVrf) GetCycle() int64
- func (m *ReceiptVrf) GetCycleMiddle() int64
- func (m *ReceiptVrf) GetCycleStart() int64
- func (m *ReceiptVrf) GetCycleStop() int64
- func (m *ReceiptVrf) GetHeight() int64
- func (m *ReceiptVrf) GetIndex() int64
- func (m *ReceiptVrf) GetM() []byte
- func (m *ReceiptVrf) GetP() []byte
- func (m *ReceiptVrf) GetPubkey() []byte
- func (m *ReceiptVrf) GetR() []byte
- func (m *ReceiptVrf) GetStatus() int64
- func (m *ReceiptVrf) GetTime() int64
- func (*ReceiptVrf) ProtoMessage()
- func (m *ReceiptVrf) Reset()
- func (m *ReceiptVrf) String() string
- func (m *ReceiptVrf) XXX_DiscardUnknown()
- func (m *ReceiptVrf) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReceiptVrf) XXX_Merge(src proto.Message)
- func (m *ReceiptVrf) XXX_Size() int
- func (m *ReceiptVrf) XXX_Unmarshal(b []byte) error
- type TopNCandidator
- func (*TopNCandidator) Descriptor() ([]byte, []int)
- func (m *TopNCandidator) GetCands() []*Candidator
- func (m *TopNCandidator) GetHash() []byte
- func (m *TopNCandidator) GetHeight() int64
- func (m *TopNCandidator) GetSignature() []byte
- func (m *TopNCandidator) GetSignerPubkey() []byte
- func (*TopNCandidator) ProtoMessage()
- func (m *TopNCandidator) Reset()
- func (m *TopNCandidator) String() string
- func (topN *TopNCandidator) Verify() error
- func (m *TopNCandidator) XXX_DiscardUnknown()
- func (m *TopNCandidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TopNCandidator) XXX_Merge(src proto.Message)
- func (m *TopNCandidator) XXX_Size() int
- func (m *TopNCandidator) XXX_Unmarshal(b []byte) error
- type TopNCandidatorRegist
- func (*TopNCandidatorRegist) Descriptor() ([]byte, []int)
- func (m *TopNCandidatorRegist) GetCand() *TopNCandidator
- func (*TopNCandidatorRegist) ProtoMessage()
- func (m *TopNCandidatorRegist) Reset()
- func (m *TopNCandidatorRegist) String() string
- func (m *TopNCandidatorRegist) XXX_DiscardUnknown()
- func (m *TopNCandidatorRegist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TopNCandidatorRegist) XXX_Merge(src proto.Message)
- func (m *TopNCandidatorRegist) XXX_Size() int
- func (m *TopNCandidatorRegist) XXX_Unmarshal(b []byte) error
- type TopNCandidators
- func (topNs *TopNCandidators) CheckVoteStauts(delegateNum int64)
- func (*TopNCandidators) Descriptor() ([]byte, []int)
- func (m *TopNCandidators) GetCandsVotes() []*TopNCandidator
- func (m *TopNCandidators) GetFinalCands() []*Candidator
- func (m *TopNCandidators) GetStatus() int64
- func (m *TopNCandidators) GetVersion() int64
- func (*TopNCandidators) ProtoMessage()
- func (m *TopNCandidators) Reset()
- func (m *TopNCandidators) String() string
- func (m *TopNCandidators) XXX_DiscardUnknown()
- func (m *TopNCandidators) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TopNCandidators) XXX_Merge(src proto.Message)
- func (m *TopNCandidators) XXX_Size() int
- func (m *TopNCandidators) XXX_Unmarshal(b []byte) error
- type TopNCandidatorsQuery
- func (*TopNCandidatorsQuery) Descriptor() ([]byte, []int)
- func (m *TopNCandidatorsQuery) GetVersion() int64
- func (*TopNCandidatorsQuery) ProtoMessage()
- func (m *TopNCandidatorsQuery) Reset()
- func (m *TopNCandidatorsQuery) String() string
- func (m *TopNCandidatorsQuery) XXX_DiscardUnknown()
- func (m *TopNCandidatorsQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TopNCandidatorsQuery) XXX_Merge(src proto.Message)
- func (m *TopNCandidatorsQuery) XXX_Size() int
- func (m *TopNCandidatorsQuery) XXX_Unmarshal(b []byte) error
- type TopNCandidatorsReply
- func (*TopNCandidatorsReply) Descriptor() ([]byte, []int)
- func (m *TopNCandidatorsReply) GetTopN() *TopNCandidators
- func (*TopNCandidatorsReply) ProtoMessage()
- func (m *TopNCandidatorsReply) Reset()
- func (m *TopNCandidatorsReply) String() string
- func (m *TopNCandidatorsReply) XXX_DiscardUnknown()
- func (m *TopNCandidatorsReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TopNCandidatorsReply) XXX_Merge(src proto.Message)
- func (m *TopNCandidatorsReply) XXX_Size() int
- func (m *TopNCandidatorsReply) XXX_Unmarshal(b []byte) error
- type VrfInfo
- func (*VrfInfo) Descriptor() ([]byte, []int)
- func (m *VrfInfo) GetCycle() int64
- func (m *VrfInfo) GetHeight() int64
- func (m *VrfInfo) GetIndex() int64
- func (m *VrfInfo) GetM() []byte
- func (m *VrfInfo) GetP() []byte
- func (m *VrfInfo) GetPubkey() []byte
- func (m *VrfInfo) GetR() []byte
- func (m *VrfInfo) GetTime() int64
- func (*VrfInfo) ProtoMessage()
- func (m *VrfInfo) Reset()
- func (m *VrfInfo) String() string
- func (m *VrfInfo) XXX_DiscardUnknown()
- func (m *VrfInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VrfInfo) XXX_Merge(src proto.Message)
- func (m *VrfInfo) XXX_Size() int
- func (m *VrfInfo) XXX_Unmarshal(b []byte) error
Constants ¶
const ( DposVoteActionRegist = iota + 1 DposVoteActionCancelRegist DposVoteActionReRegist DposVoteActionVote DposVoteActionCancelVote DposVoteActionRegistVrfM DposVoteActionRegistVrfRP DposVoteActionRecordCB DPosVoteActionRegistTopNCandidator CandidatorStatusRegist = iota + 1 CandidatorStatusVoted CandidatorStatusCancelVoted CandidatorStatusCancelRegist CandidatorStatusReRegist VrfStatusMRegist = iota + 1 VrfStatusRPRegist CBStatusRecord = iota + 1 TopNCandidatorStatusRegist = iota + 1 )
dpos action ty
const ( TyLogCandicatorRegist = 1001 TyLogCandicatorVoted = 1002 TyLogCandicatorCancelVoted = 1003 TyLogCandicatorCancelRegist = 1004 TyLogCandicatorReRegist = 1005 TyLogVrfMRegist = 1006 TyLogVrfRPRegist = 1007 TyLogCBInfoRecord = 1008 TyLogTopNCandidatorRegist = 1009 )
log ty
const ( //RegistFrozenCoins 注册为候选节点需要抵押冻结的代币数量 RegistFrozenCoins = 1000000000000 //VoteTypeNone 非投票类型 VoteTypeNone int32 = 1 //VoteTypeVote 投票类型 VoteTypeVote int32 = 2 //VoteTypeCancelVote 撤销投票类型 VoteTypeCancelVote int32 = 3 //VoteTypeCancelAllVote 撤销所有投票类型 VoteTypeCancelAllVote int32 = 4 //TopNCandidatorsVoteInit topN投票状态:初始状态 TopNCandidatorsVoteInit int64 = 0 //TopNCandidatorsVoteMajorOK topN投票状态:2/3多数达成一致 TopNCandidatorsVoteMajorOK int64 = 1 //TopNCandidatorsVoteMajorFail topN投票状态:2/3多数达成一致失败 TopNCandidatorsVoteMajorFail int64 = 2 )
const ( //FuncNameQueryCandidatorByPubkeys func name FuncNameQueryCandidatorByPubkeys = "QueryCandidatorByPubkeys" //FuncNameQueryCandidatorByTopN func name FuncNameQueryCandidatorByTopN = "QueryCandidatorByTopN" //FuncNameQueryVrfByTime func name FuncNameQueryVrfByTime = "QueryVrfByTime" //FuncNameQueryVrfByCycle func name FuncNameQueryVrfByCycle = "QueryVrfByCycle" //FuncNameQueryVrfByCycleForTopN func name FuncNameQueryVrfByCycleForTopN = "QueryVrfByCycleForTopN" //FuncNameQueryVrfByCycleForPubkeys func name FuncNameQueryVrfByCycleForPubkeys = "QueryVrfByCycleForPubkeys" //FuncNameQueryVote func name FuncNameQueryVote = "QueryVote" //CreateRegistTx 创建注册候选节点交易 CreateRegistTx = "Regist" //CreateCancelRegistTx 创建取消候选节点的交易 CreateCancelRegistTx = "CancelRegist" //CreateReRegistTx 创建重新注册候选节点的交易 CreateReRegistTx = "ReRegist" //CreateVoteTx 创建为候选节点投票的交易 CreateVoteTx = "Vote" //CreateCancelVoteTx 创建取消对候选节点投票的交易 CreateCancelVoteTx = "CancelVote" //CreateRegistVrfMTx 创建注册Vrf的M信息的交易 CreateRegistVrfMTx = "RegistVrfM" //CreateRegistVrfRPTx 创建注册Vrf的R/P信息的交易 CreateRegistVrfRPTx = "RegistVrfRP" //CreateRecordCBTx 创建记录CB信息的交易 CreateRecordCBTx = "RecordCB" //QueryVrfByTime 根据time查询Vrf信息 QueryVrfByTime = 1 //QueryVrfByCycle 根据cycle查询Vrf信息 QueryVrfByCycle = 2 //QueryVrfByCycleForTopN 根据cycle查询当前topN的候选节点的Vrf信息 QueryVrfByCycleForTopN = 3 //QueryVrfByCycleForPubkeys 根据cycle查询指定pubkey的多个候选节点的Vrf信息 QueryVrfByCycleForPubkeys = 4 //FuncNameQueryCBInfoByCycle func name FuncNameQueryCBInfoByCycle = "QueryCBInfoByCycle" //FuncNameQueryCBInfoByHeight func name FuncNameQueryCBInfoByHeight = "QueryCBInfoByHeight" //FuncNameQueryCBInfoByHash func name FuncNameQueryCBInfoByHash = "QueryCBInfoByHash" //QueryCBInfoByCycle 根据cycle查询cycle boundary信息 QueryCBInfoByCycle = 1 //QueryCBInfoByHeight 根据stopHeight查询cycle boundary信息 QueryCBInfoByHeight = 2 //QueryCBInfoByHash 根据stopHash查询cycle boundary信息 QueryCBInfoByHash = 3 //FuncNameQueryTopNByVersion func name FuncNameQueryTopNByVersion = "QueryTopNByVersion" )
Variables ¶
var ( DPosX = "dpos" ExecerDposVote = []byte(DPosX) )
包的名字可以通过配置文件来配置 建议用github的组织名称,或者用户名字开头, 再加上自己的插件的名字 如果发生重名,可以通过配置文件修改这些名字
var ( ErrNoSuchVote = errors.New("ErrNoSuchVote") ErrNotEnoughVotes = errors.New("ErrNotEnoughVotes") ErrCandidatorExist = errors.New("ErrCandidatorExist") ErrCandidatorInvalidStatus = errors.New("ErrCandidatorInvalidStatus") ErrCandidatorNotExist = errors.New("ErrCandidatorNotExist") ErrCandidatorNotEnough = errors.New("ErrCandidatorNotEnough") ErrCandidatorNotLegal = errors.New("ErrCandidatorNotLegal") ErrVrfMNotRegisted = errors.New("ErrVrfMNotRegisted") ErrVrfMAlreadyRegisted = errors.New("ErrVrfMAlreadyRegisted") ErrVrfRPAlreadyRegisted = errors.New("ErrVrfRPAlreadyRegisted") ErrNoPrivilege = errors.New("ErrNoPrivilege") ErrParamStatusInvalid = errors.New("ErrParamStatusInvalid") ErrParamAddressMustnotEmpty = errors.New("ErrParamAddressMustnotEmpty") ErrSaveTable = errors.New("ErrSaveTable") ErrCBRecordExist = errors.New("ErrCBRecordExist") ErrCycleNotAllowed = errors.New("ErrCycleNotAllowed") ErrVersionTopNNotExist = errors.New("ErrVersionTopNNotExist") ErrNotLegalTopN = errors.New("ErrNotLegalTopN") )
Errors for Dpos
Functions ¶
func InitExecutor ¶
func InitExecutor(cfg *types.Chain33Config)
func InitFork ¶
func InitFork(cfg *types.Chain33Config)
func NewDposCandidatorTable ¶
NewDposCandidatorTable 新建表
Types ¶
type Candidator ¶
type Candidator struct { Pubkey []byte `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` IP string `protobuf:"bytes,3,opt,name=IP,proto3" json:"IP,omitempty"` Votes int64 `protobuf:"varint,4,opt,name=votes,proto3" json:"votes,omitempty"` Status int64 `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Candidator 候选节点信息
func (*Candidator) Descriptor ¶
func (*Candidator) Descriptor() ([]byte, []int)
func (*Candidator) GetAddress ¶
func (m *Candidator) GetAddress() string
func (*Candidator) GetIP ¶
func (m *Candidator) GetIP() string
func (*Candidator) GetPubkey ¶
func (m *Candidator) GetPubkey() []byte
func (*Candidator) GetStatus ¶
func (m *Candidator) GetStatus() int64
func (*Candidator) GetVotes ¶
func (m *Candidator) GetVotes() int64
func (*Candidator) ProtoMessage ¶
func (*Candidator) ProtoMessage()
func (*Candidator) Reset ¶
func (m *Candidator) Reset()
func (*Candidator) String ¶
func (m *Candidator) String() string
func (*Candidator) XXX_DiscardUnknown ¶
func (m *Candidator) XXX_DiscardUnknown()
func (*Candidator) XXX_Marshal ¶
func (m *Candidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Candidator) XXX_Merge ¶
func (m *Candidator) XXX_Merge(src proto.Message)
func (*Candidator) XXX_Size ¶
func (m *Candidator) XXX_Size() int
func (*Candidator) XXX_Unmarshal ¶
func (m *Candidator) XXX_Unmarshal(b []byte) error
type CandidatorInfo ¶
type CandidatorInfo struct { Pubkey []byte `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` IP string `protobuf:"bytes,3,opt,name=IP,proto3" json:"IP,omitempty"` Votes int64 `protobuf:"varint,4,opt,name=votes,proto3" json:"votes,omitempty"` Status int64 `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"` PreStatus int64 `protobuf:"varint,6,opt,name=preStatus,proto3" json:"preStatus,omitempty"` StartTime int64 `protobuf:"varint,7,opt,name=startTime,proto3" json:"startTime,omitempty"` StartHeight int64 `protobuf:"varint,8,opt,name=startHeight,proto3" json:"startHeight,omitempty"` StartTxHash string `protobuf:"bytes,9,opt,name=startTxHash,proto3" json:"startTxHash,omitempty"` StartIndex int64 `protobuf:"varint,10,opt,name=startIndex,proto3" json:"startIndex,omitempty"` Index int64 `protobuf:"varint,11,opt,name=index,proto3" json:"index,omitempty"` PreIndex int64 `protobuf:"varint,12,opt,name=preIndex,proto3" json:"preIndex,omitempty"` Voters []*DposVoter `protobuf:"bytes,13,rep,name=voters,proto3" json:"voters,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
CandidatorInfo 候选节点信息
func (*CandidatorInfo) Descriptor ¶
func (*CandidatorInfo) Descriptor() ([]byte, []int)
func (*CandidatorInfo) GetAddress ¶
func (m *CandidatorInfo) GetAddress() string
func (*CandidatorInfo) GetIP ¶
func (m *CandidatorInfo) GetIP() string
func (*CandidatorInfo) GetIndex ¶
func (m *CandidatorInfo) GetIndex() int64
func (*CandidatorInfo) GetPreIndex ¶
func (m *CandidatorInfo) GetPreIndex() int64
func (*CandidatorInfo) GetPreStatus ¶
func (m *CandidatorInfo) GetPreStatus() int64
func (*CandidatorInfo) GetPubkey ¶
func (m *CandidatorInfo) GetPubkey() []byte
func (*CandidatorInfo) GetStartHeight ¶
func (m *CandidatorInfo) GetStartHeight() int64
func (*CandidatorInfo) GetStartIndex ¶
func (m *CandidatorInfo) GetStartIndex() int64
func (*CandidatorInfo) GetStartTime ¶
func (m *CandidatorInfo) GetStartTime() int64
func (*CandidatorInfo) GetStartTxHash ¶
func (m *CandidatorInfo) GetStartTxHash() string
func (*CandidatorInfo) GetStatus ¶
func (m *CandidatorInfo) GetStatus() int64
func (*CandidatorInfo) GetVoters ¶
func (m *CandidatorInfo) GetVoters() []*DposVoter
func (*CandidatorInfo) GetVotes ¶
func (m *CandidatorInfo) GetVotes() int64
func (*CandidatorInfo) ProtoMessage ¶
func (*CandidatorInfo) ProtoMessage()
func (*CandidatorInfo) Reset ¶
func (m *CandidatorInfo) Reset()
func (*CandidatorInfo) String ¶
func (m *CandidatorInfo) String() string
func (*CandidatorInfo) XXX_DiscardUnknown ¶
func (m *CandidatorInfo) XXX_DiscardUnknown()
func (*CandidatorInfo) XXX_Marshal ¶
func (m *CandidatorInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CandidatorInfo) XXX_Merge ¶
func (m *CandidatorInfo) XXX_Merge(src proto.Message)
func (*CandidatorInfo) XXX_Size ¶
func (m *CandidatorInfo) XXX_Size() int
func (*CandidatorInfo) XXX_Unmarshal ¶
func (m *CandidatorInfo) XXX_Unmarshal(b []byte) error
type CandidatorQuery ¶
type CandidatorQuery struct { Pubkeys []string `protobuf:"bytes,1,rep,name=pubkeys,proto3" json:"pubkeys,omitempty"` TopN int32 `protobuf:"varint,2,opt,name=topN,proto3" json:"topN,omitempty"` Ty int32 `protobuf:"varint,3,opt,name=ty,proto3" json:"ty,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
CandidatorQuery 候选节点查询
func (*CandidatorQuery) Descriptor ¶
func (*CandidatorQuery) Descriptor() ([]byte, []int)
func (*CandidatorQuery) GetPubkeys ¶
func (m *CandidatorQuery) GetPubkeys() []string
func (*CandidatorQuery) GetTopN ¶
func (m *CandidatorQuery) GetTopN() int32
func (*CandidatorQuery) GetTy ¶
func (m *CandidatorQuery) GetTy() int32
func (*CandidatorQuery) ProtoMessage ¶
func (*CandidatorQuery) ProtoMessage()
func (*CandidatorQuery) Reset ¶
func (m *CandidatorQuery) Reset()
func (*CandidatorQuery) String ¶
func (m *CandidatorQuery) String() string
func (*CandidatorQuery) XXX_DiscardUnknown ¶
func (m *CandidatorQuery) XXX_DiscardUnknown()
func (*CandidatorQuery) XXX_Marshal ¶
func (m *CandidatorQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CandidatorQuery) XXX_Merge ¶
func (m *CandidatorQuery) XXX_Merge(src proto.Message)
func (*CandidatorQuery) XXX_Size ¶
func (m *CandidatorQuery) XXX_Size() int
func (*CandidatorQuery) XXX_Unmarshal ¶
func (m *CandidatorQuery) XXX_Unmarshal(b []byte) error
type CandidatorReply ¶
type CandidatorReply struct { Candidators []*JSONCandidator `protobuf:"bytes,1,rep,name=candidators,proto3" json:"candidators,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
CandidatorReply 候选节点查询响应
func (*CandidatorReply) Descriptor ¶
func (*CandidatorReply) Descriptor() ([]byte, []int)
func (*CandidatorReply) GetCandidators ¶
func (m *CandidatorReply) GetCandidators() []*JSONCandidator
func (*CandidatorReply) ProtoMessage ¶
func (*CandidatorReply) ProtoMessage()
func (*CandidatorReply) Reset ¶
func (m *CandidatorReply) Reset()
func (*CandidatorReply) String ¶
func (m *CandidatorReply) String() string
func (*CandidatorReply) XXX_DiscardUnknown ¶
func (m *CandidatorReply) XXX_DiscardUnknown()
func (*CandidatorReply) XXX_Marshal ¶
func (m *CandidatorReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CandidatorReply) XXX_Merge ¶
func (m *CandidatorReply) XXX_Merge(src proto.Message)
func (*CandidatorReply) XXX_Size ¶
func (m *CandidatorReply) XXX_Size() int
func (*CandidatorReply) XXX_Unmarshal ¶
func (m *CandidatorReply) XXX_Unmarshal(b []byte) error
type CanonicalOnceCBInfo ¶
type CanonicalOnceCBInfo struct { Cycle int64 `json:"cycle,omitempty"` StopHeight int64 `json:"stopHeight,omitempty"` StopHash string `json:"stopHash,omitempty"` Pubkey string `json:"pubkey,omitempty"` }
CanonicalOnceCBInfo ...
type CanonicalOnceTopNCandidator ¶
type CanonicalOnceTopNCandidator struct { Cands []*OnceCandidator `json:"cands,omitempty"` Hash []byte `json:"hash,omitempty"` Height int64 `json:"height,omitempty"` SignerPubkey []byte `json:"signerPubkey,omitempty"` Signature []byte `json:"signature,omitempty"` }
CanonicalOnceTopNCandidator ...
func CanonicalTopNCandidator ¶
func CanonicalTopNCandidator(topN *TopNCandidator) CanonicalOnceTopNCandidator
CanonicalTopNCandidator ...
func (*CanonicalOnceTopNCandidator) ID ¶
func (topN *CanonicalOnceTopNCandidator) ID() []byte
ID ...
type DPosType ¶
type DPosType struct {
types.ExecTypeBase
}
DPosType struct
type DposCBInfo ¶
type DposCBInfo struct { Cycle int64 `protobuf:"varint,1,opt,name=cycle,proto3" json:"cycle,omitempty"` StopHeight int64 `protobuf:"varint,2,opt,name=stopHeight,proto3" json:"stopHeight,omitempty"` StopHash string `protobuf:"bytes,3,opt,name=stopHash,proto3" json:"stopHash,omitempty"` Pubkey string `protobuf:"bytes,4,opt,name=pubkey,proto3" json:"pubkey,omitempty"` Signature string `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DposCBInfo cycle边界记录请求消息
func (*DposCBInfo) Descriptor ¶
func (*DposCBInfo) Descriptor() ([]byte, []int)
func (*DposCBInfo) GetCycle ¶
func (m *DposCBInfo) GetCycle() int64
func (*DposCBInfo) GetPubkey ¶
func (m *DposCBInfo) GetPubkey() string
func (*DposCBInfo) GetSignature ¶
func (m *DposCBInfo) GetSignature() string
func (*DposCBInfo) GetStopHash ¶
func (m *DposCBInfo) GetStopHash() string
func (*DposCBInfo) GetStopHeight ¶
func (m *DposCBInfo) GetStopHeight() int64
func (*DposCBInfo) ProtoMessage ¶
func (*DposCBInfo) ProtoMessage()
func (*DposCBInfo) Reset ¶
func (m *DposCBInfo) Reset()
func (*DposCBInfo) String ¶
func (m *DposCBInfo) String() string
func (*DposCBInfo) XXX_DiscardUnknown ¶
func (m *DposCBInfo) XXX_DiscardUnknown()
func (*DposCBInfo) XXX_Marshal ¶
func (m *DposCBInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DposCBInfo) XXX_Merge ¶
func (m *DposCBInfo) XXX_Merge(src proto.Message)
func (*DposCBInfo) XXX_Size ¶
func (m *DposCBInfo) XXX_Size() int
func (*DposCBInfo) XXX_Unmarshal ¶
func (m *DposCBInfo) XXX_Unmarshal(b []byte) error
type DposCBQuery ¶
type DposCBQuery struct { Cycle int64 `protobuf:"varint,1,opt,name=cycle,proto3" json:"cycle,omitempty"` StopHeight int64 `protobuf:"varint,2,opt,name=stopHeight,proto3" json:"stopHeight,omitempty"` StopHash string `protobuf:"bytes,3,opt,name=stopHash,proto3" json:"stopHash,omitempty"` Ty int32 `protobuf:"varint,4,opt,name=ty,proto3" json:"ty,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DposCBQuery cycle边界记录查询请求
func (*DposCBQuery) Descriptor ¶
func (*DposCBQuery) Descriptor() ([]byte, []int)
func (*DposCBQuery) GetCycle ¶
func (m *DposCBQuery) GetCycle() int64
func (*DposCBQuery) GetStopHash ¶
func (m *DposCBQuery) GetStopHash() string
func (*DposCBQuery) GetStopHeight ¶
func (m *DposCBQuery) GetStopHeight() int64
func (*DposCBQuery) GetTy ¶
func (m *DposCBQuery) GetTy() int32
func (*DposCBQuery) ProtoMessage ¶
func (*DposCBQuery) ProtoMessage()
func (*DposCBQuery) Reset ¶
func (m *DposCBQuery) Reset()
func (*DposCBQuery) String ¶
func (m *DposCBQuery) String() string
func (*DposCBQuery) XXX_DiscardUnknown ¶
func (m *DposCBQuery) XXX_DiscardUnknown()
func (*DposCBQuery) XXX_Marshal ¶
func (m *DposCBQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DposCBQuery) XXX_Merge ¶
func (m *DposCBQuery) XXX_Merge(src proto.Message)
func (*DposCBQuery) XXX_Size ¶
func (m *DposCBQuery) XXX_Size() int
func (*DposCBQuery) XXX_Unmarshal ¶
func (m *DposCBQuery) XXX_Unmarshal(b []byte) error
type DposCBReply ¶
type DposCBReply struct { CbInfo *DposCBInfo `protobuf:"bytes,1,opt,name=cbInfo,proto3" json:"cbInfo,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DposCBReply cycle边界记录查询响应
func (*DposCBReply) Descriptor ¶
func (*DposCBReply) Descriptor() ([]byte, []int)
func (*DposCBReply) GetCbInfo ¶
func (m *DposCBReply) GetCbInfo() *DposCBInfo
func (*DposCBReply) ProtoMessage ¶
func (*DposCBReply) ProtoMessage()
func (*DposCBReply) Reset ¶
func (m *DposCBReply) Reset()
func (*DposCBReply) String ¶
func (m *DposCBReply) String() string
func (*DposCBReply) XXX_DiscardUnknown ¶
func (m *DposCBReply) XXX_DiscardUnknown()
func (*DposCBReply) XXX_Marshal ¶
func (m *DposCBReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DposCBReply) XXX_Merge ¶
func (m *DposCBReply) XXX_Merge(src proto.Message)
func (*DposCBReply) XXX_Size ¶
func (m *DposCBReply) XXX_Size() int
func (*DposCBReply) XXX_Unmarshal ¶
func (m *DposCBReply) XXX_Unmarshal(b []byte) error
type DposCBRow ¶
type DposCBRow struct {
*DposCycleBoundaryInfo
}
DposCBRow table meta 结构
type DposCancelVote ¶
type DposCancelVote struct { Pubkey string `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"` Index int64 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DposCancelVote 撤销为Dpos候选节点投票
func (*DposCancelVote) Descriptor ¶
func (*DposCancelVote) Descriptor() ([]byte, []int)
func (*DposCancelVote) GetIndex ¶
func (m *DposCancelVote) GetIndex() int64
func (*DposCancelVote) GetPubkey ¶
func (m *DposCancelVote) GetPubkey() string
func (*DposCancelVote) ProtoMessage ¶
func (*DposCancelVote) ProtoMessage()
func (*DposCancelVote) Reset ¶
func (m *DposCancelVote) Reset()
func (*DposCancelVote) String ¶
func (m *DposCancelVote) String() string
func (*DposCancelVote) XXX_DiscardUnknown ¶
func (m *DposCancelVote) XXX_DiscardUnknown()
func (*DposCancelVote) XXX_Marshal ¶
func (m *DposCancelVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DposCancelVote) XXX_Merge ¶
func (m *DposCancelVote) XXX_Merge(src proto.Message)
func (*DposCancelVote) XXX_Size ¶
func (m *DposCancelVote) XXX_Size() int
func (*DposCancelVote) XXX_Unmarshal ¶
func (m *DposCancelVote) XXX_Unmarshal(b []byte) error
type DposCandidatorCancelRegist ¶
type DposCandidatorCancelRegist struct { Pubkey string `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DposCandidatorCancelRegist 注销Dpos候选节点,解冻抵押的币
func (*DposCandidatorCancelRegist) Descriptor ¶
func (*DposCandidatorCancelRegist) Descriptor() ([]byte, []int)
func (*DposCandidatorCancelRegist) GetAddress ¶
func (m *DposCandidatorCancelRegist) GetAddress() string
func (*DposCandidatorCancelRegist) GetPubkey ¶
func (m *DposCandidatorCancelRegist) GetPubkey() string
func (*DposCandidatorCancelRegist) ProtoMessage ¶
func (*DposCandidatorCancelRegist) ProtoMessage()
func (*DposCandidatorCancelRegist) Reset ¶
func (m *DposCandidatorCancelRegist) Reset()
func (*DposCandidatorCancelRegist) String ¶
func (m *DposCandidatorCancelRegist) String() string
func (*DposCandidatorCancelRegist) XXX_DiscardUnknown ¶
func (m *DposCandidatorCancelRegist) XXX_DiscardUnknown()
func (*DposCandidatorCancelRegist) XXX_Marshal ¶
func (m *DposCandidatorCancelRegist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DposCandidatorCancelRegist) XXX_Merge ¶
func (m *DposCandidatorCancelRegist) XXX_Merge(src proto.Message)
func (*DposCandidatorCancelRegist) XXX_Size ¶
func (m *DposCandidatorCancelRegist) XXX_Size() int
func (*DposCandidatorCancelRegist) XXX_Unmarshal ¶
func (m *DposCandidatorCancelRegist) XXX_Unmarshal(b []byte) error
type DposCandidatorRegist ¶
type DposCandidatorRegist struct { Pubkey string `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` IP string `protobuf:"bytes,3,opt,name=IP,proto3" json:"IP,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DposCandidatorRegist 注册Dpos候选节点,必须抵押一定数量的币,比如:10000个币
func (*DposCandidatorRegist) Descriptor ¶
func (*DposCandidatorRegist) Descriptor() ([]byte, []int)
func (*DposCandidatorRegist) GetAddress ¶
func (m *DposCandidatorRegist) GetAddress() string
func (*DposCandidatorRegist) GetIP ¶
func (m *DposCandidatorRegist) GetIP() string
func (*DposCandidatorRegist) GetPubkey ¶
func (m *DposCandidatorRegist) GetPubkey() string
func (*DposCandidatorRegist) ProtoMessage ¶
func (*DposCandidatorRegist) ProtoMessage()
func (*DposCandidatorRegist) Reset ¶
func (m *DposCandidatorRegist) Reset()
func (*DposCandidatorRegist) String ¶
func (m *DposCandidatorRegist) String() string
func (*DposCandidatorRegist) XXX_DiscardUnknown ¶
func (m *DposCandidatorRegist) XXX_DiscardUnknown()
func (*DposCandidatorRegist) XXX_Marshal ¶
func (m *DposCandidatorRegist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DposCandidatorRegist) XXX_Merge ¶
func (m *DposCandidatorRegist) XXX_Merge(src proto.Message)
func (*DposCandidatorRegist) XXX_Size ¶
func (m *DposCandidatorRegist) XXX_Size() int
func (*DposCandidatorRegist) XXX_Unmarshal ¶
func (m *DposCandidatorRegist) XXX_Unmarshal(b []byte) error
type DposCandidatorRow ¶
type DposCandidatorRow struct {
*CandidatorInfo
}
DposCandidatorRow table meta 结构
func NewDposCandidatorRow ¶
func NewDposCandidatorRow() *DposCandidatorRow
NewDposCandidatorRow 新建一个meta 结构
func (*DposCandidatorRow) CreateRow ¶
func (tx *DposCandidatorRow) CreateRow() *table.Row
CreateRow 新建数据行
func (*DposCandidatorRow) Get ¶
func (tx *DposCandidatorRow) Get(key string) ([]byte, error)
Get 按照indexName 查询 indexValue
func (*DposCandidatorRow) SetPayload ¶
func (tx *DposCandidatorRow) SetPayload(data types.Message) error
SetPayload 设置数据
type DposCycleBoundaryInfo ¶
type DposCycleBoundaryInfo struct { Cycle int64 `protobuf:"varint,1,opt,name=cycle,proto3" json:"cycle,omitempty"` StopHeight int64 `protobuf:"varint,2,opt,name=stopHeight,proto3" json:"stopHeight,omitempty"` StopHash []byte `protobuf:"bytes,3,opt,name=stopHash,proto3" json:"stopHash,omitempty"` Pubkey []byte `protobuf:"bytes,4,opt,name=pubkey,proto3" json:"pubkey,omitempty"` Signature []byte `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DposCycleBoundaryInfo cycle边界信息
func (*DposCycleBoundaryInfo) Descriptor ¶
func (*DposCycleBoundaryInfo) Descriptor() ([]byte, []int)
func (*DposCycleBoundaryInfo) GetCycle ¶
func (m *DposCycleBoundaryInfo) GetCycle() int64
func (*DposCycleBoundaryInfo) GetPubkey ¶
func (m *DposCycleBoundaryInfo) GetPubkey() []byte
func (*DposCycleBoundaryInfo) GetSignature ¶
func (m *DposCycleBoundaryInfo) GetSignature() []byte
func (*DposCycleBoundaryInfo) GetStopHash ¶
func (m *DposCycleBoundaryInfo) GetStopHash() []byte
func (*DposCycleBoundaryInfo) GetStopHeight ¶
func (m *DposCycleBoundaryInfo) GetStopHeight() int64
func (*DposCycleBoundaryInfo) ProtoMessage ¶
func (*DposCycleBoundaryInfo) ProtoMessage()
func (*DposCycleBoundaryInfo) Reset ¶
func (m *DposCycleBoundaryInfo) Reset()
func (*DposCycleBoundaryInfo) String ¶
func (m *DposCycleBoundaryInfo) String() string
func (*DposCycleBoundaryInfo) XXX_DiscardUnknown ¶
func (m *DposCycleBoundaryInfo) XXX_DiscardUnknown()
func (*DposCycleBoundaryInfo) XXX_Marshal ¶
func (m *DposCycleBoundaryInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DposCycleBoundaryInfo) XXX_Merge ¶
func (m *DposCycleBoundaryInfo) XXX_Merge(src proto.Message)
func (*DposCycleBoundaryInfo) XXX_Size ¶
func (m *DposCycleBoundaryInfo) XXX_Size() int
func (*DposCycleBoundaryInfo) XXX_Unmarshal ¶
func (m *DposCycleBoundaryInfo) XXX_Unmarshal(b []byte) error
type DposVote ¶
type DposVote struct { FromAddr string `protobuf:"bytes,1,opt,name=fromAddr,proto3" json:"fromAddr,omitempty"` Pubkey string `protobuf:"bytes,2,opt,name=pubkey,proto3" json:"pubkey,omitempty"` Votes int64 `protobuf:"varint,3,opt,name=votes,proto3" json:"votes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DposVote 为Dpos候选节点投票
func (*DposVote) Descriptor ¶
func (*DposVote) GetFromAddr ¶
func (*DposVote) ProtoMessage ¶
func (*DposVote) ProtoMessage()
func (*DposVote) XXX_DiscardUnknown ¶
func (m *DposVote) XXX_DiscardUnknown()
func (*DposVote) XXX_Marshal ¶
func (*DposVote) XXX_Unmarshal ¶
type DposVoteAction ¶
type DposVoteAction struct { // Types that are valid to be assigned to Value: // *DposVoteAction_Regist // *DposVoteAction_CancelRegist // *DposVoteAction_ReRegist // *DposVoteAction_Vote // *DposVoteAction_CancelVote // *DposVoteAction_CandidatorQuery // *DposVoteAction_VoteQuery // *DposVoteAction_RegistVrfM // *DposVoteAction_RegistVrfRP // *DposVoteAction_VrfQuery // *DposVoteAction_RecordCB // *DposVoteAction_CbQuery // *DposVoteAction_RegistTopN // *DposVoteAction_TopNQuery Value isDposVoteAction_Value `protobuf_oneof:"value"` Ty int32 `protobuf:"varint,15,opt,name=ty,proto3" json:"ty,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DposVoteAction DposVote动作
func (*DposVoteAction) Descriptor ¶
func (*DposVoteAction) Descriptor() ([]byte, []int)
func (*DposVoteAction) GetCancelRegist ¶
func (m *DposVoteAction) GetCancelRegist() *DposCandidatorCancelRegist
func (*DposVoteAction) GetCancelVote ¶
func (m *DposVoteAction) GetCancelVote() *DposCancelVote
func (*DposVoteAction) GetCandidatorQuery ¶
func (m *DposVoteAction) GetCandidatorQuery() *CandidatorQuery
func (*DposVoteAction) GetCbQuery ¶
func (m *DposVoteAction) GetCbQuery() *DposCBQuery
func (*DposVoteAction) GetReRegist ¶
func (m *DposVoteAction) GetReRegist() *DposCandidatorRegist
func (*DposVoteAction) GetRecordCB ¶
func (m *DposVoteAction) GetRecordCB() *DposCBInfo
func (*DposVoteAction) GetRegist ¶
func (m *DposVoteAction) GetRegist() *DposCandidatorRegist
func (*DposVoteAction) GetRegistTopN ¶
func (m *DposVoteAction) GetRegistTopN() *TopNCandidatorRegist
func (*DposVoteAction) GetRegistVrfM ¶
func (m *DposVoteAction) GetRegistVrfM() *DposVrfMRegist
func (*DposVoteAction) GetRegistVrfRP ¶
func (m *DposVoteAction) GetRegistVrfRP() *DposVrfRPRegist
func (*DposVoteAction) GetTopNQuery ¶
func (m *DposVoteAction) GetTopNQuery() *TopNCandidatorsQuery
func (*DposVoteAction) GetTy ¶
func (m *DposVoteAction) GetTy() int32
func (*DposVoteAction) GetValue ¶
func (m *DposVoteAction) GetValue() isDposVoteAction_Value
func (*DposVoteAction) GetVote ¶
func (m *DposVoteAction) GetVote() *DposVote
func (*DposVoteAction) GetVoteQuery ¶
func (m *DposVoteAction) GetVoteQuery() *DposVoteQuery
func (*DposVoteAction) GetVrfQuery ¶
func (m *DposVoteAction) GetVrfQuery() *DposVrfQuery
func (*DposVoteAction) ProtoMessage ¶
func (*DposVoteAction) ProtoMessage()
func (*DposVoteAction) Reset ¶
func (m *DposVoteAction) Reset()
func (*DposVoteAction) String ¶
func (m *DposVoteAction) String() string
func (*DposVoteAction) XXX_DiscardUnknown ¶
func (m *DposVoteAction) XXX_DiscardUnknown()
func (*DposVoteAction) XXX_Marshal ¶
func (m *DposVoteAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DposVoteAction) XXX_Merge ¶
func (m *DposVoteAction) XXX_Merge(src proto.Message)
func (*DposVoteAction) XXX_OneofWrappers ¶
func (*DposVoteAction) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*DposVoteAction) XXX_Size ¶
func (m *DposVoteAction) XXX_Size() int
func (*DposVoteAction) XXX_Unmarshal ¶
func (m *DposVoteAction) XXX_Unmarshal(b []byte) error
type DposVoteAction_CancelRegist ¶
type DposVoteAction_CancelRegist struct {
CancelRegist *DposCandidatorCancelRegist `protobuf:"bytes,2,opt,name=cancelRegist,proto3,oneof"`
}
type DposVoteAction_CancelVote ¶
type DposVoteAction_CancelVote struct {
CancelVote *DposCancelVote `protobuf:"bytes,5,opt,name=cancelVote,proto3,oneof"`
}
type DposVoteAction_CandidatorQuery ¶
type DposVoteAction_CandidatorQuery struct {
CandidatorQuery *CandidatorQuery `protobuf:"bytes,6,opt,name=candidatorQuery,proto3,oneof"`
}
type DposVoteAction_CbQuery ¶
type DposVoteAction_CbQuery struct {
CbQuery *DposCBQuery `protobuf:"bytes,12,opt,name=cbQuery,proto3,oneof"`
}
type DposVoteAction_ReRegist ¶
type DposVoteAction_ReRegist struct {
ReRegist *DposCandidatorRegist `protobuf:"bytes,3,opt,name=reRegist,proto3,oneof"`
}
type DposVoteAction_RecordCB ¶
type DposVoteAction_RecordCB struct {
RecordCB *DposCBInfo `protobuf:"bytes,11,opt,name=recordCB,proto3,oneof"`
}
type DposVoteAction_Regist ¶
type DposVoteAction_Regist struct {
Regist *DposCandidatorRegist `protobuf:"bytes,1,opt,name=regist,proto3,oneof"`
}
type DposVoteAction_RegistTopN ¶
type DposVoteAction_RegistTopN struct {
RegistTopN *TopNCandidatorRegist `protobuf:"bytes,13,opt,name=registTopN,proto3,oneof"`
}
type DposVoteAction_RegistVrfM ¶
type DposVoteAction_RegistVrfM struct {
RegistVrfM *DposVrfMRegist `protobuf:"bytes,8,opt,name=registVrfM,proto3,oneof"`
}
type DposVoteAction_RegistVrfRP ¶
type DposVoteAction_RegistVrfRP struct {
RegistVrfRP *DposVrfRPRegist `protobuf:"bytes,9,opt,name=registVrfRP,proto3,oneof"`
}
type DposVoteAction_TopNQuery ¶
type DposVoteAction_TopNQuery struct {
TopNQuery *TopNCandidatorsQuery `protobuf:"bytes,14,opt,name=topNQuery,proto3,oneof"`
}
type DposVoteAction_Vote ¶
type DposVoteAction_Vote struct {
Vote *DposVote `protobuf:"bytes,4,opt,name=vote,proto3,oneof"`
}
type DposVoteAction_VoteQuery ¶
type DposVoteAction_VoteQuery struct {
VoteQuery *DposVoteQuery `protobuf:"bytes,7,opt,name=voteQuery,proto3,oneof"`
}
type DposVoteAction_VrfQuery ¶
type DposVoteAction_VrfQuery struct {
VrfQuery *DposVrfQuery `protobuf:"bytes,10,opt,name=vrfQuery,proto3,oneof"`
}
type DposVoteQuery ¶
type DposVoteQuery struct { Pubkeys []string `protobuf:"bytes,1,rep,name=pubkeys,proto3" json:"pubkeys,omitempty"` Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DposVoteQuery 投票查询
func (*DposVoteQuery) Descriptor ¶
func (*DposVoteQuery) Descriptor() ([]byte, []int)
func (*DposVoteQuery) GetAddr ¶
func (m *DposVoteQuery) GetAddr() string
func (*DposVoteQuery) GetPubkeys ¶
func (m *DposVoteQuery) GetPubkeys() []string
func (*DposVoteQuery) ProtoMessage ¶
func (*DposVoteQuery) ProtoMessage()
func (*DposVoteQuery) Reset ¶
func (m *DposVoteQuery) Reset()
func (*DposVoteQuery) String ¶
func (m *DposVoteQuery) String() string
func (*DposVoteQuery) XXX_DiscardUnknown ¶
func (m *DposVoteQuery) XXX_DiscardUnknown()
func (*DposVoteQuery) XXX_Marshal ¶
func (m *DposVoteQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DposVoteQuery) XXX_Merge ¶
func (m *DposVoteQuery) XXX_Merge(src proto.Message)
func (*DposVoteQuery) XXX_Size ¶
func (m *DposVoteQuery) XXX_Size() int
func (*DposVoteQuery) XXX_Unmarshal ¶
func (m *DposVoteQuery) XXX_Unmarshal(b []byte) error
type DposVoteReply ¶
type DposVoteReply struct { Votes []*JSONDposVoter `protobuf:"bytes,1,rep,name=votes,proto3" json:"votes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DposVoteReply 投票查询响应
func (*DposVoteReply) Descriptor ¶
func (*DposVoteReply) Descriptor() ([]byte, []int)
func (*DposVoteReply) GetVotes ¶
func (m *DposVoteReply) GetVotes() []*JSONDposVoter
func (*DposVoteReply) ProtoMessage ¶
func (*DposVoteReply) ProtoMessage()
func (*DposVoteReply) Reset ¶
func (m *DposVoteReply) Reset()
func (*DposVoteReply) String ¶
func (m *DposVoteReply) String() string
func (*DposVoteReply) XXX_DiscardUnknown ¶
func (m *DposVoteReply) XXX_DiscardUnknown()
func (*DposVoteReply) XXX_Marshal ¶
func (m *DposVoteReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DposVoteReply) XXX_Merge ¶
func (m *DposVoteReply) XXX_Merge(src proto.Message)
func (*DposVoteReply) XXX_Size ¶
func (m *DposVoteReply) XXX_Size() int
func (*DposVoteReply) XXX_Unmarshal ¶
func (m *DposVoteReply) XXX_Unmarshal(b []byte) error
type DposVoter ¶
type DposVoter struct { FromAddr string `protobuf:"bytes,1,opt,name=fromAddr,proto3" json:"fromAddr,omitempty"` Pubkey []byte `protobuf:"bytes,2,opt,name=pubkey,proto3" json:"pubkey,omitempty"` Votes int64 `protobuf:"varint,3,opt,name=votes,proto3" json:"votes,omitempty"` Index int64 `protobuf:"varint,4,opt,name=index,proto3" json:"index,omitempty"` Time int64 `protobuf:"varint,5,opt,name=time,proto3" json:"time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DposVoter 投票者信息
func (*DposVoter) Descriptor ¶
func (*DposVoter) GetFromAddr ¶
func (*DposVoter) ProtoMessage ¶
func (*DposVoter) ProtoMessage()
func (*DposVoter) XXX_DiscardUnknown ¶
func (m *DposVoter) XXX_DiscardUnknown()
func (*DposVoter) XXX_Marshal ¶
func (*DposVoter) XXX_Unmarshal ¶
type DposVoterRow ¶
type DposVoterRow struct {
*DposVoter
}
DposVoterRow table meta 结构
func (*DposVoterRow) Get ¶
func (tx *DposVoterRow) Get(key string) ([]byte, error)
Get 按照indexName 查询 indexValue
func (*DposVoterRow) SetPayload ¶
func (tx *DposVoterRow) SetPayload(data types.Message) error
SetPayload 设置数据
type DposVrfM ¶
type DposVrfM struct { Index int64 `protobuf:"varint,1,opt,name=Index,proto3" json:"Index,omitempty"` Pubkey []byte `protobuf:"bytes,2,opt,name=pubkey,proto3" json:"pubkey,omitempty"` Cycle int64 `protobuf:"varint,3,opt,name=cycle,proto3" json:"cycle,omitempty"` Height int64 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` M []byte `protobuf:"bytes,5,opt,name=m,proto3" json:"m,omitempty"` Time int64 `protobuf:"varint,6,opt,name=time,proto3" json:"time,omitempty"` CycleStart int64 `protobuf:"varint,7,opt,name=cycleStart,proto3" json:"cycleStart,omitempty"` CycleMiddle int64 `protobuf:"varint,8,opt,name=cycleMiddle,proto3" json:"cycleMiddle,omitempty"` CycleStop int64 `protobuf:"varint,9,opt,name=cycleStop,proto3" json:"cycleStop,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DposVrfM VrfM信息
func (*DposVrfM) Descriptor ¶
func (*DposVrfM) GetCycleMiddle ¶
func (*DposVrfM) GetCycleStart ¶
func (*DposVrfM) GetCycleStop ¶
func (*DposVrfM) ProtoMessage ¶
func (*DposVrfM) ProtoMessage()
func (*DposVrfM) XXX_DiscardUnknown ¶
func (m *DposVrfM) XXX_DiscardUnknown()
func (*DposVrfM) XXX_Marshal ¶
func (*DposVrfM) XXX_Unmarshal ¶
type DposVrfMRegist ¶
type DposVrfMRegist struct { Pubkey string `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"` Cycle int64 `protobuf:"varint,2,opt,name=cycle,proto3" json:"cycle,omitempty"` M string `protobuf:"bytes,3,opt,name=m,proto3" json:"m,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DposVrfMRegist VrfM注册请求
func (*DposVrfMRegist) Descriptor ¶
func (*DposVrfMRegist) Descriptor() ([]byte, []int)
func (*DposVrfMRegist) GetCycle ¶
func (m *DposVrfMRegist) GetCycle() int64
func (*DposVrfMRegist) GetM ¶
func (m *DposVrfMRegist) GetM() string
func (*DposVrfMRegist) GetPubkey ¶
func (m *DposVrfMRegist) GetPubkey() string
func (*DposVrfMRegist) ProtoMessage ¶
func (*DposVrfMRegist) ProtoMessage()
func (*DposVrfMRegist) Reset ¶
func (m *DposVrfMRegist) Reset()
func (*DposVrfMRegist) String ¶
func (m *DposVrfMRegist) String() string
func (*DposVrfMRegist) XXX_DiscardUnknown ¶
func (m *DposVrfMRegist) XXX_DiscardUnknown()
func (*DposVrfMRegist) XXX_Marshal ¶
func (m *DposVrfMRegist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DposVrfMRegist) XXX_Merge ¶
func (m *DposVrfMRegist) XXX_Merge(src proto.Message)
func (*DposVrfMRegist) XXX_Size ¶
func (m *DposVrfMRegist) XXX_Size() int
func (*DposVrfMRegist) XXX_Unmarshal ¶
func (m *DposVrfMRegist) XXX_Unmarshal(b []byte) error
type DposVrfMRow ¶
type DposVrfMRow struct {
*DposVrfM
}
DposVrfMRow table meta 结构
func (*DposVrfMRow) Get ¶
func (tx *DposVrfMRow) Get(key string) ([]byte, error)
Get 按照indexName 查询 indexValue
func (*DposVrfMRow) SetPayload ¶
func (tx *DposVrfMRow) SetPayload(data types.Message) error
SetPayload 设置数据
type DposVrfQuery ¶
type DposVrfQuery struct { Pubkeys []string `protobuf:"bytes,1,rep,name=pubkeys,proto3" json:"pubkeys,omitempty"` Ty int64 `protobuf:"varint,2,opt,name=ty,proto3" json:"ty,omitempty"` Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Cycle int64 `protobuf:"varint,4,opt,name=cycle,proto3" json:"cycle,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DposVrfQuery vrf查询请求
func (*DposVrfQuery) Descriptor ¶
func (*DposVrfQuery) Descriptor() ([]byte, []int)
func (*DposVrfQuery) GetCycle ¶
func (m *DposVrfQuery) GetCycle() int64
func (*DposVrfQuery) GetPubkeys ¶
func (m *DposVrfQuery) GetPubkeys() []string
func (*DposVrfQuery) GetTimestamp ¶
func (m *DposVrfQuery) GetTimestamp() int64
func (*DposVrfQuery) GetTy ¶
func (m *DposVrfQuery) GetTy() int64
func (*DposVrfQuery) ProtoMessage ¶
func (*DposVrfQuery) ProtoMessage()
func (*DposVrfQuery) Reset ¶
func (m *DposVrfQuery) Reset()
func (*DposVrfQuery) String ¶
func (m *DposVrfQuery) String() string
func (*DposVrfQuery) XXX_DiscardUnknown ¶
func (m *DposVrfQuery) XXX_DiscardUnknown()
func (*DposVrfQuery) XXX_Marshal ¶
func (m *DposVrfQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DposVrfQuery) XXX_Merge ¶
func (m *DposVrfQuery) XXX_Merge(src proto.Message)
func (*DposVrfQuery) XXX_Size ¶
func (m *DposVrfQuery) XXX_Size() int
func (*DposVrfQuery) XXX_Unmarshal ¶
func (m *DposVrfQuery) XXX_Unmarshal(b []byte) error
type DposVrfRP ¶
type DposVrfRP struct { Index int64 `protobuf:"varint,1,opt,name=Index,proto3" json:"Index,omitempty"` Pubkey []byte `protobuf:"bytes,2,opt,name=pubkey,proto3" json:"pubkey,omitempty"` Cycle int64 `protobuf:"varint,3,opt,name=cycle,proto3" json:"cycle,omitempty"` Height int64 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` M []byte `protobuf:"bytes,5,opt,name=m,proto3" json:"m,omitempty"` R []byte `protobuf:"bytes,6,opt,name=r,proto3" json:"r,omitempty"` P []byte `protobuf:"bytes,7,opt,name=p,proto3" json:"p,omitempty"` Time int64 `protobuf:"varint,8,opt,name=time,proto3" json:"time,omitempty"` CycleStart int64 `protobuf:"varint,9,opt,name=cycleStart,proto3" json:"cycleStart,omitempty"` CycleMiddle int64 `protobuf:"varint,10,opt,name=cycleMiddle,proto3" json:"cycleMiddle,omitempty"` CycleStop int64 `protobuf:"varint,11,opt,name=cycleStop,proto3" json:"cycleStop,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DposVrfRP VrfRP信息
func (*DposVrfRP) Descriptor ¶
func (*DposVrfRP) GetCycleMiddle ¶
func (*DposVrfRP) GetCycleStart ¶
func (*DposVrfRP) GetCycleStop ¶
func (*DposVrfRP) ProtoMessage ¶
func (*DposVrfRP) ProtoMessage()
func (*DposVrfRP) XXX_DiscardUnknown ¶
func (m *DposVrfRP) XXX_DiscardUnknown()
func (*DposVrfRP) XXX_Marshal ¶
func (*DposVrfRP) XXX_Unmarshal ¶
type DposVrfRPRegist ¶
type DposVrfRPRegist struct { Pubkey string `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"` Cycle int64 `protobuf:"varint,2,opt,name=cycle,proto3" json:"cycle,omitempty"` R string `protobuf:"bytes,3,opt,name=r,proto3" json:"r,omitempty"` P string `protobuf:"bytes,4,opt,name=p,proto3" json:"p,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DposVrfRPRegist VrfRP注册请求
func (*DposVrfRPRegist) Descriptor ¶
func (*DposVrfRPRegist) Descriptor() ([]byte, []int)
func (*DposVrfRPRegist) GetCycle ¶
func (m *DposVrfRPRegist) GetCycle() int64
func (*DposVrfRPRegist) GetP ¶
func (m *DposVrfRPRegist) GetP() string
func (*DposVrfRPRegist) GetPubkey ¶
func (m *DposVrfRPRegist) GetPubkey() string
func (*DposVrfRPRegist) GetR ¶
func (m *DposVrfRPRegist) GetR() string
func (*DposVrfRPRegist) ProtoMessage ¶
func (*DposVrfRPRegist) ProtoMessage()
func (*DposVrfRPRegist) Reset ¶
func (m *DposVrfRPRegist) Reset()
func (*DposVrfRPRegist) String ¶
func (m *DposVrfRPRegist) String() string
func (*DposVrfRPRegist) XXX_DiscardUnknown ¶
func (m *DposVrfRPRegist) XXX_DiscardUnknown()
func (*DposVrfRPRegist) XXX_Marshal ¶
func (m *DposVrfRPRegist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DposVrfRPRegist) XXX_Merge ¶
func (m *DposVrfRPRegist) XXX_Merge(src proto.Message)
func (*DposVrfRPRegist) XXX_Size ¶
func (m *DposVrfRPRegist) XXX_Size() int
func (*DposVrfRPRegist) XXX_Unmarshal ¶
func (m *DposVrfRPRegist) XXX_Unmarshal(b []byte) error
type DposVrfRPRow ¶
type DposVrfRPRow struct {
*DposVrfRP
}
DposVrfRPRow table meta 结构
func (*DposVrfRPRow) Get ¶
func (tx *DposVrfRPRow) Get(key string) ([]byte, error)
Get 按照indexName 查询 indexValue
func (*DposVrfRPRow) SetPayload ¶
func (tx *DposVrfRPRow) SetPayload(data types.Message) error
SetPayload 设置数据
type DposVrfReply ¶
type DposVrfReply struct { Vrf []*JSONVrfInfo `protobuf:"bytes,1,rep,name=vrf,proto3" json:"vrf,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DposVrfReply vrf查询响应
func (*DposVrfReply) Descriptor ¶
func (*DposVrfReply) Descriptor() ([]byte, []int)
func (*DposVrfReply) GetVrf ¶
func (m *DposVrfReply) GetVrf() []*JSONVrfInfo
func (*DposVrfReply) ProtoMessage ¶
func (*DposVrfReply) ProtoMessage()
func (*DposVrfReply) Reset ¶
func (m *DposVrfReply) Reset()
func (*DposVrfReply) String ¶
func (m *DposVrfReply) String() string
func (*DposVrfReply) XXX_DiscardUnknown ¶
func (m *DposVrfReply) XXX_DiscardUnknown()
func (*DposVrfReply) XXX_Marshal ¶
func (m *DposVrfReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DposVrfReply) XXX_Merge ¶
func (m *DposVrfReply) XXX_Merge(src proto.Message)
func (*DposVrfReply) XXX_Size ¶
func (m *DposVrfReply) XXX_Size() int
func (*DposVrfReply) XXX_Unmarshal ¶
func (m *DposVrfReply) XXX_Unmarshal(b []byte) error
type JSONCandidator ¶
type JSONCandidator struct { Pubkey string `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` IP string `protobuf:"bytes,3,opt,name=IP,proto3" json:"IP,omitempty"` Votes int64 `protobuf:"varint,4,opt,name=votes,proto3" json:"votes,omitempty"` Status int64 `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
JSONCandidator 候选节点Json格式信息
func (*JSONCandidator) Descriptor ¶
func (*JSONCandidator) Descriptor() ([]byte, []int)
func (*JSONCandidator) GetAddress ¶
func (m *JSONCandidator) GetAddress() string
func (*JSONCandidator) GetIP ¶
func (m *JSONCandidator) GetIP() string
func (*JSONCandidator) GetPubkey ¶
func (m *JSONCandidator) GetPubkey() string
func (*JSONCandidator) GetStatus ¶
func (m *JSONCandidator) GetStatus() int64
func (*JSONCandidator) GetVotes ¶
func (m *JSONCandidator) GetVotes() int64
func (*JSONCandidator) ProtoMessage ¶
func (*JSONCandidator) ProtoMessage()
func (*JSONCandidator) Reset ¶
func (m *JSONCandidator) Reset()
func (*JSONCandidator) String ¶
func (m *JSONCandidator) String() string
func (*JSONCandidator) XXX_DiscardUnknown ¶
func (m *JSONCandidator) XXX_DiscardUnknown()
func (*JSONCandidator) XXX_Marshal ¶
func (m *JSONCandidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*JSONCandidator) XXX_Merge ¶
func (m *JSONCandidator) XXX_Merge(src proto.Message)
func (*JSONCandidator) XXX_Size ¶
func (m *JSONCandidator) XXX_Size() int
func (*JSONCandidator) XXX_Unmarshal ¶
func (m *JSONCandidator) XXX_Unmarshal(b []byte) error
type JSONDposVoter ¶
type JSONDposVoter struct { FromAddr string `protobuf:"bytes,1,opt,name=fromAddr,proto3" json:"fromAddr,omitempty"` Pubkey string `protobuf:"bytes,2,opt,name=pubkey,proto3" json:"pubkey,omitempty"` Votes int64 `protobuf:"varint,3,opt,name=votes,proto3" json:"votes,omitempty"` Index int64 `protobuf:"varint,4,opt,name=index,proto3" json:"index,omitempty"` Time int64 `protobuf:"varint,5,opt,name=time,proto3" json:"time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
JSONDposVoter Json格式的投票者信息
func (*JSONDposVoter) Descriptor ¶
func (*JSONDposVoter) Descriptor() ([]byte, []int)
func (*JSONDposVoter) GetFromAddr ¶
func (m *JSONDposVoter) GetFromAddr() string
func (*JSONDposVoter) GetIndex ¶
func (m *JSONDposVoter) GetIndex() int64
func (*JSONDposVoter) GetPubkey ¶
func (m *JSONDposVoter) GetPubkey() string
func (*JSONDposVoter) GetTime ¶
func (m *JSONDposVoter) GetTime() int64
func (*JSONDposVoter) GetVotes ¶
func (m *JSONDposVoter) GetVotes() int64
func (*JSONDposVoter) ProtoMessage ¶
func (*JSONDposVoter) ProtoMessage()
func (*JSONDposVoter) Reset ¶
func (m *JSONDposVoter) Reset()
func (*JSONDposVoter) String ¶
func (m *JSONDposVoter) String() string
func (*JSONDposVoter) XXX_DiscardUnknown ¶
func (m *JSONDposVoter) XXX_DiscardUnknown()
func (*JSONDposVoter) XXX_Marshal ¶
func (m *JSONDposVoter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*JSONDposVoter) XXX_Merge ¶
func (m *JSONDposVoter) XXX_Merge(src proto.Message)
func (*JSONDposVoter) XXX_Size ¶
func (m *JSONDposVoter) XXX_Size() int
func (*JSONDposVoter) XXX_Unmarshal ¶
func (m *JSONDposVoter) XXX_Unmarshal(b []byte) error
type JSONVrfInfo ¶
type JSONVrfInfo struct { Index int64 `protobuf:"varint,1,opt,name=Index,proto3" json:"Index,omitempty"` Pubkey string `protobuf:"bytes,2,opt,name=pubkey,proto3" json:"pubkey,omitempty"` Cycle int64 `protobuf:"varint,4,opt,name=cycle,proto3" json:"cycle,omitempty"` Height int64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"` M string `protobuf:"bytes,6,opt,name=m,proto3" json:"m,omitempty"` R string `protobuf:"bytes,7,opt,name=r,proto3" json:"r,omitempty"` P string `protobuf:"bytes,8,opt,name=p,proto3" json:"p,omitempty"` Time int64 `protobuf:"varint,9,opt,name=time,proto3" json:"time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
JSONVrfInfo json格式的vrf信息
func (*JSONVrfInfo) Descriptor ¶
func (*JSONVrfInfo) Descriptor() ([]byte, []int)
func (*JSONVrfInfo) GetCycle ¶
func (m *JSONVrfInfo) GetCycle() int64
func (*JSONVrfInfo) GetHeight ¶
func (m *JSONVrfInfo) GetHeight() int64
func (*JSONVrfInfo) GetIndex ¶
func (m *JSONVrfInfo) GetIndex() int64
func (*JSONVrfInfo) GetM ¶
func (m *JSONVrfInfo) GetM() string
func (*JSONVrfInfo) GetP ¶
func (m *JSONVrfInfo) GetP() string
func (*JSONVrfInfo) GetPubkey ¶
func (m *JSONVrfInfo) GetPubkey() string
func (*JSONVrfInfo) GetR ¶
func (m *JSONVrfInfo) GetR() string
func (*JSONVrfInfo) GetTime ¶
func (m *JSONVrfInfo) GetTime() int64
func (*JSONVrfInfo) ProtoMessage ¶
func (*JSONVrfInfo) ProtoMessage()
func (*JSONVrfInfo) Reset ¶
func (m *JSONVrfInfo) Reset()
func (*JSONVrfInfo) String ¶
func (m *JSONVrfInfo) String() string
func (*JSONVrfInfo) XXX_DiscardUnknown ¶
func (m *JSONVrfInfo) XXX_DiscardUnknown()
func (*JSONVrfInfo) XXX_Marshal ¶
func (m *JSONVrfInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*JSONVrfInfo) XXX_Merge ¶
func (m *JSONVrfInfo) XXX_Merge(src proto.Message)
func (*JSONVrfInfo) XXX_Size ¶
func (m *JSONVrfInfo) XXX_Size() int
func (*JSONVrfInfo) XXX_Unmarshal ¶
func (m *JSONVrfInfo) XXX_Unmarshal(b []byte) error
type OnceCandidator ¶
type OnceCandidator struct { Pubkey []byte `json:"pubkey,omitempty"` Address string `json:"address,omitempty"` IP string `json:"ip,omitempty"` }
OnceCandidator ...
type ReceiptCB ¶
type ReceiptCB struct { Index int64 `protobuf:"varint,1,opt,name=Index,proto3" json:"Index,omitempty"` Pubkey []byte `protobuf:"bytes,2,opt,name=pubkey,proto3" json:"pubkey,omitempty"` Status int64 `protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty"` Cycle int64 `protobuf:"varint,4,opt,name=cycle,proto3" json:"cycle,omitempty"` Height int64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"` Time int64 `protobuf:"varint,6,opt,name=time,proto3" json:"time,omitempty"` CycleStart int64 `protobuf:"varint,7,opt,name=cycleStart,proto3" json:"cycleStart,omitempty"` CycleMiddle int64 `protobuf:"varint,8,opt,name=cycleMiddle,proto3" json:"cycleMiddle,omitempty"` CycleStop int64 `protobuf:"varint,9,opt,name=cycleStop,proto3" json:"cycleStop,omitempty"` CbInfo *DposCycleBoundaryInfo `protobuf:"bytes,10,opt,name=cbInfo,proto3" json:"cbInfo,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ReceiptCB CycleBoundary收据信息
func (*ReceiptCB) Descriptor ¶
func (*ReceiptCB) GetCbInfo ¶
func (m *ReceiptCB) GetCbInfo() *DposCycleBoundaryInfo
func (*ReceiptCB) GetCycleMiddle ¶
func (*ReceiptCB) GetCycleStart ¶
func (*ReceiptCB) GetCycleStop ¶
func (*ReceiptCB) ProtoMessage ¶
func (*ReceiptCB) ProtoMessage()
func (*ReceiptCB) XXX_DiscardUnknown ¶
func (m *ReceiptCB) XXX_DiscardUnknown()
func (*ReceiptCB) XXX_Marshal ¶
func (*ReceiptCB) XXX_Unmarshal ¶
type ReceiptCandicator ¶
type ReceiptCandicator struct { Index int64 `protobuf:"varint,1,opt,name=Index,proto3" json:"Index,omitempty"` Pubkey []byte `protobuf:"bytes,2,opt,name=pubkey,proto3" json:"pubkey,omitempty"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` Status int64 `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"` PreStatus int64 `protobuf:"varint,5,opt,name=preStatus,proto3" json:"preStatus,omitempty"` StatusChange bool `protobuf:"varint,6,opt,name=statusChange,proto3" json:"statusChange,omitempty"` VoteType int32 `protobuf:"varint,7,opt,name=voteType,proto3" json:"voteType,omitempty"` Vote *DposVoter `protobuf:"bytes,8,opt,name=vote,proto3" json:"vote,omitempty"` FromAddr string `protobuf:"bytes,9,opt,name=fromAddr,proto3" json:"fromAddr,omitempty"` CandInfo *CandidatorInfo `protobuf:"bytes,10,opt,name=candInfo,proto3" json:"candInfo,omitempty"` Time int64 `protobuf:"varint,11,opt,name=time,proto3" json:"time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ReceiptCandicator 候选者收据信息
func (*ReceiptCandicator) Descriptor ¶
func (*ReceiptCandicator) Descriptor() ([]byte, []int)
func (*ReceiptCandicator) GetAddress ¶
func (m *ReceiptCandicator) GetAddress() string
func (*ReceiptCandicator) GetCandInfo ¶
func (m *ReceiptCandicator) GetCandInfo() *CandidatorInfo
func (*ReceiptCandicator) GetFromAddr ¶
func (m *ReceiptCandicator) GetFromAddr() string
func (*ReceiptCandicator) GetIndex ¶
func (m *ReceiptCandicator) GetIndex() int64
func (*ReceiptCandicator) GetPreStatus ¶
func (m *ReceiptCandicator) GetPreStatus() int64
func (*ReceiptCandicator) GetPubkey ¶
func (m *ReceiptCandicator) GetPubkey() []byte
func (*ReceiptCandicator) GetStatus ¶
func (m *ReceiptCandicator) GetStatus() int64
func (*ReceiptCandicator) GetStatusChange ¶
func (m *ReceiptCandicator) GetStatusChange() bool
func (*ReceiptCandicator) GetTime ¶
func (m *ReceiptCandicator) GetTime() int64
func (*ReceiptCandicator) GetVote ¶
func (m *ReceiptCandicator) GetVote() *DposVoter
func (*ReceiptCandicator) GetVoteType ¶
func (m *ReceiptCandicator) GetVoteType() int32
func (*ReceiptCandicator) ProtoMessage ¶
func (*ReceiptCandicator) ProtoMessage()
func (*ReceiptCandicator) Reset ¶
func (m *ReceiptCandicator) Reset()
func (*ReceiptCandicator) String ¶
func (m *ReceiptCandicator) String() string
func (*ReceiptCandicator) XXX_DiscardUnknown ¶
func (m *ReceiptCandicator) XXX_DiscardUnknown()
func (*ReceiptCandicator) XXX_Marshal ¶
func (m *ReceiptCandicator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReceiptCandicator) XXX_Merge ¶
func (m *ReceiptCandicator) XXX_Merge(src proto.Message)
func (*ReceiptCandicator) XXX_Size ¶
func (m *ReceiptCandicator) XXX_Size() int
func (*ReceiptCandicator) XXX_Unmarshal ¶
func (m *ReceiptCandicator) XXX_Unmarshal(b []byte) error
type ReceiptTopN ¶
type ReceiptTopN struct { Index int64 `protobuf:"varint,1,opt,name=Index,proto3" json:"Index,omitempty"` Pubkey []byte `protobuf:"bytes,2,opt,name=pubkey,proto3" json:"pubkey,omitempty"` Status int64 `protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty"` Version int64 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"` Height int64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"` Time int64 `protobuf:"varint,6,opt,name=time,proto3" json:"time,omitempty"` TopN *TopNCandidator `protobuf:"bytes,10,opt,name=topN,proto3" json:"topN,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ReceiptTopN topN注册的收据信息
func (*ReceiptTopN) Descriptor ¶
func (*ReceiptTopN) Descriptor() ([]byte, []int)
func (*ReceiptTopN) GetHeight ¶
func (m *ReceiptTopN) GetHeight() int64
func (*ReceiptTopN) GetIndex ¶
func (m *ReceiptTopN) GetIndex() int64
func (*ReceiptTopN) GetPubkey ¶
func (m *ReceiptTopN) GetPubkey() []byte
func (*ReceiptTopN) GetStatus ¶
func (m *ReceiptTopN) GetStatus() int64
func (*ReceiptTopN) GetTime ¶
func (m *ReceiptTopN) GetTime() int64
func (*ReceiptTopN) GetTopN ¶
func (m *ReceiptTopN) GetTopN() *TopNCandidator
func (*ReceiptTopN) GetVersion ¶
func (m *ReceiptTopN) GetVersion() int64
func (*ReceiptTopN) ProtoMessage ¶
func (*ReceiptTopN) ProtoMessage()
func (*ReceiptTopN) Reset ¶
func (m *ReceiptTopN) Reset()
func (*ReceiptTopN) String ¶
func (m *ReceiptTopN) String() string
func (*ReceiptTopN) XXX_DiscardUnknown ¶
func (m *ReceiptTopN) XXX_DiscardUnknown()
func (*ReceiptTopN) XXX_Marshal ¶
func (m *ReceiptTopN) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReceiptTopN) XXX_Merge ¶
func (m *ReceiptTopN) XXX_Merge(src proto.Message)
func (*ReceiptTopN) XXX_Size ¶
func (m *ReceiptTopN) XXX_Size() int
func (*ReceiptTopN) XXX_Unmarshal ¶
func (m *ReceiptTopN) XXX_Unmarshal(b []byte) error
type ReceiptVrf ¶
type ReceiptVrf struct { Index int64 `protobuf:"varint,1,opt,name=Index,proto3" json:"Index,omitempty"` Pubkey []byte `protobuf:"bytes,2,opt,name=pubkey,proto3" json:"pubkey,omitempty"` Status int64 `protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty"` Cycle int64 `protobuf:"varint,4,opt,name=cycle,proto3" json:"cycle,omitempty"` Height int64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"` M []byte `protobuf:"bytes,6,opt,name=m,proto3" json:"m,omitempty"` R []byte `protobuf:"bytes,7,opt,name=r,proto3" json:"r,omitempty"` P []byte `protobuf:"bytes,8,opt,name=p,proto3" json:"p,omitempty"` Time int64 `protobuf:"varint,9,opt,name=time,proto3" json:"time,omitempty"` CycleStart int64 `protobuf:"varint,10,opt,name=cycleStart,proto3" json:"cycleStart,omitempty"` CycleMiddle int64 `protobuf:"varint,11,opt,name=cycleMiddle,proto3" json:"cycleMiddle,omitempty"` CycleStop int64 `protobuf:"varint,12,opt,name=cycleStop,proto3" json:"cycleStop,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ReceiptVrf vrf收据信息
func (*ReceiptVrf) Descriptor ¶
func (*ReceiptVrf) Descriptor() ([]byte, []int)
func (*ReceiptVrf) GetCycle ¶
func (m *ReceiptVrf) GetCycle() int64
func (*ReceiptVrf) GetCycleMiddle ¶
func (m *ReceiptVrf) GetCycleMiddle() int64
func (*ReceiptVrf) GetCycleStart ¶
func (m *ReceiptVrf) GetCycleStart() int64
func (*ReceiptVrf) GetCycleStop ¶
func (m *ReceiptVrf) GetCycleStop() int64
func (*ReceiptVrf) GetHeight ¶
func (m *ReceiptVrf) GetHeight() int64
func (*ReceiptVrf) GetIndex ¶
func (m *ReceiptVrf) GetIndex() int64
func (*ReceiptVrf) GetM ¶
func (m *ReceiptVrf) GetM() []byte
func (*ReceiptVrf) GetP ¶
func (m *ReceiptVrf) GetP() []byte
func (*ReceiptVrf) GetPubkey ¶
func (m *ReceiptVrf) GetPubkey() []byte
func (*ReceiptVrf) GetR ¶
func (m *ReceiptVrf) GetR() []byte
func (*ReceiptVrf) GetStatus ¶
func (m *ReceiptVrf) GetStatus() int64
func (*ReceiptVrf) GetTime ¶
func (m *ReceiptVrf) GetTime() int64
func (*ReceiptVrf) ProtoMessage ¶
func (*ReceiptVrf) ProtoMessage()
func (*ReceiptVrf) Reset ¶
func (m *ReceiptVrf) Reset()
func (*ReceiptVrf) String ¶
func (m *ReceiptVrf) String() string
func (*ReceiptVrf) XXX_DiscardUnknown ¶
func (m *ReceiptVrf) XXX_DiscardUnknown()
func (*ReceiptVrf) XXX_Marshal ¶
func (m *ReceiptVrf) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReceiptVrf) XXX_Merge ¶
func (m *ReceiptVrf) XXX_Merge(src proto.Message)
func (*ReceiptVrf) XXX_Size ¶
func (m *ReceiptVrf) XXX_Size() int
func (*ReceiptVrf) XXX_Unmarshal ¶
func (m *ReceiptVrf) XXX_Unmarshal(b []byte) error
type TopNCandidator ¶
type TopNCandidator struct { Cands []*Candidator `protobuf:"bytes,1,rep,name=cands,proto3" json:"cands,omitempty"` Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` Height int64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` SignerPubkey []byte `protobuf:"bytes,4,opt,name=signerPubkey,proto3" json:"signerPubkey,omitempty"` Signature []byte `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
TopNCandidator topN候选者
func (*TopNCandidator) Descriptor ¶
func (*TopNCandidator) Descriptor() ([]byte, []int)
func (*TopNCandidator) GetCands ¶
func (m *TopNCandidator) GetCands() []*Candidator
func (*TopNCandidator) GetHash ¶
func (m *TopNCandidator) GetHash() []byte
func (*TopNCandidator) GetHeight ¶
func (m *TopNCandidator) GetHeight() int64
func (*TopNCandidator) GetSignature ¶
func (m *TopNCandidator) GetSignature() []byte
func (*TopNCandidator) GetSignerPubkey ¶
func (m *TopNCandidator) GetSignerPubkey() []byte
func (*TopNCandidator) ProtoMessage ¶
func (*TopNCandidator) ProtoMessage()
func (*TopNCandidator) Reset ¶
func (m *TopNCandidator) Reset()
func (*TopNCandidator) String ¶
func (m *TopNCandidator) String() string
func (*TopNCandidator) XXX_DiscardUnknown ¶
func (m *TopNCandidator) XXX_DiscardUnknown()
func (*TopNCandidator) XXX_Marshal ¶
func (m *TopNCandidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TopNCandidator) XXX_Merge ¶
func (m *TopNCandidator) XXX_Merge(src proto.Message)
func (*TopNCandidator) XXX_Size ¶
func (m *TopNCandidator) XXX_Size() int
func (*TopNCandidator) XXX_Unmarshal ¶
func (m *TopNCandidator) XXX_Unmarshal(b []byte) error
type TopNCandidatorRegist ¶
type TopNCandidatorRegist struct { Cand *TopNCandidator `protobuf:"bytes,1,opt,name=cand,proto3" json:"cand,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
TopNCandidatorRegist topN候选者注册请求
func (*TopNCandidatorRegist) Descriptor ¶
func (*TopNCandidatorRegist) Descriptor() ([]byte, []int)
func (*TopNCandidatorRegist) GetCand ¶
func (m *TopNCandidatorRegist) GetCand() *TopNCandidator
func (*TopNCandidatorRegist) ProtoMessage ¶
func (*TopNCandidatorRegist) ProtoMessage()
func (*TopNCandidatorRegist) Reset ¶
func (m *TopNCandidatorRegist) Reset()
func (*TopNCandidatorRegist) String ¶
func (m *TopNCandidatorRegist) String() string
func (*TopNCandidatorRegist) XXX_DiscardUnknown ¶
func (m *TopNCandidatorRegist) XXX_DiscardUnknown()
func (*TopNCandidatorRegist) XXX_Marshal ¶
func (m *TopNCandidatorRegist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TopNCandidatorRegist) XXX_Merge ¶
func (m *TopNCandidatorRegist) XXX_Merge(src proto.Message)
func (*TopNCandidatorRegist) XXX_Size ¶
func (m *TopNCandidatorRegist) XXX_Size() int
func (*TopNCandidatorRegist) XXX_Unmarshal ¶
func (m *TopNCandidatorRegist) XXX_Unmarshal(b []byte) error
type TopNCandidators ¶
type TopNCandidators struct { CandsVotes []*TopNCandidator `protobuf:"bytes,1,rep,name=candsVotes,proto3" json:"candsVotes,omitempty"` Version int64 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` Status int64 `protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty"` FinalCands []*Candidator `protobuf:"bytes,4,rep,name=finalCands,proto3" json:"finalCands,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
TopNCandidators topN候选者(复数)
func (*TopNCandidators) CheckVoteStauts ¶
func (topNs *TopNCandidators) CheckVoteStauts(delegateNum int64)
CheckVoteStauts ...
func (*TopNCandidators) Descriptor ¶
func (*TopNCandidators) Descriptor() ([]byte, []int)
func (*TopNCandidators) GetCandsVotes ¶
func (m *TopNCandidators) GetCandsVotes() []*TopNCandidator
func (*TopNCandidators) GetFinalCands ¶
func (m *TopNCandidators) GetFinalCands() []*Candidator
func (*TopNCandidators) GetStatus ¶
func (m *TopNCandidators) GetStatus() int64
func (*TopNCandidators) GetVersion ¶
func (m *TopNCandidators) GetVersion() int64
func (*TopNCandidators) ProtoMessage ¶
func (*TopNCandidators) ProtoMessage()
func (*TopNCandidators) Reset ¶
func (m *TopNCandidators) Reset()
func (*TopNCandidators) String ¶
func (m *TopNCandidators) String() string
func (*TopNCandidators) XXX_DiscardUnknown ¶
func (m *TopNCandidators) XXX_DiscardUnknown()
func (*TopNCandidators) XXX_Marshal ¶
func (m *TopNCandidators) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TopNCandidators) XXX_Merge ¶
func (m *TopNCandidators) XXX_Merge(src proto.Message)
func (*TopNCandidators) XXX_Size ¶
func (m *TopNCandidators) XXX_Size() int
func (*TopNCandidators) XXX_Unmarshal ¶
func (m *TopNCandidators) XXX_Unmarshal(b []byte) error
type TopNCandidatorsQuery ¶
type TopNCandidatorsQuery struct { Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
TopNCandidatorsQuery topN候选者查询请求
func (*TopNCandidatorsQuery) Descriptor ¶
func (*TopNCandidatorsQuery) Descriptor() ([]byte, []int)
func (*TopNCandidatorsQuery) GetVersion ¶
func (m *TopNCandidatorsQuery) GetVersion() int64
func (*TopNCandidatorsQuery) ProtoMessage ¶
func (*TopNCandidatorsQuery) ProtoMessage()
func (*TopNCandidatorsQuery) Reset ¶
func (m *TopNCandidatorsQuery) Reset()
func (*TopNCandidatorsQuery) String ¶
func (m *TopNCandidatorsQuery) String() string
func (*TopNCandidatorsQuery) XXX_DiscardUnknown ¶
func (m *TopNCandidatorsQuery) XXX_DiscardUnknown()
func (*TopNCandidatorsQuery) XXX_Marshal ¶
func (m *TopNCandidatorsQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TopNCandidatorsQuery) XXX_Merge ¶
func (m *TopNCandidatorsQuery) XXX_Merge(src proto.Message)
func (*TopNCandidatorsQuery) XXX_Size ¶
func (m *TopNCandidatorsQuery) XXX_Size() int
func (*TopNCandidatorsQuery) XXX_Unmarshal ¶
func (m *TopNCandidatorsQuery) XXX_Unmarshal(b []byte) error
type TopNCandidatorsReply ¶
type TopNCandidatorsReply struct { TopN *TopNCandidators `protobuf:"bytes,1,opt,name=topN,proto3" json:"topN,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
TopNCandidatorsReply topN候选者查询响应
func (*TopNCandidatorsReply) Descriptor ¶
func (*TopNCandidatorsReply) Descriptor() ([]byte, []int)
func (*TopNCandidatorsReply) GetTopN ¶
func (m *TopNCandidatorsReply) GetTopN() *TopNCandidators
func (*TopNCandidatorsReply) ProtoMessage ¶
func (*TopNCandidatorsReply) ProtoMessage()
func (*TopNCandidatorsReply) Reset ¶
func (m *TopNCandidatorsReply) Reset()
func (*TopNCandidatorsReply) String ¶
func (m *TopNCandidatorsReply) String() string
func (*TopNCandidatorsReply) XXX_DiscardUnknown ¶
func (m *TopNCandidatorsReply) XXX_DiscardUnknown()
func (*TopNCandidatorsReply) XXX_Marshal ¶
func (m *TopNCandidatorsReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TopNCandidatorsReply) XXX_Merge ¶
func (m *TopNCandidatorsReply) XXX_Merge(src proto.Message)
func (*TopNCandidatorsReply) XXX_Size ¶
func (m *TopNCandidatorsReply) XXX_Size() int
func (*TopNCandidatorsReply) XXX_Unmarshal ¶
func (m *TopNCandidatorsReply) XXX_Unmarshal(b []byte) error
type VrfInfo ¶
type VrfInfo struct { Index int64 `protobuf:"varint,1,opt,name=Index,proto3" json:"Index,omitempty"` Pubkey []byte `protobuf:"bytes,2,opt,name=pubkey,proto3" json:"pubkey,omitempty"` Cycle int64 `protobuf:"varint,4,opt,name=cycle,proto3" json:"cycle,omitempty"` Height int64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"` M []byte `protobuf:"bytes,6,opt,name=m,proto3" json:"m,omitempty"` R []byte `protobuf:"bytes,7,opt,name=r,proto3" json:"r,omitempty"` P []byte `protobuf:"bytes,8,opt,name=p,proto3" json:"p,omitempty"` Time int64 `protobuf:"varint,9,opt,name=time,proto3" json:"time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
VrfInfo vrf信息
func (*VrfInfo) Descriptor ¶
func (*VrfInfo) ProtoMessage ¶
func (*VrfInfo) ProtoMessage()
func (*VrfInfo) XXX_DiscardUnknown ¶
func (m *VrfInfo) XXX_DiscardUnknown()