Expand description
Locally verified Handshake filtered-block evidence for embedded wallets.
Peers provide bloom-filter matches, MerkleBlock payloads, and transactions.
This crate treats all of them as untrusted until the partial Merkle tree is
bound to a consensus-validated hns_light_chain::HeaderEntry or an
authenticated archived WalletHeaderAnchor, and every advertised
transaction hash is exactly correlated. The wallet therefore persists
headers and its own coins, names, and boards rather than a pruned global
transaction or name index.
Structs§
- Filtered
Block Collector - Correlates transaction packets following one verified HSD MerkleBlock.
- HsdBloom
Filter - Exact HSD-compatible BIP37 bloom filter.
- Matched
Transaction - One transaction hash proven into the expected header’s Merkle root.
- Verified
Wallet Block - Complete matched transaction set for one locally validated block header.
- Wallet
Block Evidence - Partial-Merkle evidence bound to one locally consensus-validated header.
- Wallet
Header Anchor - Minimal locally validated header fields needed by wallet block evidence.
Enums§
- Bloom
Error - BIP37 filter construction or encoding failure.
- Bloom
Update - HSD bloom-filter automatic outpoint update mode.
- Wallet
Evidence Error - Filtered-block proof or exact transaction-correlation failure.
Constants§
- MAX_
BLOOM_ FILTER_ BYTES - HSD/Bitcoin policy maximum bloom-filter byte length.
- MAX_
BLOOM_ HASH_ FUNCTIONS - HSD/Bitcoin policy maximum bloom-filter hash function count.
- MAX_
FILTERED_ BLOCK_ TRANSACTIONS - HSD’s maximum plausible transactions in a one-megabyte base block.
- MAX_
FILTER_ ADD_ ELEMENT_ BYTES - HSD maximum element length accepted by
filteradd. - MAX_
MERKLE_ BLOCK_ PAYLOAD_ BYTES - Strict upper bound for one canonical HSD MerkleBlock payload.
- MAX_
PARTIAL_ MERKLE_ FLAG_ BYTES - Maximum flags needed by a full partial tree with the transaction bound.
Functions§
- request_
filtered_ blocks - Request locally known headers as HSD filtered blocks.