brk
Umbrella crate for the Bitcoin Research Kit.
Usage
Single dependency for BRK's reusable Bitcoin primitives. Enable only what you need through feature flags.
[]
= { = "0.11", = ["reader", "types"] }
use Reader;
use Height;
Feature flags match crate names without the brk_ prefix. Use full to enable all:
[]
= { = "0.11", = ["full"] }
Crates
Bitcoin data
| Crate | Description |
|---|---|
| brk_reader | Read blocks from blk*.dat with parallel parsing and XOR decoding |
| brk_mempool | Monitor mempool, estimate fees, project upcoming blocks |
| brk_oracle | Pure on-chain BTC/USD price oracle |
| brk_rpc | Bitcoin Core RPC client |
Data & Storage
| Crate | Description |
|---|---|
| brk_types | Domain types: Height, Sats, Txid, addresses, etc. |
| brk_store | Key-value storage (fjall wrapper) |
| brk_fetcher | Fetch price data from exchanges |
| brk_iterator | Unified block iteration with automatic source selection |
| brk_error | Shared error types |
| brk_logger | Logging infrastructure |
Indexing, computation, querying, clients, and serving belong to Bitview. The
complete self-hosted platform and executable are provided by
bitviewd; see its installation guide for the
optimized build command.