pub fn award_block_to_wallet<'a, L, C, K>(
    chain: &Chain,
    txs: &[Transaction],
    wallet: Arc<Mutex<Box<dyn WalletInst<'a, L, C, K> + 'a>>>,
    keychain_mask: Option<&SecretKey>
) -> Result<(), Error>
where L: WalletLCProvider<'a, C, K>, C: NodeClient + 'a, K: Keychain + 'a,
Expand description

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.