Skip to content

Commit 3d70faf

Browse files
authored
Merge pull request bitcoin#1287 from sdaftuar/2021-02-bip338-fixups
BIP338: Add further restrictions on disabletx
2 parents 54ee25e + 9557152 commit 3d70faf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bip-0338.mediawiki

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,14 @@ in the number of block-relay-only connections that can be made on the network.
6464
# A new disabletx message is added, which is defined as an empty message with message type set to "disabletx".
6565
# The protocol version of nodes implementing this BIP must be set to 70017 or higher.
6666
# 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.
67+
# A node MUST NOT send the disabletx message if the transaction relay field in the version message is omitted or set to true.
6768
# A node that has sent or received a disabletx message to/from a peer MUST NOT send any of these messages to the peer:
6869
## inv messages for transactions
70+
## notfound messages for transactions
6971
## getdata messages for transactions
7072
## getdata messages for merkleblock (BIP 37)
7173
## filteradd/filterload/filterclear (BIP 37)
74+
## feefilter (BIP 133)
7275
## mempool (BIP 35)
7376
## tx message
7477
# It is RECOMMENDED that a node that has sent or received a disabletx message to/from a peer not send any of these messages to the peer:

0 commit comments

Comments
 (0)