cory_core/lib.rs
1//! Core library for **Cory** — a Bitcoin transaction ancestry explorer.
2//!
3//! This crate provides the domain types, graph-building logic, label
4//! management, and RPC abstraction that the `cory` server binary builds on.
5//! It is intentionally transport-agnostic: the [`rpc::BitcoinRpc`] trait
6//! can be backed by HTTP JSON-RPC, a mock, or any future transport.
7
8pub mod cache;
9pub mod enrich;
10pub mod error;
11pub mod graph;
12pub mod labels;
13pub mod rpc;
14pub mod types;
15
16#[cfg(test)]
17pub(crate) mod test_util;
18
19pub use error::{CoreError, RpcError};
20pub use types::{AncestryGraph, BlockHeight, GraphLimits, TxNode};