Expand description
Bitcoin Application Layer
Implements use cases and orchestrates interactions between the domain layer and the ports/adapters. Provides high-level services for blockchain operations.
Re-exports§
pub use block_index::BlockIndex;pub use block_index::BlockIndexEntry;pub use block_index::BlockIndexError;pub use block_index::BlockValidationStatus;pub use block_template::BlockAssembler;pub use chain_state::ChainState;pub use chain_state::ChainStateError;pub use chain_state::ProcessBlockResult;pub use fee_estimator::FeeEstimator;pub use mempool_acceptance::AcceptError;pub use mempool_acceptance::AcceptResult;pub use mempool_acceptance::MempoolAcceptor;pub use miner::generate_blocks;pub use miner::mine_block;pub use miner::MiningError;pub use net_processing::HandshakeState;pub use net_processing::SyncAction;pub use net_processing::SyncManager;pub use net_processing::SyncState;pub use package_relay::PackageAcceptError;pub use package_relay::PackageAcceptor;pub use package_relay::PackageResult;pub use services::BlockchainService;pub use services::MempoolService;pub use services::MiningService;pub use commands::*;pub use queries::*;
Modules§
- address_
manager - Address Manager — Peer Address Book
- block_
index - Block Index — Tracks all known block headers and best-chain selection
- block_
template - Block Template Assembly — Transaction Selection and Template Construction
- chain_
events - Chain Tip Notification Event Bus
- chain_
state - Chain State Manager — Orchestrates block validation and chain selection
- commands
- Command types for the application
- compact_
blocks - Compact Block Relay (BIP152)
- download_
scheduler - Block Download Scheduler
- fee_
estimator - Fee Estimation Tracker
- handlers
- Event and command handlers for the application layer
- mempool_
acceptance - Accept-to-Mempool — Transaction validation and acceptance pipeline
- miner
- Block Mining — Nonce Grinding and Block Generation
- net_
processing - Net Processing — Chain synchronization and message handling
- orphan_
pool - Orphan Transaction Pool
- package_
relay - Package Relay — Application-layer package acceptance service
- peer_
scoring - Peer Misbehavior & Ban Score Tracking
- queries
- Query types for the application
- rebroadcast
- Transaction Rebroadcast Manager
- services
- Application services that orchestrate domain logic through ports