# Packages

No description provided by the author

# Functions

getChannelDescriptor produces an instance of a descriptor for this package's required channels.
No description provided by the author
No description provided by the author
NewReactor returns a reference to a new reactor.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PostCheckMaxGas checks that the wanted gas is smaller or equal to the passed maxGas.
PreCheckMaxBytes checks that the size of the transaction is smaller or equal to the expected maxBytes.
No description provided by the author
WithMetrics sets the mempool's metrics collector.
WithPostCheck sets a filter for the mempool to reject a transaction if f(tx, resp) returns an error.
WithPreCheck sets a filter for the mempool to reject a transaction if f(tx) returns an error.

# Constants

No description provided by the author
No description provided by the author
MetricsSubsystem is a subsystem shared by all metrics exposed by this package.
PeerCatchupSleepIntervalMS defines how much time to sleep if a peer is behind.
UnknownPeerID is the peer ID to use when running CheckTx when there is no peer (e.g.

# Structs

No description provided by the author
LRUTxCache maintains a thread-safe LRU cache of raw transactions.
Metrics contains metrics exposed by this package.
NopTxCache defines a no-op raw transaction cache.
Reactor implements a service that contains mempool of txs that are broadcasted amongst peers.
TxInfo are parameters that get passed when attempting to add a tx to the mempool.
TxMempool defines a prioritized mempool data structure used by the v1 mempool reactor.
TxPriorityQueue defines a thread-safe priority queue for valid transactions.
TxStore implements a thread-safe mapping of valid transaction(s).
WrappedTx defines a wrapper around a raw transaction with additional metadata that is used for indexing.
WrappedTxList implements a thread-safe list of *WrappedTx objects that can be used to build generic transaction indexes in the mempool.

# Interfaces

Mempool defines the mempool interface.
No description provided by the author
TxCache defines an interface for raw transaction caching in a mempool.

# Type aliases

PostCheckFunc is an optional filter executed after CheckTx and rejects transaction if false is returned.
PreCheckFunc is an optional filter executed before CheckTx and rejects transaction if false is returned.
TxMempoolOption sets an optional parameter on the TxMempool.