From f2d5867bc7effd6aa2b0a7b112ad2bf3ea87f2d0 Mon Sep 17 00:00:00 2001 From: Suhas Daftuar Date: Tue, 9 Mar 2021 14:25:38 -0500 Subject: Add further restrictions on disabletx Clarify that peers must set fRelay=false in order to send disabletx, and that notfound messages may not be sent. --- bip-0338.mediawiki | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bip-0338.mediawiki') diff --git a/bip-0338.mediawiki b/bip-0338.mediawiki index 4e2c220..3cc3f50 100644 --- a/bip-0338.mediawiki +++ b/bip-0338.mediawiki @@ -64,8 +64,10 @@ in the number of block-relay-only connections that can be made on the network. # A new disabletx message is added, which is defined as an empty message with message type set to "disabletx". # The protocol version of nodes implementing this BIP must be set to 70017 or higher. # If a node sets the transaction relay field in the version message to a peer to false, then the disabletx message MAY also be sent in response to a version message from that peer if the peer's protocol version is >= 70017. If sent, the disabletx message MUST be sent prior to sending a verack. +# A node MUST NOT send the disabletx message if the transaction relay field in the version message is omitted or set to true. # A node that has sent or received a disabletx message to/from a peer MUST NOT send any of these messages to the peer: ## inv messages for transactions +## notfound messages for transactions ## getdata messages for transactions ## getdata messages for merkleblock (BIP 37) ## filteradd/filterload/filterclear (BIP 37) -- cgit v1.2.3