Bitcoin Forum
November 10, 2024, 11:43:09 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Creating multiple new addresses  (Read 620 times)
richie88 (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 0



View Profile
May 02, 2013, 07:00:03 PM
 #1

Is there an easy way for me to create many addresses (1000+) in bitcoin-qt, and list them in text format so i can get them into a database?

Also, as far as i am aware, addresses never get deleted from the client do they? Is there a limit on the number of addresses held in the bitcoin-qt client or can i keep making them indefinitely?
socrates_
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
May 02, 2013, 07:04:27 PM
 #2

you can generate a lot but you may hit performance issues with >1000.

100 addresses are generated by default. you can increase that by modifying your bitcoin.conf file and increasing the keypool:

# Pre-generate this many public/private key pairs, so wallet backups will be valid for
# both prior transactions and several dozen future transactions.
#keypool=100
richie88 (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 0



View Profile
May 02, 2013, 08:46:04 PM
 #3

They are in the keypool though correct? How do i list them out in plain txt?
socrates_
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
May 04, 2013, 11:29:15 PM
 #4

Not sure if the best, but you can always put 'bitcoind getnewaddress' inside a for loop and write the output to the database.

https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list
richie88 (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 0



View Profile
May 05, 2013, 01:12:00 AM
 #5

Ok, i'll try it this way, thanks
furby
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
May 05, 2013, 02:07:42 AM
 #6

Ok, i'll try it this way, thanks

there is a debug menu you can type that into

BitshireHashaway
Full Member
***
Offline Offline

Activity: 182
Merit: 100



View Profile WWW
May 05, 2013, 02:18:18 AM
 #7

Just wondering, what do you need that many addresses for? Are you planning on selling something and using a different address for everyone or something like that?
TheFirstSearcher
Newbie
*
Offline Offline

Activity: 19
Merit: 0


View Profile
May 05, 2013, 03:29:28 AM
 #8

Look inside wallet.dat file as that should have 100 addresses already generated.

client just does not show them there
gweedo
Legendary
*
Offline Offline

Activity: 1498
Merit: 1000


View Profile
May 05, 2013, 03:30:46 AM
 #9

Bitaddress.org, and you can import than into bitcoin-qt with a simple script but I would keep them in cold storage.
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!