Add bip-txrelayv2 #1965

pull ariard wants to merge 3 commits into bitcoin:master from ariard:bip-txrelayv2-2nd changing 1 files +54 −0
  1. ariard commented at 12:30 AM on September 15, 2025: none

    If we find a better way to implement reject unrequested transactions in a backward compatible fashion, I’ll withdraw it.

    ML post: https://groups.google.com/g/bitcoindev/c/nWUcXBQbLGU Bitcoin Core conceptual discussion: https://github.com/bitcoin/bitcoin/pull/30572

    Re-opening there is tx-relay work-in-progress available here: https://bitcoinbackbone.org/.

    Open comments on #1663 have been fixed.

  2. Add bip-txrelayv2 143c993c59
  3. Add SHOULD support BIP324 2a0842b1dc
  4. to be squashed: fix grammar nits 0d0924c90c
  5. ariard commented at 11:30 PM on September 15, 2025: none

    By the way I have a question about the BIPs, and not sure where to ask.

    I’m on re-implementing BIP324 in backbone and in my humble opinion there are some sections that could be more well-defined or clarified not only in pseudo-code (e.g around FSChaCha20Poly1305 and FSChaCha20), i.e adding precise typing, use more strict cryptographic vocabulary sometimes, etc.

    When I have a list of erratas and suggestions ready to submit, what should be the process, like I’m opening a pull request for review ? There are not technical changes per se, more clarifying the vocabulary for re-implementators and ease the work there. cc @jonatack @murchandamus

  6. jonatack commented at 4:23 PM on September 17, 2025: member

    When I have a list of erratas and suggestions ready to submit, what should be the process, like I’m opening a pull request for review ?

    Hi @ariard, yes, open a pull request to this repository.

  7. ariard commented at 7:50 PM on October 9, 2025: none

    Hi @ariard, yes, open a pull request to this repository.

    Okay not forgetting that. Shared more code on my BIP324 implementation in Backbone yesterday (https://bitcoinbackbone.org/ — commit 378dcb7590) Next development cycle is more focus on the transaction-relay stack in Backbone. So I’ll update that BIP proposal in consequence when it’s ready, soon.

  8. ariard commented at 11:29 PM on November 19, 2025: none

    Shared an update on txrelayv2 here: https://groups.google.com/g/bitcoindev/c/zD0hNBVrsk0

    To be frank, the technical support for txrelayv2 is easy in itself. I’m still thinking if there are other things to indicate in the BIP e.g how it interacts with Erlay (same than classic tx-sync, reject it but I want to see how it works with tx-announcement management, i.e the flows deal by TxRequestTracker in core). I think I’ll propose a ready for review version of the BIP when I have also code for Erlay support in backbone.

    I have notes for BIP324 too. I’m still finishing some bits of my BIP324 implementation, I’ll share them when it’s done.

  9. jonatack added the label New BIP on Nov 20, 2025
  10. jonatack marked this as a draft on Nov 20, 2025
  11. jonatack commented at 8:16 PM on November 20, 2025: member

    Thanks for the update. Converted to draft -- please ping here when ready for review.

  12. murchandamus commented at 12:11 AM on February 28, 2026: member

    Closed for lack of activity. Please open a new PR or request to reopen this PR when a proposal is under active development.

  13. murchandamus closed this on Feb 28, 2026

  14. ariard commented at 5:14 PM on March 29, 2026: none

    Closed for lack of activity. Please open a new PR or request to reopen this PR when a proposal is under active development. @murchandamus Seeing that only now, while I was searching for other stuff. Let’s take e.g #1489 an old one still open. Latest comment on this pull request is dated 22 November 2024. Latest comment on the current pull request was dated November 19 2025.

    The proposal on this pull request is dated 19 November 2025.

    There is tx-relay code that has been tested partially against bitcoin core tx-relay, with code available at bitcoinbackbone.org.

                                            NetworkMessage::Tx(tx) => {
                                                    if tx_stack_settings.enable_txrelay_v2 {
                                                            let txid = tx.compute_txid();
                                                            if let Ok(mut txn_known_lock) = txn_known.lock() {
                                                                    let is_asked = txn_known_lock.txid_known.get(&txid).is_some();
                                                                    if is_asked { /* TODO: disconnect peer */ };
                                                            }
                                                    }
                                                    tx_sender.send(tx.clone());
                                            }
                                            _ => {
    

    This is unclear under which objective criterias the call to close this pull request has been made…?


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bips. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-14 15:10 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me