From 143c993c5974de14eec92b5a1d317a01056a54e9 Mon Sep 17 00:00:00 2001 From: Antoine Riard Date: Thu, 5 Sep 2024 03:28:54 +0100 Subject: [PATCH 1/2] Add bip-txrelayv2 --- bip-txrelayv2.mediawiki | 51 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 bip-txrelayv2.mediawiki diff --git a/bip-txrelayv2.mediawiki b/bip-txrelayv2.mediawiki new file mode 100644 index 0000000000..4544dad680 --- /dev/null +++ b/bip-txrelayv2.mediawiki @@ -0,0 +1,51 @@ +
+  BIP: XXX
+  Layer: Peer Services
+  Title: Transaction Relay V2
+  Author: Antoine Riard 
+  Comments-Summary: No comments yet.
+  Comments-URI: https://github.com/bitcoin/bips/wiki/Comments:BIP-0XXX
+  Status: Draft
+  Type: Standards Track
+  Created: 2024-09-05
+  License: GPLv2
+
+ +==Abstract== + +This BIP proposes a new Bitcoin transaction relay protocol by introducing new +signaling support, which can be further used by nodes to negotiate new transaction +relay mechanisms and policies. + +==Motivation== + +Historically, upgrades to the transaction relay protocols have been down by updating +the protocol version number, and upgraded peers expecting support for new p2p messages +processing or alteration in current processing of p2p messages from equivalently upgraded +peers. + +This upgrade mechanism raise issues if new processing of current p2p messages is sanctionned +by an upgraded peer at the peering level by a disconnection of the violating non-upgraded peers. +Non-upgraded peers and clients can see their transaction broadcast silently failing for a subset +of theirs opened connections. + +We can improve current upgrade mechanism of the transaction relay protocol by introducing a new +node service bit to signal support for a new v2 transaction relay protocol. Within this protocol, +nodes can negotiate new transaction relay mechanisms and policies. + +==Specification== + +Peers supporting the v2 transaction relay protocol signal support by adverstising +the 13th bit service flag in the addr p2p messages (`ADDR` and `ADDRV2`). + +==Backward compatibility== + +Older clients remain fully compatible and interoperable after this change. + +==Implementation== + +https://github.com/bitcoin/bitcoin/pull/30572 + +==Copyright== + +This BIP is licensed under the GPLv2. From 2a0842b1dc3fc2376ec2b0d201e17c6c95d9b9d6 Mon Sep 17 00:00:00 2001 From: Antoine Riard Date: Fri, 13 Sep 2024 05:56:32 +0100 Subject: [PATCH 2/2] Add SHOULD support BIP324 --- bip-txrelayv2.mediawiki | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bip-txrelayv2.mediawiki b/bip-txrelayv2.mediawiki index 4544dad680..29ff4b5149 100644 --- a/bip-txrelayv2.mediawiki +++ b/bip-txrelayv2.mediawiki @@ -35,6 +35,9 @@ nodes can negotiate new transaction relay mechanisms and policies. ==Specification== +Peers supporting the v2 transaction relay protocol SHOULD support the Version 2 P2P Encrypted +Transport Protocol as specified by BIP324. + Peers supporting the v2 transaction relay protocol signal support by adverstising the 13th bit service flag in the addr p2p messages (`ADDR` and `ADDRV2`).