Skip to content

Commit 6014c82

Browse files
jnewberysdaftuar
authored andcommitted
BIP339: consistent capitalization
Use lowercase for message types.
1 parent b4dddbc commit 6014c82

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

bip-0339.mediawiki

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ based on the BIP 141 wtxid of a transaction, rather than its txid.
1818

1919
==Motivation==
2020

21-
Historically, the INV messages sent on the Bitcoin peer-to-peer network to
21+
Historically, the inv messages sent on the Bitcoin peer-to-peer network to
2222
announce transactions refer to transactions by their txid, which is a hash of
2323
the transaction that does not include the witness (see BIP 141). This has been
2424
the case even since Segregated Witness (BIP 141/143/144) has been adopted by
@@ -41,9 +41,9 @@ 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.
45-
# 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.
46-
# 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.
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.
45+
# 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.
46+
# 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
4848
==Backward compatibility==
4949

0 commit comments

Comments
 (0)