You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
listreceivedbyaddress and getaddressesbyaccount return incorrect data #307
I don't know about bitcoin's source code, but after having a quick look inside, I believe in file rpc.c, function ListReceived(), where the is now:
if (!AddressToHash160(strAddress, hash160))
... it should rather be:
if (!AddressToHash160(strAddress, hash160) || !mapPubKeys.count(hash160))
I'm having the same problem. Seems there's no way to distinguish between receiving addresses and addresses the client has sent to using the rpc. Obviously, the client UI is doing it somehow to create the address book.
Activity
piotrnar commentedon Jun 7, 2011
I don't know about bitcoin's source code, but after having a quick look inside, I believe in file rpc.c, function ListReceived(), where the is now:
if (!AddressToHash160(strAddress, hash160))
... it should rather be:
if (!AddressToHash160(strAddress, hash160) || !mapPubKeys.count(hash160))
And similar fix for getaddressesbyaccount.
carlosjhr64 commentedon Aug 26, 2011
I'm having the same problem. Seems there's no way to distinguish between receiving addresses and addresses the client has sent to using the rpc. Obviously, the client UI is doing it somehow to create the address book.
alexwaters commentedon Sep 6, 2011
v0.3.21 has been deprecated: ec74e8a
Please submit a new issue if this persists in current versions.
Merge pull request bitcoin#307 from firstrow/patch-1
Merge pull request bitcoin#307
Merge pull request bitcoin#307 from deadalnix/fixnotes
Merge pull request bitcoin#307 from thrasher-/master
Merge pull request bitcoin#307 from qtumproject/earlz/remove-asserts
Removed TransactionRecord::MasterNodeReward, TransactionRecord::Syste…
Merge pull request bitcoin#307 from sandakersmann/develop