protoblock 0.1.6

Asynchronous Bitcoin block ingestion pipeline with built-in reorg handling, backpressure, and observability
Documentation
1
2
3
4
5
6
7
use crate::runtime::protocol::ProtocolError;

/// Outcome of a protocol hook that can be interrupted by shutdown signals.
pub(crate) enum HookDecision<T> {
    Finished(Result<T, ProtocolError>),
    Cancelled,
}