Documentation
¶
Index ¶
- Variables
- type InjectedTx
- func (*InjectedTx) Descriptor() ([]byte, []int)
- func (m *InjectedTx) GetParts() map[uint32][]byte
- func (m *InjectedTx) Marshal() (dAtA []byte, err error)
- func (m *InjectedTx) MarshalTo(dAtA []byte) (int, error)
- func (m *InjectedTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*InjectedTx) ProtoMessage()
- func (m *InjectedTx) Reset()
- func (m *InjectedTx) Size() (n int)
- func (m *InjectedTx) String() string
- func (m *InjectedTx) Unmarshal(dAtA []byte) error
- func (m *InjectedTx) XXX_DiscardUnknown()
- func (m *InjectedTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InjectedTx) XXX_Merge(src proto.Message)
- func (m *InjectedTx) XXX_Size() int
- func (m *InjectedTx) XXX_Unmarshal(b []byte) error
- type VoteExtension
- func (*VoteExtension) Descriptor() ([]byte, []int)
- func (m *VoteExtension) GetHeight() int64
- func (m *VoteExtension) GetParts() map[uint32][]byte
- func (m *VoteExtension) Marshal() (dAtA []byte, err error)
- func (m *VoteExtension) MarshalTo(dAtA []byte) (int, error)
- func (m *VoteExtension) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VoteExtension) ProtoMessage()
- func (m *VoteExtension) Reset()
- func (m *VoteExtension) Size() (n int)
- func (m *VoteExtension) String() string
- func (m *VoteExtension) Unmarshal(dAtA []byte) error
- func (m *VoteExtension) XXX_DiscardUnknown()
- func (m *VoteExtension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VoteExtension) XXX_Merge(src proto.Message)
- func (m *VoteExtension) XXX_Size() int
- func (m *VoteExtension) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type InjectedTx ¶
type InjectedTx struct { // parts is a map of tx parts (sub-txs), keyed by unique ID. Parts map[uint32][]byte `` /* 152-byte string literal not displayed */ }
InjectedTx defines the pseudo-tx used to inject previous-block vote extensions into the current block proposal.
func (*InjectedTx) Descriptor ¶
func (*InjectedTx) Descriptor() ([]byte, []int)
func (*InjectedTx) GetParts ¶
func (m *InjectedTx) GetParts() map[uint32][]byte
func (*InjectedTx) Marshal ¶
func (m *InjectedTx) Marshal() (dAtA []byte, err error)
func (*InjectedTx) MarshalToSizedBuffer ¶
func (m *InjectedTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*InjectedTx) ProtoMessage ¶
func (*InjectedTx) ProtoMessage()
func (*InjectedTx) Reset ¶
func (m *InjectedTx) Reset()
func (*InjectedTx) Size ¶
func (m *InjectedTx) Size() (n int)
func (*InjectedTx) String ¶
func (m *InjectedTx) String() string
func (*InjectedTx) Unmarshal ¶
func (m *InjectedTx) Unmarshal(dAtA []byte) error
func (*InjectedTx) XXX_DiscardUnknown ¶
func (m *InjectedTx) XXX_DiscardUnknown()
func (*InjectedTx) XXX_Marshal ¶
func (m *InjectedTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InjectedTx) XXX_Merge ¶
func (m *InjectedTx) XXX_Merge(src proto.Message)
func (*InjectedTx) XXX_Size ¶
func (m *InjectedTx) XXX_Size() int
func (*InjectedTx) XXX_Unmarshal ¶
func (m *InjectedTx) XXX_Unmarshal(b []byte) error
type VoteExtension ¶
type VoteExtension struct { // height is the height of the block that the vote extension is for. Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` // parts is a map of vote extension parts, keyed by unique ID. Parts map[uint32][]byte `` /* 152-byte string literal not displayed */ }
VoteExtension defines the vote extension structure for the Mezo application.
func (*VoteExtension) Descriptor ¶
func (*VoteExtension) Descriptor() ([]byte, []int)
func (*VoteExtension) GetHeight ¶
func (m *VoteExtension) GetHeight() int64
func (*VoteExtension) GetParts ¶
func (m *VoteExtension) GetParts() map[uint32][]byte
func (*VoteExtension) Marshal ¶
func (m *VoteExtension) Marshal() (dAtA []byte, err error)
func (*VoteExtension) MarshalToSizedBuffer ¶
func (m *VoteExtension) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VoteExtension) ProtoMessage ¶
func (*VoteExtension) ProtoMessage()
func (*VoteExtension) Reset ¶
func (m *VoteExtension) Reset()
func (*VoteExtension) Size ¶
func (m *VoteExtension) Size() (n int)
func (*VoteExtension) String ¶
func (m *VoteExtension) String() string
func (*VoteExtension) Unmarshal ¶
func (m *VoteExtension) Unmarshal(dAtA []byte) error
func (*VoteExtension) XXX_DiscardUnknown ¶
func (m *VoteExtension) XXX_DiscardUnknown()
func (*VoteExtension) XXX_Marshal ¶
func (m *VoteExtension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VoteExtension) XXX_Merge ¶
func (m *VoteExtension) XXX_Merge(src proto.Message)
func (*VoteExtension) XXX_Size ¶
func (m *VoteExtension) XXX_Size() int
func (*VoteExtension) XXX_Unmarshal ¶
func (m *VoteExtension) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.