package
0.0.0-20210528025807-a826b3808dd2
Repository: https://github.com/blockchainworkers/conch.git
Documentation: pkg.go.dev
# Functions
NewMempool returns a new Mempool with the given configuration and connection to an application.
NewMempoolReactor returns a new MempoolReactor with the given config and mempool.
NopMetrics returns no-op Metrics.
PrometheusMetrics returns Metrics build using Prometheus client library.
No description provided by the author
TxID is the hex encoded hash of the bytes as a types.Tx.
WithMetrics sets the metrics.
# Constants
No description provided by the author
# Variables
ErrMempoolIsFull means Tendermint & an application can't handle that much load.
ErrTxInCache is returned to the client if we saw tx earlier.
# Structs
Mempool is an ordered in-memory pool for transactions before they are proposed in a consensus round.
MempoolReactor handles mempool tx broadcasting amongst peers.
Metrics contains metrics exposed by this package.
TxMessage is a MempoolMessage containing a transaction.
# Interfaces
MempoolMessage is a message sent or received by the MempoolReactor.
PeerState describes the state of a peer.
# Type aliases
MempoolOption sets an optional parameter on the Mempool.