fedimint_wallet_client::backup

Constant RECOVER_NUM_IDX_ADD_TO_LAST_USED

Source
pub(crate) const RECOVER_NUM_IDX_ADD_TO_LAST_USED: u64 = 8;
Expand description

New client will start deriving new addresses from last used one plus that many indexes. This should be less than MAX_GAP, but more than 0: We want to make sure we detect deposits that might have been made after multiple successive recoveries, but we want also to avoid accidental address re-use.