Add txout address filtering to listunspent.

This applies on top of the coincontrol listaddressgroupings patch
and makes finding eligible outputs from the groups returned
by listaddressgroupings possible.
This commit is contained in:
Gregory Maxwell
2012-08-06 13:02:48 -04:00
parent 22dfd73598
commit 92735bca31
3 changed files with 25 additions and 5 deletions

View File

@@ -647,7 +647,7 @@ public:
return true;
}
std::string GetAddressOfTxOut(int n)
std::string GetAddressOfTxOut(int n) const
{
CTxDestination addr;
ExtractDestination(vout[n].scriptPubKey, addr);