Bitcoin Forum
May 14, 2024, 08:46:25 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How does the generating new addresses work?  (Read 509 times)
TheNerd (OP)
Member
**
Offline Offline

Activity: 90
Merit: 10


View Profile WWW
March 06, 2013, 04:29:07 PM
 #1

This is a part I haven't got yet, since I'm kinda new.

It seems like you can generate as many as you want bitcoin addresses with the Bitcoin client.
Isn't there a limit?
Are there any potential problems with generating too many?
How do they avoid the chance to people to generate the same address?

"Bitcoin: mining our own business since 2009" -- Pieter Wuille
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715676385
Hero Member
*
Offline Offline

Posts: 1715676385

View Profile Personal Message (Offline)

Ignore
1715676385
Reply with quote  #2

1715676385
Report to moderator
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


View Profile
March 06, 2013, 09:44:39 PM
 #2

It seems like you can generate as many as you want bitcoin addresses with the Bitcoin client.

Yup.

Isn't there a limit?

The client still uses BDB for the wallet.dat.   The previous versions would bog down after the wallet held several thousand addresses, but I'm not sure if the move to LevelDB for the blockchain in v0.8 made that problem go away (at least to where the sluggishness wouldn't reappear even after a level much much higher number of addresses).

Are there any potential problems with generating too many?

To your node, yes -- sluggishness.   To the Bitcoin network?  Nope.

How do they avoid the chance to people to generate the same address?

Maths and keyspace.   i.e., There's no reason to worry about it ever happening.
 - http://bitcointalk.org/index.php?topic=104461.msg1143851#msg1143851


Unichange.me

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


TheNerd (OP)
Member
**
Offline Offline

Activity: 90
Merit: 10


View Profile WWW
March 11, 2013, 07:56:09 PM
 #3

Thank you mate, to the point answers, appreciate it! Smiley

TheNerd (OP)
Member
**
Offline Offline

Activity: 90
Merit: 10


View Profile WWW
March 11, 2013, 07:57:21 PM
 #4

Btw, is there a way to delete already created address?
Especially after it's empty?

Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


View Profile
March 12, 2013, 11:48:12 AM
 #5

Btw, is there a way to delete already created address?
Especially after it's empty?

Nope.   The best you can do is export all the keys, create an empty wallet, then import the keys except those you don't want.

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!