Bitcoin Forum
November 17, 2024, 10:11:25 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to Identify bitcoin sender?  (Read 5335 times)
mnemonix (OP)
Newbie
*
Offline Offline

Activity: 19
Merit: 0


View Profile
June 22, 2011, 03:10:43 PM
 #1

Hi,

Assuming something like e**Y. Peter buys something for an amount of 100BTC and has to send Fritz money. How can Fritz distinguish Peter's payment from other payments?

Code:
    (10BTC) IN1-|------------|
    (20BTC) IN2-|            |
    (5BTC)  IN3-|      TX    |-OUT1 (100BTC)
    (35BTC) IN4-|            |-OUT2 (5BTC Change)
    (35BTC) IN5-|------------|

Peter could tell Fritz his bitcoin-addr he will use, but it is very likely that Peter won't even know his own address which will be used for the transfer, because the bitcoin client may combine coins from 5 or 10 or more different addresses out of Peter's wallet.

How can Fritz be certain of receiving coins from Peter?

Another difficulty ... Assume there is a 3rd party which is monitoring the transfer (e.g. like e**Y which can acknowledge, the transfer has been completed like p*yp*l instant payment notification)-

How could the system be sure that Peter transfered all coins to Fritz?

I would very appreciate any help I can get on this ...

All the best,
Thomas
Caesium
Hero Member
*****
Offline Offline

Activity: 546
Merit: 500


View Profile
June 22, 2011, 03:14:17 PM
 #2

Simple - generate a new receiving address for every transaction and give the new one to each new person you deal with.

Tired of annoying signature ads? Ad block for signatures
JoelKatz
Legendary
*
Offline Offline

Activity: 1596
Merit: 1012


Democracy is vulnerable to a 51% attack.


View Profile WWW
June 22, 2011, 03:15:45 PM
 #3

Simple - generate a new receiving address for every transaction and give the new one to each new person you deal with.
Exactly.

1) The recipient creates a new address.
2) The recipient posts that address in a way that it is archived by the 3rd party and passed to the sender.
3) The sender sends bitcoins to that address.
4) The 3rd party now knows the sender has paid the recipient.

I am an employee of Ripple. Follow me on Twitter @JoelKatz
1Joe1Katzci1rFcsr9HH7SLuHVnDy2aihZ BM-NBM3FRExVJSJJamV9ccgyWvQfratUHgN
mnemonix (OP)
Newbie
*
Offline Offline

Activity: 19
Merit: 0


View Profile
June 22, 2011, 03:23:25 PM
 #4

Thank you for your replies ...

Wow, what a waste of addresses Cheesy

Does someone know an estimation of the number of all transfers in $ ever? I hope it is far away from 2^160 Smiley

But you are right ... This seems to be the way ... Generating a private address only the buyer can know ...

Thank you!

Best regards,
Thomas
Yatta99
Member
**
Offline Offline

Activity: 84
Merit: 10


I need an new box...


View Profile
June 22, 2011, 03:33:40 PM
 #5

This could also be done with the sender using two wallets (two different instances of the bitcoin app). Wallet1 is the receiving wallet from all sources with a number of different receiving addresses. You then send the aggregate amount to a single address in Wallet2. Then you send from Wallet2 to pay with a known sending address. The only catch being that you need to do the transfer sufficiently ahead of time to have enough verifications in the block chain for the coins in Wallet2.

Your example would change to:


Code:
    (10BTC) IN1-|------------|
    (20BTC) IN2-|            |
    (5BTC)  IN3-|      TX    |-OUT (105BTC) to Wallet2 address ----> payment from Wallet2 address ----> recipients wallet
    (35BTC) IN4-|            |
    (35BTC) IN5-|------------|


Tips for new box to: 16s14wcsNo5TcdsGLttL7B1XWiCv8E4L6A
w1R903
Full Member
***
Offline Offline

Activity: 218
Merit: 100


View Profile
June 22, 2011, 03:39:40 PM
 #6

Just think of the addresses as invoice numbers.

4096R/F5EA0017
Regulus
Newbie
*
Offline Offline

Activity: 18
Merit: 0



View Profile
June 22, 2011, 03:40:04 PM
 #7

I'm in the process of building a service for sales tracking where you enter in multiple addresses and then when someone fills out one of your order forms it will let you know to "watch for payment at _____" whatever the address is. Many of the features required to launch the site are already implemented and there's just a few more things that I need to do. Feel free to sign up for an account and play around or use the combination of TestUser2011 / password7: http://bitcoinevolution.com.
kjj
Legendary
*
Offline Offline

Activity: 1302
Merit: 1026



View Profile
June 22, 2011, 03:54:04 PM
 #8

Thank you for your replies ...

Wow, what a waste of addresses Cheesy

Does someone know an estimation of the number of all transfers in $ ever? I hope it is far away from 2^160 Smiley

But you are right ... This seems to be the way ... Generating a private address only the buyer can know ...

Wasting addresses is a good security measure.  A lot of cryptosystems attacks involve comparing multiple outputs from the same key and calculating portions of the key from properties in the repeated outputs.  Historically, I think Enigma was first broken this way.

Generating a new address each and every time reduces the chances of an attack like that being possible, assuming that weaknesses of that sort are someday found in SHA256 and RIPE-MD160.

Oh, and if we assume 100,000,000,000 people in the world, and each of them doing 10,000 transactions each day, it will take 3.8*10^30 years to run out of addresses.  The first address collision will, of course, come a bit sooner than that.  For comparison, the current age of the universe is generally thought to be around 1.3*10^10 years.

17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8
I routinely ignore posters with paid advertising in their sigs.  You should too.
beckspace
Hero Member
*****
Offline Offline

Activity: 931
Merit: 500


View Profile
June 22, 2011, 04:30:51 PM
 #9

Oh, and if we assume 100,000,000,000 people in the world, and each of them doing 10,000 transactions each day, it will take 3.8*10^30 years to run out of addresses.  The first address collision will, of course, come a bit sooner than that.  For comparison, the current age of the universe is generally thought to be around 1.3*10^10 years.

That's good info. I was looking for this math. The system seems really robust.


We'll have reached Civilization Type 3 by the time we run out of addresses.
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!