<p>There's no such thing as 'aborting'. It's all random anyway. The chance of solving a block on the first try is equal to the chance of solving one on the 1000th try.</p>

<p>It's like the difference between picking the same lottery numbers all your life or picking different ones each week. There is no difference. </p>

CC BY-SA 3.0
2013-11-13T01:56:03.040Z
2013-11-13T01:56:03.040Z
Jannes
<p>The miner won't stop the hash generation of their block. Even with new transactions coming in, they'll add them to their block until the hash is found. It could happen with only 20 transactions or with 400. The difficulty is so large that it's pretty random. So it's not like they get a set of transactions aside and work on those. They keep on working as transactions come in until they find the hash.</p>

CC BY-SA 3.0
2013-11-13T19:08:01.180Z
2013-11-13T19:08:01.180Z
Luca Matteis
<p>When a miner creates blocks, do transactions in that block affect the result? For example, if a miner creates a block, but now a new transaction is broadcast on the network, will the miner stop current work, then add the new transaction as one of the inputs, then recreate the block? </p>

CC BY-SA 3.0
2013-11-13T02:50:19.813Z
You can't "recreate" a block. If it has different transactions, it's a totally different block. When a miner mines a block, they'll start on the next block, typically including all transactions that are valid for inclusion at that time.
David Schwartz
<block>
Do transactions affect the discovery of a block?
kakahong
# Do transactions affect the discovery of a block?

(Asked by: username_0 on 2013-11-12)

When a miner creates blocks, do transactions in that block affect the result? For example, if a miner creates a block, but now a new transaction is broadcast on the network, will the miner stop current work, then add the new transaction as one of the inputs, then recreate the block?

**Tags:** block

> **Comments:**
> **username_1**: You can't "recreate" a block. If it has different transactions, it's a totally different block. When a miner mines a block, they'll start on the next block, typically including all transactions that are valid for inclusion at that time.  

---

## 2 answers

### Answer by username_2 on 2013-11-13. Score: 3 | Accepted answer

There's no such thing as 'aborting'. It's all random anyway. The chance of solving a block on the first try is equal to the chance of solving one on the 1000th try.

It's like the difference between picking the same lottery numbers all your life or picking different ones each week. There is no difference.


---

### Answer by username_3 on 2013-11-13. Score: 1

The miner won't stop the hash generation of their block. Even with new transactions coming in, they'll add them to their block until the hash is found. It could happen with only 20 transactions or with 400. The difficulty is so large that it's pretty random. So it's not like they get a set of transactions aside and work on those. They keep on working as transactions come in until they find the hash.


---

