Expand description
Arbitrary data generation for transaction proptests
Re-exports§
pub use shielded::fake_bundle_for_branch;pub use shielded::fake_orchard_bundle;pub use shielded::fake_orchard_bundle_duplicate_nullifiers;pub use shielded::fake_orchard_bundle_with_note;pub use shielded::fake_v6_transaction;pub use shielded::insert_fake_orchard_shielded_data;pub use shielded::outputs_enabled_flags;pub use shielded::v6_ironwood_flags_offset;pub use shielded::v6_orchard_flags_offset;pub use shielded::with_orchard_flags;pub use shielded::with_orchard_value_balance;
Modules§
- shielded
- Builders for shielded bundles on the
zcash_primitivestransaction types.
Structs§
Constants§
- MAX_
ARBITRARY_ ITEMS - The maximum number of arbitrary transactions, inputs, or outputs.
Functions§
- branch_
id_ 🔒of - Returns the librustzcash consensus branch ID for
network_upgrade, falling back tofallbackwhen the upgrade has no branch ID that librustzcash recognises. - test_
transactions - Iterate over transactions in the block test vectors for the specified
network. - transaction_
to_ fake_ v5 - Convert
transinto a fake v5 transaction. - transactions_
from_ blocks - Generate an iterator over (
block::Height,Arc<Transaction>). - v5_
transactions - Returns an iterator over V5 transactions extracted from the given blocks.