Check-in [8eb3c74005]
Overview
Comment:Added version information to message types
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 8eb3c74005d8c61c1df39abebeb05afe2a42e79a239bac7c7ad43a858d4375cd
User & Date: rkeene on 2018-07-17 15:47:05
Other Links: manifest | tags
Context
2018-07-18
06:11
Improvements to networking check-in: ea1202b8fd user: rkeene tags: trunk
2018-07-17
15:47
Added version information to message types check-in: 8eb3c74005 user: rkeene tags: trunk
15:14
When creating the wiki page, use a local version of mandoc and post-process it to try to get some useful sort of output check-in: b706fc94d9 user: rkeene tags: trunk
Changes

Modified nano.man from [3f47cde379] to [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
.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
.TE

.B "TODO: Extensions"

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








|
|
|
|
|
|
|
|
|
|
|
|
|







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 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.