File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -154,6 +154,10 @@ handshake packet.
154
154
155
155
![ handshake packet layout] ( ./img/handshake-packet-layout.png )
156
156
157
+ ### Notification Packet (` flag = 3 ` )
158
+
159
+ Aside from the flag value, this container is identical to a [ message packet] ( #ordinary-message-packet ) .
160
+
157
161
## Protocol Messages
158
162
159
163
This section lists all defined messages which can be sent and received. The hexadecimal
@@ -291,6 +295,26 @@ TOPICQUERY requests nodes in the [topic queue] of the given topic. The recipient
291
295
request must send one or more NODES messages containing node records registered for the
292
296
topic.
293
297
298
+ ## Protocol Notifications
299
+
300
+ This section lists all defined notifications which can be sent and received. The hexadecimal
301
+ value in parentheses is the ` notification-type ` .
302
+
303
+ ### RELAYINIT (0x01)
304
+
305
+ message-data = [inr-enr, tgt-id, nonce]
306
+ notification-type = 0x01
307
+ inr-enr = initiator ENR
308
+ tgt-id = 256-bit node ID of target
309
+ nonce = uint96 -- nonce of timed out request
310
+
311
+ ### RELAYMSG (0x02)
312
+
313
+ message-data = [init-enr, nonce]
314
+ notification-type = 0x02
315
+ init-enr = initiator ENR
316
+ nonce = uint96 -- nonce of timed out request
317
+
294
318
## Test Vectors
295
319
296
320
A collection of test vectors for this specification can be found at
You can’t perform that action at this time.
0 commit comments