<p>Miners will naturally be inclined to include those transactions in their blocks that give them high transaction fees (though exceptions exist), because apart from the block reward from coinbase transaction, those are the only incentives for miners. So, whatever transactions have reached a miner through the network, her choices will be restricted among those transactions. At a particular time instance, different miners most likely have different snapshots of transactions available to them. So, the answer is no (with very very high probability).</p>

CC BY-SA 3.0
2014-11-11T20:59:54.463Z
Thanks for the explanation. But now what happens to those transactions that don't get put in a block? Is there a limit on the number of transactions that can be placed in a block? Why wouldn't a miner want to include all the transactions received in a block? Sorry for asking so many questions, but I'm trying to build a simple Java cryto-currency that has the basics.
Pol
CC BY-SA 3.0
2014-11-12T07:50:42.527Z
1. Txns that are not yet included in a block *Have to* wait until someone picks them. 2. Max block size is 1 MB and avg txn size is roughly 0.5 KB, so yeah, there is an upper limit. 3.Miner creates the block with txns of her choice, she is free to choose whatever she wants. Though the general trend is to chooce txns that ensures highest profit.
Bitswazsky
CC BY-SA 3.0
2014-11-09T08:01:51.510Z
2014-11-09T18:19:56.003Z
2014-11-09T18:19:56.003Z
Bitswazsky
<p>All valid unconfirmed transactions are broadcasted on the Bitcoin network, therefore all miners in principal have access to the same transactions.<br>
However, the individual miners may receive knowledge of transactions in different order, select transactions to include in blocks by different rules, or may not yet have received every transaction that is currently unconfirmed.</p>

<p><strong>Therefore, each miner has an individual subset of the same set of unconfirmed transactions.</strong></p>

CC BY-SA 3.0
2014-12-30T01:26:19.503Z
2014-12-30T01:26:19.503Z
Murch
<p>Well long answer is No because transactions take time to relay between all peers. If you send coins from a multibit wallet you can see how many peers have seen the transaction, however it takes some time to relay it to all the peers. </p>

<p>Once a block is found, then ALL the peers get a notification that a new block was found and they add it to their respective chains. That is how all the peers stay synchronized on the same chain.</p>

<p>Hope I answered your question!</p>

CC BY-SA 3.0
2014-11-08T20:19:45.337Z
In addition, miners (or controllers for pooled mining) can include whatever valid transactions they want. They can (and do) use different rules for deciding which transactions to include.
David Schwartz
CC BY-SA 3.0
2014-11-08T11:23:40.723Z
2014-11-08T11:23:40.723Z
Marat Arguinbaev
<p>On <a href="https://en.bitcoin.it/wiki/Blocks" rel="nofollow">Bitcoin-Wiki's page about Blocks</a>, it says that "Bitcoin transactions are broadcast to the network by the sender, and all peers trying to solve blocks collect the transaction records and add them to the block they're working to solve.". </p>

<p>So, do all peers have the same transactions in their blocks at all times?</p>

<transactions><blockchain><block>
When miners are working on their block, does everybody's block have the same transactions in them?
Pol
# When miners are working on their block, does everybody's block have the same transactions in them?

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

On [Bitcoin-Wiki's page about Blocks](https://en.bitcoin.it/wiki/Blocks), it says that "Bitcoin transactions are broadcast to the network by the sender, and all peers trying to solve blocks collect the transaction records and add them to the block they're working to solve.".

So, do all peers have the same transactions in their blocks at all times?

**Tags:** transactions, blockchain, block


---

## 3 answers

### Answer by username_1 on 2014-11-09. Score: 3 | Accepted answer

Miners will naturally be inclined to include those transactions in their blocks that give them high transaction fees (though exceptions exist), because apart from the block reward from coinbase transaction, those are the only incentives for miners. So, whatever transactions have reached a miner through the network, her choices will be restricted among those transactions. At a particular time instance, different miners most likely have different snapshots of transactions available to them. So, the answer is no (with very very high probability).

> **Comments:**
> **username_0**: Thanks for the explanation. But now what happens to those transactions that don't get put in a block? Is there a limit on the number of transactions that can be placed in a block? Why wouldn't a miner want to include all the transactions received in a block? Sorry for asking so many questions, but I'm trying to build a simple Java cryto-currency that has the basics.  
> **username_1**: 1. Txns that are not yet included in a block *Have to* wait until someone picks them. 2. Max block size is 1 MB and avg txn size is roughly 0.5 KB, so yeah, there is an upper limit. 3.Miner creates the block with txns of her choice, she is free to choose whatever she wants. Though the general trend is to chooce txns that ensures highest profit.  

---

### Answer by username_2 on 2014-12-30. Score: 1

All valid unconfirmed transactions are broadcasted on the Bitcoin network, therefore all miners in principal have access to the same transactions.  
However, the individual miners may receive knowledge of transactions in different order, select transactions to include in blocks by different rules, or may not yet have received every transaction that is currently unconfirmed.

**Therefore, each miner has an individual subset of the same set of unconfirmed transactions.**


---

### Answer by username_3 on 2014-11-08. Score: 0

Well long answer is No because transactions take time to relay between all peers. If you send coins from a multibit wallet you can see how many peers have seen the transaction, however it takes some time to relay it to all the peers.

Once a block is found, then ALL the peers get a notification that a new block was found and they add it to their respective chains. That is how all the peers stay synchronized on the same chain.

Hope I answered your question!

> **Comments:**
> **username_4**: In addition, miners (or controllers for pooled mining) can include whatever valid transactions they want. They can (and do) use different rules for deciding which transactions to include.  

---

