<p>There are always transactions waiting to be verified. Every Bitcoin transaction ever performed is waiting to get one more verification. Even if you don't include any transactions in a block, that block adds proof of work to every transaction in every prior block.</p>

CC BY-SA 3.0
2014-09-11T20:28:45.547Z
2014-09-11T20:28:45.547Z
David Schwartz
<p>This is essentially correct: the protocol leaves it up to the miner to decide which transactions  to include in a block.  There is no requirement for them to include any transactions at all, other than the "coinbase" transaction which specifies where to send the block reward.</p>

<p>However, most transactions have fees attached, which the miner can collect only by including those transactions in the block.  So this gives the miner an incentive to include transactions if there are any outstanding.</p>

<p>Note that a block with no transactions does still contribute to the security of the currency: it increases the amount of hashing that an attacker would need to do to reverse a transaction recorded in a previous block.  (They would have to produce a chain showing more work than the current one, including the work proved by the zero-transaction block.)</p>

<p>See also <a href="https://bitcoin.stackexchange.com/questions/18260/is-mining-acticity-only-exist-if-there-is-bitcoins-transaction?lq=1">Does mining activity only exist if there are bitcoin transactions?</a>.</p>

CC BY-SA 3.0
2014-09-08T18:42:12.347Z
2014-09-08T18:42:12.347Z
2017-04-13T12:47:33.610Z
Nate Eldredge
<p>As far as I know, mining means verifying transactions and thus keeping the Bitcoin network alive.
Today, at a local meetup, some people have informed me that mining doesn't need transactions. They said that even if there are no transactions waiting to be verified at all, you can just mine away based on the previous block's "hash", and as soon as you find the right salt you create a new block.
That would mean you don't do anything by "mining" except for blowing a bubble. Where is my logic flawed?</p>

CC BY-SA 3.0
2018-02-18T15:14:49.197Z
Possible duplicate of [If there was a period of time with no transactions, what would miners have to do?](https://bitcoin.stackexchange.com/questions/12592/if-there-was-a-period-of-time-with-no-transactions-what-would-miners-have-to-do)
Nate Eldredge
CC BY-SA 4.0
2024-12-11T18:00:58.407Z
similar: [What happens if there are no transactions in a block?](https://bitcoin.stackexchange.com/questions/2021/what-happens-if-there-are-no-transactions-in-a-block). If you believe it’s different, please [edit] the question, make it clear how it’s different and/or how the answers on that question are not helpful for your problem.
Pat Myron
<security><mining-theory><confirmations><empty-blocks>
Can you mine without transactions?
A. Sallai
# Can you mine without transactions?

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

As far as I know, mining means verifying transactions and thus keeping the Bitcoin network alive.
Today, at a local meetup, some people have informed me that mining doesn't need transactions. They said that even if there are no transactions waiting to be verified at all, you can just mine away based on the previous block's "hash", and as soon as you find the right salt you create a new block.
That would mean you don't do anything by "mining" except for blowing a bubble. Where is my logic flawed?

**Tags:** security, mining-theory, confirmations, empty-blocks

> **Comments:**
> **username_1**: Possible duplicate of [If there was a period of time with no transactions, what would miners have to do?](https://bitcoin.stackexchange.com/questions/12592/if-there-was-a-period-of-time-with-no-transactions-what-would-miners-have-to-do)  
> **username_2**: similar: [What happens if there are no transactions in a block?](https://bitcoin.stackexchange.com/questions/2021/what-happens-if-there-are-no-transactions-in-a-block). If you believe it’s different, please [edit] the question, make it clear how it’s different and/or how the answers on that question are not helpful for your problem.  

---

## 2 answers

### Answer by username_1 on 2014-09-08. Score: 7 | Accepted answer

This is essentially correct: the protocol leaves it up to the miner to decide which transactions to include in a block. There is no requirement for them to include any transactions at all, other than the "coinbase" transaction which specifies where to send the block reward.

However, most transactions have fees attached, which the miner can collect only by including those transactions in the block. So this gives the miner an incentive to include transactions if there are any outstanding.

Note that a block with no transactions does still contribute to the security of the currency: it increases the amount of hashing that an attacker would need to do to reverse a transaction recorded in a previous block. (They would have to produce a chain showing more work than the current one, including the work proved by the zero-transaction block.)

See also [Does mining activity only exist if there are bitcoin transactions?](https://bitcoin.stackexchange.com/questions/18260/is-mining-acticity-only-exist-if-there-is-bitcoins-transaction?lq=1).


---

### Answer by username_3 on 2014-09-11. Score: 4

There are always transactions waiting to be verified. Every Bitcoin transaction ever performed is waiting to get one more verification. Even if you don't include any transactions in a block, that block adds proof of work to every transaction in every prior block.


---

