summaryrefslogtreecommitdiff
path: root/bip-0338.mediawiki
diff options
context:
space:
mode:
authorSuhas Daftuar <sdaftuar@gmail.com>2021-03-09 14:25:38 -0500
committerSuhas Daftuar <sdaftuar@gmail.com>2021-03-09 14:25:38 -0500
commitf2d5867bc7effd6aa2b0a7b112ad2bf3ea87f2d0 (patch)
tree0026cc9b4ba0b275e645df5be9207570e6f1db3f /bip-0338.mediawiki
parent333fc69ab9e6ba6d7ced5236db25f599cd6041b3 (diff)
downloadbips-f2d5867bc7effd6aa2b0a7b112ad2bf3ea87f2d0.tar.xz
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.
Diffstat (limited to 'bip-0338.mediawiki')
-rw-r--r--bip-0338.mediawiki2
1 files changed, 2 insertions, 0 deletions
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)