Skip to main content

bitcoin_rs_mempool/
lib.rs

1#![doc = include_str!("../README.md")]
2#![forbid(unsafe_op_in_unsafe_fn)]
3
4extern crate alloc;
5
6/// Mempool entry metadata.
7pub mod entry;
8/// Package eviction policy.
9pub mod eviction;
10/// Pareto-front transaction priority ordering.
11pub mod pareto;
12/// Mempool policy limits.
13pub mod policy;
14/// Mempool indexes and mutation API.
15pub mod pool;
16/// BIP125 replacement-by-fee checks.
17pub mod rbf;
18
19pub use entry::{EntryId, MempoolEntry};
20pub use eviction::evict_lowest_fee_packages;
21pub use pareto::ParetoFront;
22pub use policy::{MempoolLimits, PolicyError};
23pub use pool::{Mempool, MempoolError, MempoolStats, ScriptHash};
24pub use rbf::{RbfError, ReplacementCandidate, ReplacementPlan};