Skip to main content

abtc_adapters/
lib.rs

1//! Bitcoin Adapter Layer - Concrete Implementations
2//!
3//! This crate provides concrete implementations of the ports defined in abtc-ports.
4//! Implementations include:
5//! - In-memory storage adapters
6//! - Stub P2P network adapter
7//! - Basic RPC server
8//! - Simple mining provider
9//! - Basic wallet adapter
10
11pub mod mempool;
12pub mod mining;
13pub mod network;
14pub mod rpc;
15pub mod storage;
16pub mod wallet;
17
18// Re-exports for convenience
19pub use mempool::InMemoryMempool;
20pub use mining::SimpleMiner;
21pub use network::{StubPeerManager, TcpPeerManager};
22pub use rpc::JsonRpcServer;
23pub use storage::{InMemoryBlockStore, InMemoryChainStateStore};
24#[cfg(feature = "rocksdb-storage")]
25pub use storage::{RocksDbBlockStore, RocksDbChainStateStore};
26pub use wallet::FileBasedWalletStore;
27pub use wallet::InMemoryWallet;
28pub use wallet::PersistentWallet;