Bitcoin Forum
April 25, 2024, 07:33:45 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin address what is it made out of and how does it prevent duplicates ?  (Read 2287 times)
Skybuck (OP)
Full Member
***
Offline Offline

Activity: 384
Merit: 110


View Profile
November 22, 2011, 01:59:01 PM
Last edit: November 22, 2011, 02:31:25 PM by Skybuck
 #1

Hello,

I have some questions about bitcoin addresses, which are used to transfer money from/to (wallet?):

1. What exactly is a bitcoin address, without having to look at source code, what is the concept behind it ? Does it perhaps hash my ip address as part of the calculation of generating a new one ?

2. How does bitcoin prevent multiple people/persons/clients/computers from accidently generating the same bitcoin address ? (Perhaps it's checked against transactions in the blockchain to scout for duplicates ? But this does not protect against transactions already underway but not yet in the blockchain...)

3. I read somewhere that after receiving bitcoin into my wallet, a new address would be generated to improve privacy/stay anonymous... is this indeed true ? This would be a little bit problematic for people wanting to sell a lot of products to different people ?!? Because each time their receiving address would change ?!? (I guess some software for merchants/product sellers would need to be created which automatically updates these addresses so people can transfer money correctly... ?!?)

Bye,
  Skybuck.





Once a transaction has 6 confirmations, it is extremely unlikely that an attacker without at least 50% of the network's computation power would be able to reverse it.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
November 22, 2011, 02:04:18 PM
Last edit: November 22, 2011, 02:23:11 PM by DeathAndTaxes
 #2

1. No.  Bitcoin uses a public/private key system.  To generate a new address your comptuer first picks a totally random private key (2^256 bit number).  It then uses ECDSA algorithm to generate a cryptographically linked public key for that private key (the public/private key pair).   Bitcoin then takes that public key and created an address from it (the address is shorter and adds error checking to reduce chance of entering a wrong address).

2.   Nothing prevents it but the address space is 2^160.  The odds of creating an address which already exists is so improbable as to be considered ~0%.

3. While the Bitcoin wallet will produce a new address you can continue to re-use existing addresses forever.   When a new address is made it doesn't invalidate any prior addresses.  Once created an address is forever valid in the Bitcoin network. The "new" address is merely a suggestion for your next transaction is you want to retain psuedo-anonymity.   An example of that in action.  Say you use an address for donations on this forum.  Sometime in the future a post w/ your real world info is created.  That address is now linked to your meatpace identity.  You wouldn't want to for example use that address to accept payments for drugs as you have now broken your own pseudo-anonymity.  This goes beyond just illegal activity.  Some people feel their economic activity should be private.  Using new address for each distinct activity helps to retain that anonymity.  On the other hand there is no purpose in using a new address for each similar payment (i.e. using new address every time your mining pool pays you).

As long as you retain the private key which is stored in the wallet.dat file you can access funds send to any "old" address in the future.  If you lose the private key then people can still send funds to an address but those funds are lost forever as you will be unable to move/spend them.  So be sure to make regular backups of your wallet.dat file.
barbarousrelic
Hero Member
*****
Offline Offline

Activity: 675
Merit: 502


View Profile
November 22, 2011, 02:09:45 PM
 #3

2.   Nothing prevents it but the address space is 2^160.  The odds of creating an address which already exists is so improbable to be considered 0%.

For comparison, the number of atoms in the universe is somewhere on the order of 2^80. link

Do not waste your time debating whether Bitcoin can work. It does work.

"Early adopters will profit" is not a sufficient condition to classify something as a pyramid or Ponzi scheme. If it was, Apple and Microsoft stock are Ponzi schemes.

There is no such thing as "market manipulation." There is only buying and selling.
BTCurious
Hero Member
*****
Offline Offline

Activity: 714
Merit: 504


^SEM img of Si wafer edge, scanned 2012-3-12.


View Profile
November 22, 2011, 02:13:48 PM
 #4

If all the people on the entire planet had a fancy videocard, and all of them started generating random addresses, and kept doing that for 100 years, the chance they would at some point hit your address is:
0.00000000000000000002%

Beroper
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
November 23, 2011, 06:48:52 PM
 #5

good info, happy to know about that . Grin
netrin
Sr. Member
****
Offline Offline

Activity: 322
Merit: 251


FirstBits: 168Bc


View Profile
November 23, 2011, 07:33:38 PM
Last edit: November 23, 2011, 07:44:42 PM by netrin
 #6

For comparison, the number of atoms in the universe is somewhere on the order of 2^80 (10^80 or 2^265). link

While both are huge, the difference is not trivial.

(FYI, the number of atoms in the Earth are about 10^50 or 2^166 which is close to the size of the RIPEMD-160 public key hash space)

Greenlandic tupilak. Hand carved, traditional cursed bone figures. Sorry, polar bear, walrus and human remains not available for export.
barbarousrelic
Hero Member
*****
Offline Offline

Activity: 675
Merit: 502


View Profile
November 27, 2011, 07:23:15 PM
 #7

For comparison, the number of atoms in the universe is somewhere on the order of 2^80 (10^80 or 2^265). link

While both are huge, the difference is not trivial.

(FYI, the number of atoms in the Earth are about 10^50 or 2^166 which is close to the size of the RIPEMD-160 public key hash space)
Whoops, thanks!

Do not waste your time debating whether Bitcoin can work. It does work.

"Early adopters will profit" is not a sufficient condition to classify something as a pyramid or Ponzi scheme. If it was, Apple and Microsoft stock are Ponzi schemes.

There is no such thing as "market manipulation." There is only buying and selling.
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!