I have more than one address in the wallet, and sometimes I'd like to sort the btc received based on which address received it. I haven't yet found a way to see which address received a payment without clicking "browse" and opening up a particular transation in a block exploring website. Is there a way to sort "received" based on address? Or just to show, for each received, which address received it?
I did not implement anything like this. Generally it is not recommended to manage addresses manually.
Hmm, I thought that was one of the main reasons you might provide "names" for addresses. If I give you an address to pay me on and I name it "payments_from_AS" then if I want to see how much you've paid me or if you've paid me recently, I want some way to see only the payments to this address, right? What other reason do we have for "naming" addresses in receiving addresses?
That's right, it used to be like this. It works because most clients still reuse addresses (including Bitcoin Wallet). In future, addresses will not be reused, so there is no point in labeling them.
Information about who and for what you paid will be attached to the transactions themselves, or in the far future payment objects that bundle 1..n transactions.
I'm sure when we're at that point there will be ways to search, e.g. for payments to a specific merchant.
I think you're actually saying that "it is still like this" but that you predict a future in which case addresses will not be resused. It seems like for the present, in which we can label addresses in our bitcoin wallets (including the android Bitcoin Wallet), it would be useful to be able to sort our list of "received" based on which address did the receiving. We already have the labels and we already have a list of received, we're really just missing the sort functionality. In bitcoind there's a command to list all received by address. Is there no easy correllary in bitcoinj?
Speaking of the future, it seems like as long as people want an offline node for "cold storage" of funds, they'll be some folks reusing addresses, right?
Thanks for the wonderful software, by the way! For the moment, I can click on each received transaction one at a time and see which address received it by looking it up in a blockchain explorer. So I can eventually tell which address received a particular transaction listed in the wallet, it's just a little annoying to have to go to a web-browser for this.
Are you sure there's no easy way to modify Bitcoin Wallet to allow us to see which address received a particular transaction?