Documentation ¶
Index ¶
- Variables
- type Consensus
- func (*Consensus) Descriptor() ([]byte, []int)
- func (this *Consensus) Equal(that interface{}) bool
- func (m *Consensus) GetApp() uint64
- func (m *Consensus) GetBlock() uint64
- func (m *Consensus) Marshal() (dAtA []byte, err error)
- func (m *Consensus) MarshalTo(dAtA []byte) (int, error)
- func (m *Consensus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Consensus) ProtoMessage()
- func (m *Consensus) Reset()
- func (m *Consensus) Size() (n int)
- func (m *Consensus) String() string
- func (m *Consensus) Unmarshal(dAtA []byte) error
- func (m *Consensus) XXX_DiscardUnknown()
- func (m *Consensus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Consensus) XXX_Merge(src proto.Message)
- func (m *Consensus) XXX_Size() int
- func (m *Consensus) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Consensus ¶
type Consensus struct { Block uint64 `protobuf:"varint,1,opt,name=block,proto3" json:"block,omitempty"` App uint64 `protobuf:"varint,2,opt,name=app,proto3" json:"app,omitempty"` }
Consensus captures the consensus rules for processing a block in the blockchain, including all blockchain data structures and the rules of the application's state transition machine.
func (*Consensus) Descriptor ¶
func (*Consensus) MarshalToSizedBuffer ¶
func (*Consensus) ProtoMessage ¶
func (*Consensus) ProtoMessage()
func (*Consensus) XXX_DiscardUnknown ¶
func (m *Consensus) XXX_DiscardUnknown()
func (*Consensus) XXX_Marshal ¶
func (*Consensus) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.