Author

Topic: origin of transfer (Read 869 times)

legendary
Activity: 2506
Merit: 1010
September 06, 2012, 05:28:34 AM
#3
Knowing who send you money is such a basic feature on a payment system.

If you are looking at the blockchain data to determine who sent you money then you are doing it wrong.

Bitcoin works where you create a new address for each transaction.  So you know who sent you money because you know who you created that address for.

You end up depending on blockchaininfo and other similar sites to check the txids to know which address sent you the money.

That's actually bad because if the payment came from a hosted (shared) EWallet the address the payment is from is not the sender's address.  You never want to send funds back to that address as they likely will not get credited to the recipient.

Systems, such as SatoshiDICE are a special use case -- and they specifically warn the player to only use a local client (Bitcoin.org client) or other hybrid EWallets that are on the approved list (e.g., Blockchain.info/wallet ) as they don't suffer the same problem as hosted (shared) EWallets.

I supose this is a known topic, but I would like to know if there is some work on it, and how can I achieve this without depending on 3rd party sites or internet access.

Gettransaction is an API call that gives this info, for a transaction received to an address in your wallet.

The upcoming release of Version 0.7 of the bitcoin.org client has getrawtransaction and that will give you that information for any address, regardless of whether or not it was one in your wallet.
legendary
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
September 06, 2012, 04:15:35 AM
#2
More often than not even a simple transaction will have multiple inputs and two outputs (with one being for change) so displaying the "origin address" would (if implemented) instead have to be displaying the "origin addresses".

By using a unique receive address for each incoming payment you can instead use the label to identify "who" the payment was from rather than trying to make head or tail of all the "input" addresses in the tx (a much simpler approach really).
newbie
Activity: 24
Merit: 0
September 06, 2012, 04:03:45 AM
#1
I wonder why the official client (and I don't know if there's any other alternative out there that can do that) can't show the origin address of a transfer.

I supose there are some technical reasons behind, but trying to explain bitcoin to other people resulted in a bit awkward when discovering this missfeature. Knowing who send you money is such a basic feature on a payment system.

You end up depending on blockchaininfo and other similar sites to check the txids to know which address sent you the money.

The addressbook only works for sending money. The client does not identifys any transfer to you from any of those addresses.

I supose this is a known topic, but I would like to know if there is some work on it, and how can I achieve this without depending on 3rd party sites or internet access.

Thanks.
Jump to: