Skip to main content

Module block_parser

Module block_parser 

Source

Structs§

BlockParseResult
Result structure for block parsing with cryptographic verification
BlockParser
Block parser for extracting transactions from UDS block data
TnBlockFooter
TnBlockFooterBody
TnBlockHeader
TnBlockHeaderBody

Enums§

BlockParseError
Comprehensive error handling for block parsing and cryptographic verification

Constants§

BLOCK_COMMITMENT_DOMAIN
Domain prefix for the block-commitment hash, exactly the 19 bytes of “tn-block-commitment” with no trailing NUL (matches C TN_BLOCK_COMMITMENT_DOMAIN).

Functions§

compute_commitment_hash
Compute the canonical block-commitment hash (Reward Check Plan A):

Type Aliases§

FdBlake3Hash
FdPubkey
Block format structures (mirror the on-wire block layout defined in C)
FdSignature