pub fn create_block_for_wallet<'a, L, C, K>(
    chain: &Chain,
    prev: BlockHeader,
    txs: &[Transaction],
    wallet: Arc<Mutex<Box<dyn WalletInst<'a, L, C, K> + 'a>>>,
    keychain_mask: Option<&SecretKey>
) -> Result<Block, 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 and return the block