Skip to main content

Module arbitrary

Module arbitrary 

Source
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_garbage_orchard_authorization;
pub use shielded::with_orchard_flags;
pub use shielded::with_orchard_value_balance;

Modules§

shielded
Builders for shielded bundles on the zcash_primitives transaction types.

Structs§

BindingSignature 🔒

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 to fallback when 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 trans into 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.