Skip to content

Commit 5909b91

Browse files
jnewberysdaftuar
authored andcommitted
BIP339: clarify handshake
1 parent 6014c82 commit 5909b91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bip-0339.mediawiki

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ announcing and fetching transactions.
4141

4242
# A new wtxidrelay message is added, which is defined as an empty message where pchCommand == "wtxidrelay".
4343
# The protocol version of nodes implementing this BIP must be set to 70016 or higher.
44-
# 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.
44+
# 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.
4545
# 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.
4646
# 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.
4747

0 commit comments

Comments
 (0)