Auto merge of #1533 - bitcartel:master_1447_document_getfilterednotes, r=bitcartel

Document CWallet::GetFilteredNotes

Also fixes return type of method which should be void.

Part of #1447
This commit is contained in:
zkbot
2016-10-13 20:25:19 -04:00
2 changed files with 7 additions and 3 deletions

View File

@@ -3322,7 +3322,11 @@ bool CMerkleTx::AcceptToMemoryPool(bool fLimitFree, bool fRejectAbsurdFee)
return ::AcceptToMemoryPool(mempool, state, *this, fLimitFree, NULL, fRejectAbsurdFee);
}
bool CWallet::GetFilteredNotes(std::vector<CNotePlaintextEntry> & outEntries, std::string address, int minDepth, bool ignoreSpent)
/**
* 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<CNotePlaintextEntry> & outEntries, std::string address, int minDepth, bool ignoreSpent)
{
bool fFilterAddress = false;
libzcash::PaymentAddress filterPaymentAddress;