1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//! # zeldhash-protocol
//!
//! A Rust implementation of the **ZELDHASH(ZELD)** protocol — a system
//! that rewards Bitcoin transactions with aesthetically pleasing transaction IDs
//! (those starting with leading zeros).
//!
//! ## Overview
//!
//! This library provides a database-agnostic and block parser-agnostic
//! implementation of the ZELD protocol. It focuses purely on the protocol logic,
//! allowing you to integrate it with any Bitcoin block source and any storage backend.
//!
//! ## Quick Start
//!
//! ```rust,ignore
//! use zeldhash_protocol::{ZeldProtocol, ZeldConfig, ZeldStore};
//!
//! let protocol = ZeldProtocol::new(ZeldConfig::default());
//!
//! // Pre-process blocks (parallelizable)
//! let zeld_block = protocol.pre_process_block(&bitcoin_block);
//!
//! // Process blocks sequentially
//! protocol.process_block(&zeld_block, &mut store);
//! ```
/// Protocol configuration.
/// Helper functions for ZELD protocol operations.
/// Core protocol implementation.
/// Storage trait abstraction.
/// Core types used by the protocol.
pub use ;
pub use ZeldProtocol;
pub use ZeldStore;
pub use ;