At the beginning. when nobody owned bitcoins. what was being minned?

1

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?

Ankush Tripathi

Posted 2017-09-10T16:39:16.547

Reputation: 13

Question was closed 2017-09-13T14:07:40.893

right.. but im trying to implement bitcoin protocol in python.. and i wanted an answer which takes into account the implementation part..Ankush Tripathi 2017-09-11T10:14:32.403

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 2017-09-11T13:44:46.180

Answers

2

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.

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.

Jack O'neill

Posted 2017-09-10T16:39:16.547

Reputation: 236

so, they are just hashing the block headers?Ankush Tripathi 2017-09-11T10:19:38.457

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 2017-09-11T10:24:20.520