Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: Shonis on February 16, 2015, 12:41:57 AM



Title: how to generate
Post by: Shonis on February 16, 2015, 12:41:57 AM
how i can genrate 100.000 bitcoin addresses with bitcoin core all this address need to be associated only with 1  wallet.dat  ...


Title: Re: how to generate
Post by: cr1776 on February 16, 2015, 01:30:09 AM
how i can genrate 100.000 bitcoin addresses with bitcoin core all this address need to be associated only with 1  wallet.dat  ...

The default already is pool size=100, see

https://en.bitcoin.it/wiki/Running_Bitcoin

You can alter that value, performance will depend on size and what you are attempting to do.


Title: Re: how to generate
Post by: Shonis on February 16, 2015, 02:39:29 AM
hello thank you .. i check it but i can't find .. i want to create 100k bitcoin addresses fast its possible ? and after export in a file.txt ( this option have bitcoin core ) but i dont know how to create fast 100.000 address  without stay and click generate address for 100.000 times


Title: Re: how to generate
Post by: Rude Boy on February 16, 2015, 02:59:34 AM
bitaddress.org might help to create bulk btc address.. ;)


Title: Re: how to generate
Post by: shorena on February 16, 2015, 08:44:51 AM
hello thank you .. i check it but i can't find .. i want to create 100k bitcoin addresses fast its possible ? and after export in a file.txt ( this option have bitcoin core ) but i dont know how to create fast 100.000 address  without stay and click generate address for 100.000 times

As cr1776 said. Close, set  keypool=100000 in your config file (create it if you need to), start and wait.


Title: Re: how to generate
Post by: Shonis on February 16, 2015, 12:06:31 PM
hello thanks shorena , my bitcoin don't have a bitcoin.conf  why this issue ? only to me ?


Title: Re: how to generate
Post by: Newar on February 16, 2015, 01:36:13 PM
hello thanks shorena , my bitcoin don't have a bitcoin.conf  why this issue ? only to me ?


https://en.bitcoin.it/wiki/Running_Bitcoin#Bitcoin.conf_Configuration_File
Quote
The configuration file is not automatically created; you can create it using your favorite plain-text editor. By default, Bitcoin (or bitcoind) will look for a file named 'bitcoin.conf' in the bitcoin data directory, but both the data directory and the configuration file path may be changed using the -datadir and -conf command-line arguments.
https://en.bitcoin.it/wiki/Data_directory


Title: Re: how to generate
Post by: Borisz on February 16, 2015, 05:51:43 PM
how i can genrate 100.000 bitcoin addresses with bitcoin core all this address need to be associated only with 1  wallet.dat  ...

The default already is pool size=100, see

https://en.bitcoin.it/wiki/Running_Bitcoin

You can alter that value, performance will depend on size and what you are attempting to do.

Aren't these addresses only used when you receive back some coins from a transaction you have sent?

I am not sure if these keys can be exported into a list, but the way I understood was that OP meant was tha he/she wanted to create a list of 100'000 addresses like in a text file to use with his/her wallet. Addresses that can be given out to 3rd parties and receive payments.

There was this vanity address generator tool: https://bitcointalk.org/index.php?topic=25804.0 (https://bitcointalk.org/index.php?topic=25804.0)
I'm not sure if this can be used to simply generated a bunch of random addresses too.


Title: Re: how to generate
Post by: coinpr0n on February 16, 2015, 06:18:50 PM
how i can genrate 100.000 bitcoin addresses with bitcoin core all this address need to be associated only with 1  wallet.dat  ...

The default already is pool size=100, see

https://en.bitcoin.it/wiki/Running_Bitcoin

You can alter that value, performance will depend on size and what you are attempting to do.

Aren't these addresses only used when you receive back some coins from a transaction you have sent?

I am not sure if these keys can be exported into a list, but the way I understood was that OP meant was tha he/she wanted to create a list of 100'000 addresses like in a text file to use with his/her wallet. Addresses that can be given out to 3rd parties and receive payments.

There was this vanity address generator tool: https://bitcointalk.org/index.php?topic=25804.0 (https://bitcointalk.org/index.php?topic=25804.0)
I'm not sure if this can be used to simply generated a bunch of random addresses too.

