<p>According to the <a href="https://en.bitcoin.it/wiki/Satoshi_Client_Transaction_Exchange" rel="nofollow" title="Relevant wiki page">Satoshi client transaction exchange behavior</a>, this does not seem to be the case. However, that page isn't written well.  Looking at the <a href="https://github.com/bitcoin/bitcoin/blob/master/src/main.cpp" rel="nofollow" title="main.cpp file, which contains the relevant functions">actual source code</a>, I cannot see any special behavior for transactions to an address in your wallet, but I do see special behavior for transactions from such an address.</p>

<p>Thus, I do not think the behavior you observed is actually valid, and is more likely a pattern you noticed because human beings are too good at noticing patterns for our own good.</p>

CC BY-SA 3.0
2012-08-28T04:44:52.600Z
2012-08-28T04:44:52.600Z
Daniel H
<p>I'm currently doing some double-spend testing, and it appears that the standard client prefers broadcasting transactions that credit its wallet. That is to say, a client that receives such a transaction broadcasts it more, than it would broadcast other transactions in hopes of getting it into a block sooner. Is this truly the case, or are my observations incorrect?</p>

<transactions><bitcoin-core><nodes><coin-age-priority>
Does Bitcoin prefer broadcasting transactions crediting it?
ThePiachu
# Does Bitcoin prefer broadcasting transactions crediting it?

(Asked by: username_0 on 2012-05-17)

I'm currently doing some double-spend testing, and it appears that the standard client prefers broadcasting transactions that credit its wallet. That is to say, a client that receives such a transaction broadcasts it more, than it would broadcast other transactions in hopes of getting it into a block sooner. Is this truly the case, or are my observations incorrect?

**Tags:** transactions, bitcoin-core, nodes, coin-age-priority


---

## 1 answers

### Answer by username_1 on 2012-08-28. Score: 3 | Accepted answer

According to the [Satoshi client transaction exchange behavior](https://en.bitcoin.it/wiki/Satoshi_Client_Transaction_Exchange "Relevant wiki page"), this does not seem to be the case. However, that page isn't written well. Looking at the [actual source code](https://github.com/bitcoin/bitcoin/blob/master/src/main.cpp "main.cpp file, which contains the relevant functions"), I cannot see any special behavior for transactions to an address in your wallet, but I do see special behavior for transactions from such an address.

Thus, I do not think the behavior you observed is actually valid, and is more likely a pattern you noticed because human beings are too good at noticing patterns for our own good.


---

