Rename GetUnspentNotes to GetFilteredNotes

Added parameter to ignore spent notes, which is true by default.
This commit is contained in:
Simon
2016-09-07 16:07:26 -07:00
parent 6d2d045c6b
commit 1b141933e5
5 changed files with 10 additions and 10 deletions

View File

@@ -905,7 +905,7 @@ public:
void SetBroadcastTransactions(bool broadcast) { fBroadcastTransactions = broadcast; }
/* Find unspent notes, filter by payment address, min depth */
bool GetUnspentNotes(std::vector<CNotePlaintextEntry> & outEntries, std::string address, size_t minDepth);
bool GetFilteredNotes(std::vector<CNotePlaintextEntry> & outEntries, std::string address, size_t minDepth, bool ignoreSpent=false);
};