Bitcoin Forum
July 10, 2024, 08:53:59 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: origin of transfer  (Read 863 times)
pancake (OP)
Newbie
*
Offline Offline

Activity: 24
Merit: 0



View Profile WWW
September 06, 2012, 08: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.
CIYAM
Legendary
*
Offline Offline

Activity: 1890
Merit: 1081


Ian Knowles - CIYAM Lead Developer


View Profile WWW
September 06, 2012, 08: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).

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


View Profile
September 06, 2012, 09: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.

Unichange.me

            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █


Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!