Expand description
Randomised property testing for Block
s.
Structs§
- Ledger
State - The configuration data for proptest when generating arbitrary chains
- Ledger
State Override - Overrides for arbitrary
LedgerState
s.
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::OutPoint
inutxos
to spend intransaction
. - fix_
generated_ transaction - Fix
transaction
so it obeys more consensus rules.