Is there a minimum number of transactions in a block?

3

What encourages Bitcoin miners to include lots of transactions in blocks in the Bitcoin blockchain?

It seems like you could quickly add a block with just a single transaction and get the block reward from it.

Is there some incentive for miners to include lots of transactions in blocks?

Jyclop

Posted 2019-04-07T23:06:23.000

Reputation: 33

2It is no quicker to mine a block with one transaction, compared to a block with many transactions.chytrik 2019-04-08T01:07:48.593

Answers

8

A block may contain only one transaction: the coinbase transaction. However, the time it takes to mine a block is not affected by the number of transactions in that block, so mining blocks with fewer transactions does not benefit the miner. On the other hand, miners collect fees from the transactions they include in a block, so by including more transactions in a block, they may collect more fees.

Vecna

Posted 2019-04-07T23:06:23.000

Reputation: 304

2

The answer is one, the coinbase transaction.

Pieter Wuille

Posted 2019-04-07T23:06:23.000

Reputation: 54 032