Function solana_bench_tps::bench::fund_keys[][src]

pub fn fund_keys<T: 'static + Client + Send + Sync>(
    client: Arc<T>,
    source: &Keypair,
    dests: &[Keypair],
    total: u64,
    max_fee: u64,
    lamports_per_account: u64
)

fund the dests keys by spending all of the source keys into MAX_SPENDS_PER_TX on every iteration. This allows us to replay the transfers because the source is either empty, or full