Function grin_wallet_libwallet::scan

source ·
pub fn scan<'a, L, C, K>(
    wallet_inst: Arc<Mutex<Box<dyn WalletInst<'a, L, C, K>>>>,
    keychain_mask: Option<&SecretKey>,
    delete_unconfirmed: bool,
    start_height: u64,
    end_height: u64,
    status_send_channel: &Option<Sender<StatusMessage>>
) -> Result<ScannedBlockInfo, Error>
where L: WalletLCProvider<'a, C, K>, C: NodeClient + 'a, K: Keychain + 'a,
Expand description

Check / repair wallet contents by scanning against chain assume wallet contents have been freshly updated with contents of latest block