Documentation ¶
Overview ¶
Package consensuspb is a generated protocol buffer package.
It is generated from these files:
state.proto
It has these top-level messages:
ConsensusRoot
Index ¶
- type ConsensusRoot
- func (*ConsensusRoot) Descriptor() ([]byte, []int)
- func (m *ConsensusRoot) GetDynastyRoot() []byte
- func (m *ConsensusRoot) GetProposer() []byte
- func (m *ConsensusRoot) GetTimestamp() int64
- func (*ConsensusRoot) ProtoMessage()
- func (m *ConsensusRoot) Reset()
- func (m *ConsensusRoot) String() string
- func (m *ConsensusRoot) ToString() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsensusRoot ¶
type ConsensusRoot struct { Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Proposer []byte `protobuf:"bytes,2,opt,name=proposer,proto3" json:"proposer,omitempty"` DynastyRoot []byte `protobuf:"bytes,3,opt,name=dynasty_root,json=dynastyRoot,proto3" json:"dynasty_root,omitempty"` }
func (*ConsensusRoot) Descriptor ¶
func (*ConsensusRoot) Descriptor() ([]byte, []int)
func (*ConsensusRoot) GetDynastyRoot ¶
func (m *ConsensusRoot) GetDynastyRoot() []byte
func (*ConsensusRoot) GetProposer ¶
func (m *ConsensusRoot) GetProposer() []byte
func (*ConsensusRoot) GetTimestamp ¶
func (m *ConsensusRoot) GetTimestamp() int64
func (*ConsensusRoot) ProtoMessage ¶
func (*ConsensusRoot) ProtoMessage()
func (*ConsensusRoot) Reset ¶
func (m *ConsensusRoot) Reset()
func (*ConsensusRoot) String ¶
func (m *ConsensusRoot) String() string
func (*ConsensusRoot) ToString ¶
func (m *ConsensusRoot) ToString() string
ToString return a string of consensus root
Click to show internal directories.
Click to hide internal directories.