Skip to main content

Crate cory_core

Crate cory_core 

Source
Expand description

Core library for Cory — a Bitcoin transaction ancestry explorer.

This crate provides the domain types, graph-building logic, label management, and RPC abstraction that the cory server binary builds on. It is intentionally transport-agnostic: the rpc::BitcoinRpc trait can be backed by HTTP JSON-RPC, a mock, or any future transport.

Re-exports§

pub use error::CoreError;
pub use error::RpcError;
pub use types::AncestryGraph;
pub use types::BlockHeight;
pub use types::GraphLimits;
pub use types::TxNode;

Modules§

cache
In-memory caches for decoded transactions and resolved prevout data.
enrich
Transaction enrichment and analysis utilities.
error
Error types for cory-core.
graph
Ancestry graph builder — BFS expansion of transaction spending history.
labels
BIP-329 label management for Cory.
rpc
Bitcoin Core RPC abstraction layer.
types
Domain types for Cory’s transaction ancestry model.