Skip to main content

arb_lock_ops

Function arb_lock_ops 

Source
pub fn arb_lock_ops(
    n_notes: usize,
    max_ops: usize,
) -> impl Strategy<Value = Vec<LockOp>>
Available on crate features test-dependencies only.
Expand description

A proptest strategy over sequences of LockOp for a wallet holding n_notes notes.

Expiry deltas and mining counts are drawn from small ranges so that sequences routinely cross lock-expiry boundaries.