sui_rpc_loadgen::payload::rpc_command_processor

Function num_transactions_needed

Source
fn num_transactions_needed(num_coins: usize, new_coins_per_txn: usize) -> usize
Expand description

Calculate the number of transactions needed to split the given number of coins. new_coins_per_txn must be greater than 0