fedimint_wallet_common

Constant CONFIRMATION_TARGET

Source
pub const CONFIRMATION_TARGET: u16 = 1;
Expand description

Used for estimating a feerate that will confirm within a target number of blocks.

Since the wallet’s UTXOs are a shared resource, we need to reduce the risk of a peg-out transaction getting stuck in the mempool, hence we use a low confirmation target. Other fee bumping techniques, such as RBF and CPFP, can help mitigate this problem but are out-of-scope for this version of the wallet.