Expand description
Randomised property testing for Blocks.
Structs§
- Ledger
State - The configuration data for proptest when generating arbitrary chains
- Ledger
State Override - Overrides for arbitrary
LedgerStates.
Constants§
- MAX_
PARTIAL_ CHAIN_ BLOCKS - The chain length for most zebra-state proptests.
- PREVOUTS_
CHAIN_ HEIGHT - The chain length for most zebra-chain proptests.
Functions§
- allow_
all_ transparent_ coinbase_ spends - Skip checking transparent coinbase spends in
Block::partial_chain_strategy. - find_
valid_ utxo_ for_ spend - Find a valid
transparent::OutPointinutxosto spend intransaction. - fix_
generated_ transaction - Fix
transactionso it obeys more consensus rules.