Question for Bitcoin developers or more technical people.

When Satoshi launched the network, it was only himself mining, maybe with two computers, and the difficulty was zero, how did he knew that the next block would come out in approximately 10 minutes?

Reply to this note

Please Login to reply.

Discussion

10 mins was chosen by satoshi

Ok, but how is it coded? There is no minutes or seconds or hours in the code. Just block height and difficulty adjustment algorithm.

It's programed in the protocol.. and he waited for others to download the network before the first block was mined from my understanding

AFAIK there isn't any time measures in the code. There is only block height and difficulty adjustment algorithm.

Thanks. I will explain like this next time.. 🤙🏾

I think its just that it took everyone else a little while to figure out how to get the software running so satosgi just calculated it based on the hashing power of his machine.

The initial difficulty adjustment would have been just an estimate, so initial block times would have varied a lot as the network hashrate varied a lot on a relative basis initially.

Once hashrate grew, the difficulty adjustment becomes more precise.

It's really no different today. Block times would have been way off for instance when all the China miners went offline until the next adjustment.

I still don't have it clear.

Do you mean that Satoshi made several tests on how long his computer took to find the correct hash, and adapted the first target to meet the 10 minutes resolution before launching the network?