Documentation ¶
Index ¶
- Variables
- type ProposalInfo
- func (*ProposalInfo) Descriptor() ([]byte, []int)
- func (m *ProposalInfo) GetBlockSize() int64
- func (m *ProposalInfo) GetGasLimit() uint64
- func (m *ProposalInfo) GetMaxBlockSize() int64
- func (m *ProposalInfo) GetMaxGasLimit() uint64
- func (m *ProposalInfo) GetTxsByLane() map[string]uint64
- func (m *ProposalInfo) Marshal() (dAtA []byte, err error)
- func (m *ProposalInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *ProposalInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProposalInfo) ProtoMessage()
- func (m *ProposalInfo) Reset()
- func (m *ProposalInfo) Size() (n int)
- func (m *ProposalInfo) String() string
- func (m *ProposalInfo) Unmarshal(dAtA []byte) error
- func (m *ProposalInfo) XXX_DiscardUnknown()
- func (m *ProposalInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProposalInfo) XXX_Merge(src proto.Message)
- func (m *ProposalInfo) XXX_Size() int
- func (m *ProposalInfo) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type ProposalInfo ¶
type ProposalInfo struct { // TxsByLane contains information about how each partial proposal // was constructed by the block-sdk lanes. TxsByLane map[string]uint64 `` /* 179-byte string literal not displayed */ // MaxBlockSize corresponds to the upper bound on the size of the // block that was used to construct this block proposal. MaxBlockSize int64 `protobuf:"varint,2,opt,name=max_block_size,json=maxBlockSize,proto3" json:"max_block_size,omitempty"` // MaxGasLimit corresponds to the upper bound on the gas limit of the // block that was used to construct this block proposal. MaxGasLimit uint64 `protobuf:"varint,3,opt,name=max_gas_limit,json=maxGasLimit,proto3" json:"max_gas_limit,omitempty"` // BlockSize corresponds to the size of this block proposal. BlockSize int64 `protobuf:"varint,4,opt,name=block_size,json=blockSize,proto3" json:"block_size,omitempty"` // GasLimit corresponds to the gas limit of this block proposal. GasLimit uint64 `protobuf:"varint,5,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` }
ProposalInfo contains the metadata about a given proposal that was built by the block-sdk. This is used to verify and consilidate proposal data across the network.
func (*ProposalInfo) Descriptor ¶
func (*ProposalInfo) Descriptor() ([]byte, []int)
func (*ProposalInfo) GetBlockSize ¶
func (m *ProposalInfo) GetBlockSize() int64
func (*ProposalInfo) GetGasLimit ¶
func (m *ProposalInfo) GetGasLimit() uint64
func (*ProposalInfo) GetMaxBlockSize ¶
func (m *ProposalInfo) GetMaxBlockSize() int64
func (*ProposalInfo) GetMaxGasLimit ¶
func (m *ProposalInfo) GetMaxGasLimit() uint64
func (*ProposalInfo) GetTxsByLane ¶
func (m *ProposalInfo) GetTxsByLane() map[string]uint64
func (*ProposalInfo) Marshal ¶
func (m *ProposalInfo) Marshal() (dAtA []byte, err error)
func (*ProposalInfo) MarshalToSizedBuffer ¶
func (m *ProposalInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProposalInfo) ProtoMessage ¶
func (*ProposalInfo) ProtoMessage()
func (*ProposalInfo) Reset ¶
func (m *ProposalInfo) Reset()
func (*ProposalInfo) Size ¶
func (m *ProposalInfo) Size() (n int)
func (*ProposalInfo) String ¶
func (m *ProposalInfo) String() string
func (*ProposalInfo) Unmarshal ¶
func (m *ProposalInfo) Unmarshal(dAtA []byte) error
func (*ProposalInfo) XXX_DiscardUnknown ¶
func (m *ProposalInfo) XXX_DiscardUnknown()
func (*ProposalInfo) XXX_Marshal ¶
func (m *ProposalInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProposalInfo) XXX_Merge ¶
func (m *ProposalInfo) XXX_Merge(src proto.Message)
func (*ProposalInfo) XXX_Size ¶
func (m *ProposalInfo) XXX_Size() int
func (*ProposalInfo) XXX_Unmarshal ¶
func (m *ProposalInfo) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.