src/wallet/wallet.cpp
/**
 * Find notes in the wallet filtered by payment address, min depth and ability to spend.
 * These notes are decrypted and added to the output parameter vector, outEntries.
 */
Find notes in the wallet filtered by payment address, min depth and ability to spend.
These notes are decrypted and added to the output parameter vector, outEntries.
Find notes in the wallet filtered by payment address min depth and ability to spend . These notes are decrypted and added to the output parameter vector outEntries .
void CWallet::GetFilteredNotes(
    std::vector<SproutNoteEntry>& sproutEntries,
    std::vector<SaplingNoteEntry>& saplingEntries,
    std::string address,
    int minDepth,
    bool ignoreSpent,
    bool requireSpendingKey)
{
    std::set<libzelcash::PaymentAddress> filterAddresses;
    if (address.length() > 0) {
        filterAddresses.insert(DecodePaymentAddress(address));
    }
    GetFilteredNotes(sproutEntries, saplingEntries, filterAddresses, minDepth, INT_MAX, ignoreSpent, requireSpendingKey);
}
void CWallet :: GetFilteredNotes ( std :: vector < SproutNoteEntry > & sproutEntries , std :: vector < SaplingNoteEntry > & saplingEntries , std :: string address , int minDepth , bool ignoreSpent , bool requireSpendingKey ) { std :: set < libzelcash :: PaymentAddress > filterAddresses ; if ( address . length ( ) > 0 ) { filterAddresses . insert ( DecodePaymentAddress ( address ) ) ; } GetFilteredNotes ( sproutEntries , saplingEntries , filterAddresses , minDepth , INT_MAX , ignoreSpent , requireSpendingKey ) ; }
Find notes in the wallet filtered by payment address, min depth and ability to spend.
Find notes in the wallet filtered by payment address min depth and ability to spend .