Skip to main content

Module mempool

Module mempool 

Source
Expand description

The Zebra mempool.

A service that manages known unmined Zcash transactions.

Modules§

gossip đź”’
Representation of a gossiped transaction to send to the mempool.
mempool_change đź”’
Defines the MempoolChange and MempoolChangeKind types used by the mempool change broadcast channel.
service_trait đź”’
Trait alias for mempool-related Tower service.
transaction_dependencies đź”’
Representation of mempool transactions’ dependencies on other transactions in the mempool.

Structs§

MempoolChange
Represents a change in the mempool’s verified set of transactions
MempoolTxSubscriber
A newtype around [broadcast::Sender<MempoolChange>] used to subscribe to the channel without an active receiver.
TransactionDependencies
Representation of mempool transactions’ dependencies on other transactions in the mempool.

Enums§

CreatedOrSpent
Indicates whether an output was created or spent by a mempool transaction.
Gossip
A gossiped transaction, which can be the transaction itself or just its ID.
MempoolChangeKind
Represents a kind of change in the mempool’s verified set of transactions
Request
A mempool service request.
Response
A response to a mempool service request.

Traits§

MempoolService
Trait alias for services handling mempool requests.