Skip to main content

decrypt_and_store_transaction

Function decrypt_and_store_transaction 

Source
pub fn decrypt_and_store_transaction<ParamsT, DbT>(
    params: &ParamsT,
    data: &mut DbT,
    tx: &Transaction,
    mined_height: Option<BlockHeight>,
) -> Result<(), <DbT as WalletRead>::Error>
where ParamsT: Parameters, DbT: WalletWrite,
Expand description

Scans a [Transaction] for any information that can be decrypted by the accounts in the wallet, and saves it to the wallet.