Diff

Differences From Artifact [3f47cde379]:

To Artifact [8e4b471c4c]:


401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420













421
422
423
424
425
426
427
401
402
403
404
405
406
407













408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427







-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+







.B version
field indicates what version of the Nano protocol this node is using.

The messageType field indicates what type of message is being relayed, and
must conform to the following enumeration
.TS
allbox tab(:);
cb cb cb cb
c l l l.
messageType:Name:On Bootstrap:On Realtime
0x00:Invalid:Yes:Yes
0x01:Not_A_Type:?:?
0x02:Keepalive:No:Yes
0x03:Publish:No:Yes
0x04:Confirm_Req:No:Yes
0x05:Confirm_Ack:No:Yes
0x06:Bulk_Pull:Yes:No
0x07:Bulk_Push:Yes:No
0x08:Frontier_Req:Yes:No
0x09:Bulk_Pull_Blocks:Yes:No
cb cb cb cb cb
c l l l c.
messageType:Name:On Bootstrap:On Realtime:Version
0x00:Invalid:Yes:Yes:0+
0x01:Not_A_Type:?:?:0+
0x02:Keepalive:No:Yes:0+
0x03:Publish:No:Yes:0+
0x04:Confirm_Req:No:Yes:0+
0x05:Confirm_Ack:No:Yes:0+
0x06:Bulk_Pull:Yes:No:?
0x07:Bulk_Push:Yes:No:?
0x08:Frontier_Req:Yes:No:?
0x09:Bulk_Pull_Blocks:Yes:No:11+
.TE

.B "TODO: Extensions"

Following the message header comes the payload for the particular message
type.