Expand description
Arbitrary data generation for transaction proptests
Structs§
Constants§
- MAX_
ARBITRARY_ ITEMS - The maximum number of arbitrary transactions, inputs, or outputs.
Functions§
- insert_
fake_ orchard_ shielded_ data - Modify a V5 transaction to insert fake Orchard shielded data.
- sapling_
shielded_ 🔒v4_ to_ fake_ v5 - Convert a v4 sapling shielded data into a fake v5 sapling shielded data, if possible.
- sapling_
spend_ 🔒v4_ to_ fake_ v5 - Convert a v4 sapling spend into a fake v5 sapling spend.
- test_
transactions - Iterate over V4 transactions in the block test vectors for the specified
network
. - transaction_
to_ fake_ v5 - Convert
trans
into a fake v5 transaction, converting sapling shielded data from v4 to v5 if possible. - transactions_
from_ blocks - Generate an iterator over (
block::Height
,Arc<Transaction>
). - v5_
transactions - Returns an iterator over V5 transactions extracted from the given blocks.