Post
Topic
Board Development & Technical Discussion
Re: Question on BTC - about creating new addresses at the beginning
by
HeRetiK
on 01/08/2018, 15:55:47 UTC
OK, understood. Then tell me, please, how do you think, Satoshi, when on his own computer he extracted blocks during the first months, he did not sit and did not manually start (did not write manually) each time a new address to receive the award.

[...]

Ohh... I think now I get your question. At least part of it. All of the early block rewards are sent towards different addresses, hence you wondering about address generation.

As mentioned by fronti, early Bitcoin Core wallet versions were non-deterministic, so each private key was generated at random. Now I'm not sure about Satoshi's original implementation, but later non-deterministic wallet versions of Bitcoin Core generated a collection of random private keys (and the corresponding BTC addresses) in advance and stored them in the wallet.dat file (assuming you still use the non-deterministic Bitcoin Core wallet they still do, obviously). If I recall correctly it's 100 BTC addresses that get generated and stored in advance. Assuming Satoshi's original client behaved in a similar fashion, the original CPU miner would have chosen one address after another of this pool of pre-generated addresses until it ran out, at which point it would generate more random addresses to which to receive coins to.

Is this what you were wondering about?