3

If a transaction is sent and dropped from the default mempool before it is included in a block, but nodes with a larger-than-default mempool size exist that still have the transaction, will those nodes retransmit that transaction eventually?

This is a matter of policy, so different Bitcoin implementations may have different behaviors. I'm most curious about Bitcoin Core, since it's very common, but if other node implementations differ, I'm curious about them too.

If such transactions aren't retransmitted, I'm also curious why not, since it seems like such behavior might be useful.

2 Answers 2

4

So far, Bitcoin Core rebroadcasting is a wallet-level responsibility. Transactions that aren't relevant to any of the Bitcoin Core's internal wallet are not rebroadcast at all.

There is work to change that: https://github.com/bitcoin/bitcoin/pull/21061. This makes sense, as right now, observing a rebroadcast is a very clear sign that the transaction belongs to the wallet, which is a privacy leak.

So I think in short the answer is: yes, it makes sense, but so far it hasn't been done.

-1

There is effectively no population of nodes besides Bitcoin Core.

No logic exists to rebroadcast other people's transactions.

2
  • There are some non-Bitcoin Core nodes: coin.dance/nodes#allNodes Since even one node could rebroadcast such transactions, I think the behavior of other implementations is germane, even if there aren't many on the network. Feb 28, 2021 at 0:14
  • The link shows perhaps 15, total. There's no meaningful population of them.
    – Claris
    Feb 28, 2021 at 0:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.