src/wallet/wallet.cpp
/**
 * Iterate over transactions in a block and update the cached Sapling nullifiers
 * for transactions which belong to the wallet.
 */
Iterate over transactions in a block and update the cached Sapling nullifiers
for transactions which belong to the wallet.
Iterate over transactions in a block and update the cached Sapling nullifiers for transactions which belong to the wallet .
void CWallet::UpdateSaplingNullifierNoteMapForBlock(const CBlock *pblock) {
    LOCK(cs_wallet);
    for (const CTransaction& tx : pblock->vtx) {
        auto hash = tx.GetHash();
        bool txIsOurs = mapWallet.count(hash);
        if (txIsOurs) {
            UpdateSaplingNullifierNoteMapWithTx(mapWallet[hash]);
        }
    }
}
void CWallet :: UpdateSaplingNullifierNoteMapForBlock ( const CBlock * pblock ) { LOCK ( cs_wallet ) ; for ( const CTransaction & tx : pblock -> vtx ) { auto hash = tx . GetHash ( ) ; bool txIsOurs = mapWallet . count ( hash ) ; if ( txIsOurs ) { UpdateSaplingNullifierNoteMapWithTx ( mapWallet [ hash ] ) ; } } }
Iterate over transactions in a block and update the cached Sapling nullifiers
 for transactions which belong to the wallet.
Iterate over transactions in a block and update the cached Sapling nullifiers for transactions which belong to the wallet .