What is the best method to generate large numbers of bitcoin addresses?
I imagine something like the following would break bitcoind in some fashion:
./bitcoind keypool=100000000
Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency enthusiasts. It only takes a minute to sign up.
Sign up to join this communityWhat is the best method to generate large numbers of bitcoin addresses?
I imagine something like the following would break bitcoind in some fashion:
./bitcoind keypool=100000000
I ran vanitygen -k 1
, which will keep creating addresses matching the pattern 1* until stopped, for approximately five seconds and it generated more than 3,000 addresses. No GPU assistance here.
So, do this:
In one Terminal tab, run vanitygen or oclvanitygen:
vanitygen -k -o addrs 1
In another Terminal tab, run this:
watch 'echo "`wc -l addrs | egrep -o "[0-9]+"` / 3" | bc'
When the number in the second terminal tab is greater than 100M, you're done! The divisor is three because the output file will contain addresses in three line sets: Pattern, Address, Private Key.
Now, find a way to automate that and you'll be golden. You can also just shuffle bits around with another program that just gets the first 100M addresses from the file you generated.
If you just need the keys, but not imported into bitciond:
*) You might want to check if the numbers are in a range, but it's extremely unlikely that they would not.
If you need 100M keys imported into bitcoind - well, that could be a challenge...
The keypool
flag can accomplish that, but it would certainly take a long time. At this scale you might want to look into modifying vanitygen to create such a big number of addresses using GPU. However, there are no off-the-shelf solutions for what you are aiming to do, asides using keypool
flag.