[−][src]Function grin_wallet_impls::test_framework::award_block_to_wallet
pub fn award_block_to_wallet<C, K>(
chain: &Chain,
txs: Vec<&Transaction>,
wallet: Arc<Mutex<dyn WalletInst<C, K>>>
) -> Result<(), Error> where
C: NodeClient,
K: Keychain,
adds a reward output to a wallet, includes that reward in a block, mines the block and adds it to the chain, with option transactions included. Helpful for building up precise wallet balances for testing.