bitcoin-heuristics 0.1.0

Pattern detection heuristics for Bitcoin on-chain analytics — consolidations, distributions, CoinJoin, fee spikes, dormant supply reactivation and more
Documentation
1
2
3
4
5
6
7
8
9
10
use thiserror::Error;

/// Errors that can occur during heuristic evaluation.
#[derive(Debug, Error)]
pub enum HeuristicError {
    #[error("Bitcoin RPC error: {0}")]
    Rpc(#[from] anyhow::Error),
    #[error("JSON serialization error: {0}")]
    Json(#[from] serde_json::Error),
}