Bitcoin ScannerFeed

This commit is contained in:
Luke Parker
2024-09-10 07:07:09 -04:00
parent e36b671f37
commit ba3a6f9e91
8 changed files with 84 additions and 7 deletions

View File

@@ -6,12 +6,19 @@
static ALLOCATOR: zalloc::ZeroizingAlloc<std::alloc::System> =
zalloc::ZeroizingAlloc(std::alloc::System);
mod scanner;
// Internal utilities for scanning transactions
mod scan;
// Output trait satisfaction
mod output;
// Transaction/SignableTransaction/Eventuality trait satisfaction
mod transaction;
// Block trait satisfaction
mod block;
// ScannerFeed trait satisfaction
mod scanner_feed;
pub(crate) fn hash_bytes(hash: bitcoin_serai::bitcoin::hashes::sha256d::Hash) -> [u8; 32] {
use bitcoin_serai::bitcoin::hashes::Hash;