Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDecodedTxs ¶
GetDecodedTxs returns the decoded transactions from the given bytes.
func GetEncodedTxs ¶ added in v1.1.0
GetEncodedTxs returns the encoded transactions from the given bytes.
func RemoveTxsFromLane ¶
func RemoveTxsFromLane(txs []sdk.Tx, mempool sdkmempool.Mempool) error
RemoveTxsFromLane removes the transactions from the given lane's mempool.
Types ¶
type TxInfo ¶ added in v1.1.0
type TxInfo struct {
// Hash is the hex-encoded hash of the transaction.
Hash string
// Size is the size of the transaction in bytes.
Size int64
// GasLimit is the gas limit of the transaction.
GasLimit uint64
// TxBytes is the bytes of the transaction.
TxBytes []byte
}
TxInfo contains the information required for a transaction to be included in a proposal.
Click to show internal directories.
Click to hide internal directories.