<p>Every time a block is successfully mined, the miner releases it immediately. The mining difficulty is adjusted over time to keep the average block release rate at roughly ten minutes. Successfully mining a block is so difficult that all the miners in the world only successfully build a single block, on average, once every ten minutes.</p>

CC BY-SA 3.0
2014-03-09T10:17:29.993Z
So how did it work when it was just satoshi mining? Step1 - he runs the client on his computer. Step 2 - Code from his client sets the difficulty? (Where is the code for this?) Step 3 - He mines the block and receives the coins. - Step 4 - His client releases the second block? (I still don't fully understand this)
Sean
CC BY-SA 3.0
2014-03-09T10:23:47.113Z
Back then, the mining was done in the client, so his client would release each block as it mined it. Every 2016 blocks, it would adjust the [difficulty](https://en.bitcoin.it/wiki/Difficulty) per the specification.
David Schwartz
CC BY-SA 3.0
2014-03-08T18:18:04.057Z
2014-03-08T18:18:04.057Z
David Schwartz
<p>I'm not sure how this exactly works. So roughly every 10 mins a block is released to the network. How is this done?</p>

<p>Does my bitcoin client signal this? Would that mean in theory if there was just one user, one client, you would just mine alone?</p>

<block><mining-technical-details><bitcoin-core-development>
Where is the code that specifies when a block is released?
Sean
# Where is the code that specifies when a block is released?

(Asked by: username_0 on 2014-03-08)

I'm not sure how this exactly works. So roughly every 10 mins a block is released to the network. How is this done?

Does my bitcoin client signal this? Would that mean in theory if there was just one user, one client, you would just mine alone?

**Tags:** block, mining-technical-details, bitcoin-core-development


---

## 1 answers

### Answer by username_1 on 2014-03-08. Score: 3 | Accepted answer

Every time a block is successfully mined, the miner releases it immediately. The mining difficulty is adjusted over time to keep the average block release rate at roughly ten minutes. Successfully mining a block is so difficult that all the miners in the world only successfully build a single block, on average, once every ten minutes.

> **Comments:**
> **username_0**: So how did it work when it was just satoshi mining? Step1 - he runs the client on his computer. Step 2 - Code from his client sets the difficulty? (Where is the code for this?) Step 3 - He mines the block and receives the coins. - Step 4 - His client releases the second block? (I still don't fully understand this)  
> **username_1**: Back then, the mining was done in the client, so his client would release each block as it mined it. Every 2016 blocks, it would adjust the [difficulty](https://en.bitcoin.it/wiki/Difficulty) per the specification.  

---

