pub fn confirm_transaction<'a, 'b, 'c, 'd>(
    node: &'a Node<'b, 'c, 'd>,
    tx: &Transaction,
) -> u64
Expand description

Mine the given transaction in the next block and then mine CHAN_CONFIRM_DEPTH - 1 blocks on top, giving the given transaction CHAN_CONFIRM_DEPTH confirmations.

Returns the SCID a channel confirmed in the given transaction will have, assuming the funding output is the 1st output in the transaction.