package
23.1.6+incompatible
Repository: https://github.com/zeta-chain/node.git
Documentation: pkg.go.dev
# Functions
DefaultPriorityMempool returns a priorityNonceMempool with no options.
GetSendersWithNonce is used to extract sender and nonce information txs if tx is ethermint, it is extracted using from and nonce field if it's cosmos tx, default cosmos way using signatures is used.
No description provided by the author
No description provided by the author
No description provided by the author
NewPriorityMempool returns the SDK's default mempool implementation which returns txs in a partial order by 2 dimensions; priority, and sender-nonce.
NoOpPrepareProposal defines a no-op PrepareProposal handler.
NoOpProcessProposal defines a no-op ProcessProposal Handler.
PriorityNonceWithMaxTx sets the maximum number of transactions allowed in the mempool with the semantics:
<0: disabled, `Insert` is a no-op 0: unlimited >0: maximum number of transactions allowed.
PriorityNonceWithOnRead sets a callback to be called when a tx is read from the mempool.
PriorityNonceWithTxReplacement sets a callback to be called when duplicated transaction nonce detected during mempool insert.
# Constants
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
PriorityNonceMempool is a mempool implementation that stores txs in a partially ordered set by 2 dimensions: priority, and sender-nonce (sequence number).
No description provided by the author
# Interfaces
No description provided by the author
No description provided by the author
TxSelector defines a helper type that assists in selecting transactions during mempool transaction selection in PrepareProposal.
# Type aliases
No description provided by the author