<ol>
<li><p>Each node is in contact with a handful of peers.</p>
</li>
<li><p>If no miners include your transaction, the money never left your wallet.</p>
</li>
<li><p>Propagation may take a few tens of seconds to reach most of the  network. See
<a href="https://bitcoin.stackexchange.com/q/10821/13866">How long does it take to propagate a newly created block to the entire Bitcoin network and why?</a></p>
</li>
<li><p>Actually length of chain is not important, that's a shorthand way of talking about accumulated proof of work. The branch with the most work invested in it is the one that nodes will select and use. I believe this mainly affects the node's UTXO set (a list of coins in the whole Bitcoin network that are available for spending by their owners). The primary job of the proof of work mechanism and of miners is arguably the ordering of transactions.</p>
</li>
</ol>

CC BY-SA 4.0
2021-10-16T19:15:31.520Z
2021-10-16T22:38:10.850Z
2021-10-16T22:38:10.850Z
RedGrittyBrick
<ol>
<li><p>If I initiate a transaction from my wallet, does my transaction go to only one node? Does wallet client send to multiple nodes?</p>
</li>
<li><p>What happens if no miner decides to include my transaction? Would my transaction fail and waste the fee?</p>
</li>
</ol>
<p><a href="https://bitcoin.stackexchange.com/questions/22087/how-does-a-bitcoin-transaction-enter-the-network">How does a bitcoin transaction enter the network?</a></p>
<blockquote>
<p>every peer in the network has the relayed transaction</p>
</blockquote>
<ol start="3">
<li><p>Usually how long does one announced transaction to be disseminated to the entire network? Is there any reference or data on this?</p>
</li>
<li><p>What do we mean by longest available chain? Is it like <code>[1 2 3] vs [1 2 3 4]</code> or <code>[3 2 1] vs [5 6 7 8]</code>? How does the protocol ensure the ordering between transactions?</p>
</li>
</ol>

<bitcoin-core><transactions><wallet><client>
Internals of bitcoin block replication workflow from wallet, and conflict resolution
ldanfrustdsbflqbsdeedrustdf
# Internals of bitcoin block replication workflow from wallet, and conflict resolution

(Asked by: username_0 on 2021-10-16)

1. If I initiate a transaction from my wallet, does my transaction go to only one node? Does wallet client send to multiple nodes?
2. What happens if no miner decides to include my transaction? Would my transaction fail and waste the fee?

[How does a bitcoin transaction enter the network?](https://bitcoin.stackexchange.com/questions/22087/how-does-a-bitcoin-transaction-enter-the-network)

> every peer in the network has the relayed transaction

3. Usually how long does one announced transaction to be disseminated to the entire network? Is there any reference or data on this?
4. What do we mean by longest available chain? Is it like `[1 2 3] vs [1 2 3 4]` or `[3 2 1] vs [5 6 7 8]`? How does the protocol ensure the ordering between transactions?

**Tags:** bitcoin-core, transactions, wallet, client


---

## 1 answers

### Answer by username_1 on 2021-10-16. Score: 1 | Accepted answer

1. Each node is in contact with a handful of peers.
2. If no miners include your transaction, the money never left your wallet.
3. Propagation may take a few tens of seconds to reach most of the network. See
   [How long does it take to propagate a newly created block to the entire Bitcoin network and why?](https://bitcoin.stackexchange.com/q/10821/13866)
4. Actually length of chain is not important, that's a shorthand way of talking about accumulated proof of work. The branch with the most work invested in it is the one that nodes will select and use. I believe this mainly affects the node's UTXO set (a list of coins in the whole Bitcoin network that are available for spending by their owners). The primary job of the proof of work mechanism and of miners is arguably the ordering of transactions.


---

