3

If I start a node with a random network id and a custom data directory, I can create an account and start mining.

What I expected after starting the miner is that it won't be able to mine any blocks since there are no other nodes who are submitting transactions.

But, when I started the miner, it started to mine blocks continuously.

So, what does these blocks contain? How can a block be mined without any transactions?

marked as duplicate by galahad, Community Nov 1 '16 at 8:20

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2

the blocks aren't mined just to include the transactions but also to generate new coins, i suggest you to read this discussion

Why does ethereum creates a new block,without even a single transaction?

Not the answer you're looking for? Browse other questions tagged or ask your own question.