Expand description
UData is the serialized data used for proof propagation in utreexo. It contains all data needed for validating some piece of information, like a transaction and a block.
Modules§
- proof_
util - This module provides utility functions for working with Utreexo proofs.
Structs§
- Compact
Leaf Data - Commitment of the leaf data, but in a compact way
- Leaf
Data - Leaf data is the data that is hashed when adding to utreexo state. It contains validation data and some commitments to make it harder to attack an utreexo-only node.
Enums§
- Script
PubKey Kind - A recoverable scriptPubKey type, this avoids copying over data that are already present or can be computed from the transaction itself. An example is a p2pkh, the public key is serialized in the scriptSig, so we can just grab it and hash to obtain the actual scriptPubKey. Since this data is committed in the Utreexo leaf hash, it is still authenticated