<p>The first blocks were completely empty and didn't contain any transactions.
The first transaction was in block 170 from Satoshi to Hal Finney, as seen <a href="https://blockexplorer.com/block/00000000d1145790a8694403d4063f323d499e655c83426834d4ce2f8dd4a2ee" rel="nofollow noreferrer">here</a>.</p>

<p>As newly generated coins from mined blocks are only spendable after 100 blocks, the earliest possible block to spend the first coins would have been at block 101.</p>

<p>It is completely legit to mine empty blocks (even if there are pending unconfirmed transactions). <a href="https://blockchain.info/block/0000000000000000000658319f74539c8f4866a5d86a3e9ba293a2569703dd97" rel="nofollow noreferrer">Here is an example of an empty block on April 2017</a>.</p>

CC BY-SA 3.0
2017-09-11T10:19:38.457Z
so, they are just hashing the block headers?
Ankush Tripathi
CC BY-SA 3.0
2017-09-11T10:24:20.520Z
yes. And with that they are helping securing the network and every transaction of the previous blocks because more work on top of block means the blocks are more secure because it gets more difficult to undo previous blocks.
Jack O'Neill
CC BY-SA 3.0
2017-09-10T16:49:10.307Z
2017-09-10T16:49:10.307Z
Jack O'Neill
<p>what I understood about mining a block is that,
New/pending transactions are to be verified and placed into a block solving the proof of work.
The miners are rewarded for this task.</p>

<p>In the very beginning.. when there were no transactions taking place.. what were they mining? what were in those blocks?
how did bitcoin circulate all over the world? </p>

CC BY-SA 3.0
2017-09-10T17:54:10.363Z
See also https://bitcoin.stackexchange.com/questions/2021/what-happens-if-there-are-no-transactions-in-a-block?rq=1 https://bitcoin.stackexchange.com/questions/24098/why-there-are-blocks-with-single-transaction-in-blockchain?rq=1 https://bitcoin.stackexchange.com/questions/46053/why-was-block-289791-empty-of-any-transactions?rq=1 https://bitcoin.stackexchange.com/questions/34089/how-often-does-a-block-have-only-one-transaction https://bitcoin.stackexchange.com/questions/18260/does-mining-activity-only-exist-if-there-are-bitcoin-transactions?noredirect=1&lq=1
Nate Eldredge
CC BY-SA 3.0
2017-09-11T10:14:32.403Z
right.. but im trying to implement bitcoin protocol in python.. and i wanted an answer which takes into account the implementation part..
Ankush Tripathi
CC BY-SA 3.0
2017-09-11T13:44:46.180Z
Can you edit to state your question more specifically, then?  You never said anything about implementation, and the answer you accepted contains exactly the same information as answers to the "duplicate" questions.
Nate Eldredge
<mining-theory><mining-reward><history>
At the beginning. when nobody owned bitcoins. what was being minned?
Ankush Tripathi
# At the beginning. when nobody owned bitcoins. what was being minned?

(Asked by: username_0 on 2017-09-10)

what I understood about mining a block is that,
New/pending transactions are to be verified and placed into a block solving the proof of work.
The miners are rewarded for this task.

In the very beginning.. when there were no transactions taking place.. what were they mining? what were in those blocks?
how did bitcoin circulate all over the world?

**Tags:** mining-theory, mining-reward, history

> **Comments:**
> **username_1**: See also https://bitcoin.stackexchange.com/questions/2021/what-happens-if-there-are-no-transactions-in-a-block?rq=1 https://bitcoin.stackexchange.com/questions/24098/why-there-are-blocks-with-single-transaction-in-blockchain?rq=1 https://bitcoin.stackexchange.com/questions/46053/why-was-block-289791-empty-of-any-transactions?rq=1 https://bitcoin.stackexchange.com/questions/34089/how-often-does-a-block-have-only-one-transaction https://bitcoin.stackexchange.com/questions/18260/does-mining-activity-only-exist-if-there-are-bitcoin-transactions?noredirect=1&lq=1  
> **username_0**: right.. but im trying to implement bitcoin protocol in python.. and i wanted an answer which takes into account the implementation part..  
> **username_1**: Can you edit to state your question more specifically, then?  You never said anything about implementation, and the answer you accepted contains exactly the same information as answers to the "duplicate" questions.  

---

## 1 answers

### Answer by username_2 on 2017-09-10. Score: 2 | Accepted answer

The first blocks were completely empty and didn't contain any transactions.
The first transaction was in block 170 from Satoshi to Hal Finney, as seen [here](https://blockexplorer.com/block/00000000d1145790a8694403d4063f323d499e655c83426834d4ce2f8dd4a2ee).

As newly generated coins from mined blocks are only spendable after 100 blocks, the earliest possible block to spend the first coins would have been at block 101.

It is completely legit to mine empty blocks (even if there are pending unconfirmed transactions). [Here is an example of an empty block on April 2017](https://blockchain.info/block/0000000000000000000658319f74539c8f4866a5d86a3e9ba293a2569703dd97).

> **Comments:**
> **username_0**: so, they are just hashing the block headers?  
> **username_2**: yes. And with that they are helping securing the network and every transaction of the previous blocks because more work on top of block means the blocks are more secure because it gets more difficult to undo previous blocks.  

---

