package
0.34.20-reap.core.v0.1.14-rc8
Repository: https://github.com/reapchain/reapchain-core.git
Documentation: pkg.go.dev
# Functions
NewCListMempool returns a new mempool with the given configuration and connection to an application.
NewReactor returns a new Reactor with the given config and mempool.
WithMetrics sets the metrics.
WithPostCheck sets a filter for the mempool to reject a tx if f(tx) returns false.
WithPreCheck sets a filter for the mempool to reject a tx if f(tx) returns false.
# Structs
CListMempool is an ordered in-memory pool for transactions before they are proposed in a consensus round.
Reactor handles mempool tx broadcasting amongst peers.
TxsMessage is a Message containing transactions.
# Interfaces
PeerState describes the state of a peer.
# Type aliases
CListMempoolOption sets an optional parameter on the mempool.