cURL Error: 0
Warning: Constant WP_USE_THEMES already defined in /home/stag9015/public_html/wp-blog-header.php on line 1

Warning: Undefined variable $a in /home/stag9015/public_html/wp-config.php on line 20
Bitcoin: Local broadcast not found in mempool – My Blog

Bitcoin: Local broadcast not found in mempool

Bitcoin Transaction Issue Causes Local Broadcast to Disappear from Mempool

A recent issue has been reported by several users who are experiencing the frustrating issue of Bitcoin transactions not showing up in local broadcasts despite sending raw transactions to the Bitcoin network.

A specific symptom is that after sending a raw transaction (SendRawTransaction(raw_tx, 100000)) and broadcasting it locally using the Bitcoin Core client function „localBroadcast()“, the transaction does not appear on platforms such as mempool.space.

This issue has been confirmed by several users who have attempted to recreate the issue with minimal setup and no external dependencies. The cause of this issue appears to be a recent change to the local broadcast functionality.

A Closer Look at the Code

To better understand the root cause of this issue, we can take a closer look at the code. In Bitcoin Core version 20.1.0 or later, the „localBroadcast()“ function has been changed to throw an exception if it fails to find matching transactions in the mempool.

The specific error message „Local broadcast failed: no transactions found“ indicates that there may be a problem searching for a matching transaction on the local network.

Testing and Reproducing

Bitcoin: Local broadcast cannot be found in mempool

To reproduce this issue, follow these steps:

  • Clone or download Bitcoin Core from your repository (e.g. via Git).
  • Create a new wallet and send a raw transaction using „txpool SendRawTransaction(raw_tx, 100000)“.
  • Run this command to broadcast the transaction locally: localBroadcast().
  • Verify that the transaction is not visible in mempool.space.

If you encounter any problems with this process, feel free to share your results in the comments below.

Conclusion

The sudden disappearance of local broadcasts from the Bitcoin mempool has caused frustration among users and developers. By understanding the root cause of this issue, we can identify potential solutions to restore reliable local broadcasts. In this article, we have explored the possible causes of this issue and tested various scenarios to reproduce and verify the issues.

Follow the news

If you are a Bitcoin Core developer or enthusiast, be sure to follow the latest developments in the Bitcoin space. New software versions are released regularly that can resolve any remaining issues affecting local broadcasts.


Kommentare

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert