summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2020-08-03 09:44:47 +0100
committerSuhas Daftuar <sdaftuar@gmail.com>2020-08-07 15:33:28 -0400
commit5909b91b939e9f9f11be7a99d3d1afe49af7d6f5 (patch)
treedc105a3f974fea80619966eead195e1307f75cc6
parent6014c8289ecca03ebe34fff7f2947a96c307dcac (diff)
downloadbips-5909b91b939e9f9f11be7a99d3d1afe49af7d6f5.tar.xz
BIP339: clarify handshake
-rw-r--r--bip-0339.mediawiki2
1 files changed, 1 insertions, 1 deletions
diff --git a/bip-0339.mediawiki b/bip-0339.mediawiki
index 5b79c5b..afdfe15 100644
--- a/bip-0339.mediawiki
+++ b/bip-0339.mediawiki
@@ -41,7 +41,7 @@ announcing and fetching transactions.
# A new wtxidrelay message is added, which is defined as an empty message where pchCommand == "wtxidrelay".
# The protocol version of nodes implementing this BIP must be set to 70016 or higher.
-# The wtxidrelay message must be sent in response to a version message from a peer whose protocol version is >= 70016, and prior to sending a verack.
+# The wtxidrelay message MUST be sent in response to a version message from a peer whose protocol version is >= 70016 and prior to sending a verack. A wtxidrelay message received after a verack message MUST be ignored or treated as invalid.
# A new inv type MSG_WTX (0x00000005) is added, for use in both inv messages and getdata requests, indicating that the hash being referenced is a transaction's wtxid. In the case of getdata requests, MSG_WTX implies that the transaction being requested should be serialized with witness as well, as described in BIP 144.
# After a node has sent and received a wtxidrelay message to/from a given peer, the node is required to use the MSG_WTX inv-type when announcing transactions to that peer, or requesting announced transactions from that peer.