Skip to content

Commit 8b80589

Browse files
committed
BIP324, BIP434: Assign message type id for "feature" message
1 parent ed4fe4c commit 8b80589

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

bip-0324/message_type_ids.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Type | Message | Proposal
1414
34 | utreexotx | [BIP 183 / PR#1923](https://github.com/bitcoin/bips/pull/1923)
1515
35 | uroot | [BIP 183 / PR#1923](https://github.com/bitcoin/bips/pull/1923)
1616
36 | geturoot | [BIP 183 / PR#1923](https://github.com/bitcoin/bips/pull/1923)
17+
37 | feature | [BIP 434](https://github.com/bitcoin/bips/blob/master/bip-0434.md) / [PR#2092](https://github.com/bitcoin/bips/pull/2092)
1718

1819
Note that this table is not authoritative but instead is reflective
1920
of the BIPs proposing the changes. If multiple BIPs make conflicting

bip-0434.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,11 @@ suffix covers part 3 of the BIP). For experimental features that do not
156156
chosen, such as a URL to the repository where development is taking place,
157157
or the sha256 digest of some longer reference.
158158

159+
#### `feature` message 1-byte identifier
160+
159161
Nodes implementing both this BIP and [BIP 324 (v2 P2P encrypted
160162
transport)][BIP324] MUST treat a message with a 1-byte `message_type`
161-
equal to `XXX` that is received prior to `verack` as the `feature` message.
163+
equal to `37` that is received prior to `verack` as the `feature` message.
162164

163165
### Feature negotiation
164166

0 commit comments

Comments
 (0)