Skip to content

Commit f2d5867

Browse files
committed
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.
1 parent 333fc69 commit f2d5867

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bip-0338.mediawiki

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,10 @@ 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)

0 commit comments

Comments
 (0)