Crate ckb_tx_pool

Crate ckb_tx_pool 

Source
Expand description

CKB Tx-pool stores transactions, design for CKB Two-Step-Transaction-Confirmation mechanism

Re-exports§

pub use pool::TxPool;
pub use service::TxPoolController;
pub use service::TxPoolServiceBuilder;

Modules§

block_assembler
Generate a new block
error
The error type for Tx-pool operations
pool
Top-level Pool type, methods, and tests
service
Tx-pool background service

Macros§

try_or_return_with_snapshot
Unwraps a result or propagates its error with snapshot.

Structs§

BlockTemplate
A block template for miners.
TokioRwLock
An asynchronous reader-writer lock.
TxEntry
An entry in the transaction pool.

Enums§

PlugTarget
A list for plug target for plug_entry method