1
0
mirror of https://github.com/bitcoin/bips.git synced 2024-11-19 09:50:06 +01:00

Note that tx messages are never allowed on disabletx links

This commit is contained in:
Suhas Daftuar 2021-02-12 08:20:07 -05:00
parent 55a31eb8ee
commit 332b9a4854

View File

@ -61,7 +61,7 @@ in the number of block-relay-only connections that can be made on the network.
==Specification== ==Specification==
# A new disabletx message is added, which is defined as an empty message where pchCommand == "disabletx". # 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. # 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. # 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 that has sent or received a disabletx message to/from a peer MUST NOT send any of these messages to the peer: # A node that has sent or received a disabletx message to/from a peer MUST NOT send any of these messages to the peer:
@ -70,6 +70,7 @@ in the number of block-relay-only connections that can be made on the network.
## getdata messages for merkleblock (BIP 37) ## getdata messages for merkleblock (BIP 37)
## filteradd/filterload/filterclear (BIP 37) ## filteradd/filterload/filterclear (BIP 37)
## mempool (BIP 35) ## mempool (BIP 35)
## tx message
# 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: # 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:
## addr/getaddr ## addr/getaddr
## addrv2 (BIP 155) ## addrv2 (BIP 155)