Skip to main content

Module receipt

Module receipt 

Source
Expand description

Receipt domain types: ReceiptStatus, Receipt, ReceiptList.

§Requirements trace

§Rationale

Structs§

Receipt
Result of executing one transaction inside a block (RCP-002, SPEC §2.9).
ReceiptList
Ordered block receipts with a commitments root (RCP-003, SPEC §2.9).

Enums§

ReceiptStatus
Outcome of applying one transaction in a block (SPEC §2.9, RCP-001).

Functions§

compute_receipts_root
Merkle root over ordered receipts: SHA-256(bincode(Receipt)) per leaf, then MerkleTree (HSH-008).