Documentation ¶
Index ¶
- Variables
- type Block
- func (*Block) Descriptor() ([]byte, []int)
- func (m *Block) GetData() types.Data
- func (m *Block) GetEntropy() Entropy
- func (m *Block) GetEvidence() types.EvidenceList
- func (m *Block) GetHeader() types.Header
- func (m *Block) GetLastCommit() *types.Commit
- func (m *Block) Marshal() (dAtA []byte, err error)
- func (m *Block) MarshalTo(dAtA []byte) (int, error)
- func (m *Block) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Block) ProtoMessage()
- func (m *Block) Reset()
- func (m *Block) Size() (n int)
- func (m *Block) String() string
- func (m *Block) Unmarshal(dAtA []byte) error
- func (m *Block) XXX_DiscardUnknown()
- func (m *Block) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Block) XXX_Merge(src proto.Message)
- func (m *Block) XXX_Size() int
- func (m *Block) XXX_Unmarshal(b []byte) error
- type Entropy
- func (*Entropy) Descriptor() ([]byte, []int)
- func (m *Entropy) GetProof() []byte
- func (m *Entropy) GetRound() int32
- func (m *Entropy) Marshal() (dAtA []byte, err error)
- func (m *Entropy) MarshalTo(dAtA []byte) (int, error)
- func (m *Entropy) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Entropy) ProtoMessage()
- func (m *Entropy) Reset()
- func (m *Entropy) Size() (n int)
- func (m *Entropy) String() string
- func (m *Entropy) Unmarshal(dAtA []byte) error
- func (m *Entropy) XXX_DiscardUnknown()
- func (m *Entropy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Entropy) XXX_Merge(src proto.Message)
- func (m *Entropy) XXX_Size() int
- func (m *Entropy) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Block ¶
type Block struct { Header types.Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header"` Data types.Data `protobuf:"bytes,2,opt,name=data,proto3" json:"data"` Evidence types.EvidenceList `protobuf:"bytes,3,opt,name=evidence,proto3" json:"evidence"` LastCommit *types.Commit `protobuf:"bytes,4,opt,name=last_commit,json=lastCommit,proto3" json:"last_commit,omitempty"` // *** tendermintvrf Extended Fields *** Entropy Entropy `protobuf:"bytes,1000,opt,name=entropy,proto3" json:"entropy"` }
func (*Block) Descriptor ¶
func (*Block) GetEntropy ¶
func (*Block) GetEvidence ¶
func (m *Block) GetEvidence() types.EvidenceList
func (*Block) GetLastCommit ¶
func (*Block) ProtoMessage ¶
func (*Block) ProtoMessage()
func (*Block) XXX_DiscardUnknown ¶
func (m *Block) XXX_DiscardUnknown()
func (*Block) XXX_Marshal ¶
func (*Block) XXX_Unmarshal ¶
type Entropy ¶
type Entropy struct { Round int32 `protobuf:"varint,1,opt,name=round,proto3" json:"round,omitempty"` Proof []byte `protobuf:"bytes,2,opt,name=proof,proto3" json:"proof,omitempty"` }
Entropy represents height-specific complexity and used in proposer-election. Entropy contains vrf proof and generated round. The relationship of each field is as follows. Entropy.proof = VRFProof(last_proof_hash, current_height, Entropy.round)
func (*Entropy) Descriptor ¶
func (*Entropy) MarshalToSizedBuffer ¶
func (*Entropy) ProtoMessage ¶
func (*Entropy) ProtoMessage()
func (*Entropy) XXX_DiscardUnknown ¶
func (m *Entropy) XXX_DiscardUnknown()
func (*Entropy) XXX_Marshal ¶
func (*Entropy) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.