The addresses are used for anything: for change or requesting payment, etc...

The wallet.dat file is a list of public-private keypairs, so using the bitcoind pool size method seems a valid way to generate those 100000 addresses.


Title: Re: how to generate
Post by: shorena on February 16, 2015, 06:26:11 PM
-snip-
Aren't these addresses only used when you receive back some coins from a transaction you have sent?

You can use the addresses however it pleases you.

I am not sure if these keys can be exported into a list, but the way I understood was that OP meant was tha he/she wanted to create a list of 100'000 addresses like in a text file to use with his/her wallet. Addresses that can be given out to 3rd parties and receive payments.

Bitcoin core can export all private keys and addresses into a text file with a single command. From what OP wrote they are aware of that.

Code:
dumpwallet "filename"

Dumps all wallet keys in a human-readable format.

Arguments:
1. "filename" (string, required) The filename

There was this vanity address generator tool: https://bitcointalk.org/index.php?topic=25804.0 (https://bitcointalk.org/index.php?topic=25804.0)
I'm not sure if this can be used to simply generated a bunch of random addresses too.

It probably can, but if someone asks for bitcoin core advise I usually try to help them with the tool they ask help for and only suggest they use something else if its not possible with the tool or very difficult.

Its like asking for help with your car and someone suggests: "lel, use bike, is good". Its not helpfull even though it might be a valid solution.


Title: Re: how to generate
Post by: Borisz on February 16, 2015, 07:49:26 PM
You can use the addresses however it pleases you.

[...]

Bitcoin core can export all private keys and addresses into a text file with a single command. From what OP wrote they are aware of that.

Code:
dumpwallet "filename"

Dumps all wallet keys in a human-readable format.

Arguments:
1. "filename" (string, required) The filename

[...]

It probably can, but if someone asks for bitcoin core advise I usually try to help them with the tool they ask help for and only suggest they use something else if its not possible with the tool or very difficult.

Its like asking for help with your car and someone suggests: "lel, use bike, is good". Its not helpfull even though it might be a valid solution.

Thanks for explaining!  :)
I knew there was some dump command, tried to look it up quickly, but I must have missed it.

As for the vanity address generator, I only asked/linked just in case OP was not making progress with bitcoin core. Get the car  ;)


Title: Re: how to generate
Post by: shorena on February 16, 2015, 07:51:20 PM
-snip-

Thanks for explaining!  :)
I knew there was some dump command, tried to look it up quickly, but I must have missed it.

As for the vanity address generator, I only asked/linked just in case OP was not making progress with bitcoin core. Get the car  ;)

I tend to use all cars, bikes and motorboats when it comes to bitcoin ;)


Title: Re: how to generate
Post by: nuno12345 on February 18, 2015, 10:10:13 PM
You dont need bitcoin for that.
You can grab any crypto library, for eg C# https://github.com/mb300sd/Bitcoin-Tool (https://github.com/mb300sd/Bitcoin-Tool) and generate a new public and private pair.
Its better if you generate only one and test if they are working before the bulk


Title: Re: how to generate
Post by: tss on February 22, 2015, 07:48:40 AM
i think op is hoping to generate a key already in use by someone.  what are the odds on that again?


Title: Re: how to generate
Post by: shorena on February 22, 2015, 09:15:25 AM
i think op is hoping to generate a key already in use by someone.  what are the odds on that again?

1 / 2160 (per key)

chance to find nothing would be

1-(1/2160)100000

which wolfram alpha rounds do 100% ;)


Title: Re: how to generate
Post by: altcoinex on February 23, 2015, 03:45:31 AM
i think op is hoping to generate a key already in use by someone.  what are the odds on that again?

He could just use http://directory.io/ ;D


Title: Re: how to generate
Post by: shorena on February 23, 2015, 09:20:40 AM
i think op is hoping to generate a key already in use by someone.  what are the odds on that again?

He could just use http://directory.io/ ;D

Odds are the same


Title: Re: how to generate
Post by: Zawamiya on February 24, 2015, 07:24:57 AM
i wonder why OP need that much btc address when he can use one account multiple times
it will hard to manage 100K btc addresses