btcsuite / btcwallet

A secure bitcoin wallet daemon written in Go (golang)
ISC License
1.14k stars 588 forks source link

GetReceivedByAddressCmd #21

Closed jcvernaleo closed 10 years ago

jcvernaleo commented 10 years ago

GetReceivedByAddressCmd would be very helpful in wallet (I know all the standard commands will eventually be implemented, but I'd vote for this being one of the next ones to go in).

jrick commented 10 years ago

After discussion with jcv, getreceivedbyaddress is not actually what was desired, as it returns the total amount received by an address, not the current balance. I have implemented a websocket extension, getaddressbalance, as of d4e756bc231266b4b589bf24db50444305c7c8c4 which performs the desired behavior.

Leaving this issue open until getreceivedbyaddress is properly implemented.

jrick commented 10 years ago

getreceivedbyaddress is now implemented by 2c520628941ef2a3d247c9ee6e9d837afd9d617d.