431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
|
.TP
.B Not_A_Type
TODOC
.TP
.B Keepalive
The Keepalive message requires exactly 8 IPv6 address and port number
tuples to be sent as its payload. The IPv6 addresses are each 128-bits
(16-bytes) long and the port numbers are 16-bit integers sent in network byte
order. The payload for the Keepalive message type is 144 bytes in size.
.TP
.B Publish
TODOC
.TP
.B Confirm_Req
TODOC
.TP
.B Confirm_Ack
TODOC
.TP
.B Bulk_Pull
TODOC
.TP
.B Bulk_Push
TODOC
.TP
.B Frontier_Req
TODOC
.TP
.B Bulk_Pull_Blocks
TODOC
.SH PROCEDURES
|
>
>
|
|
>
>
>
>
>
>
|
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
|
>
>
>
|
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
|
.TP
.B Not_A_Type
TODOC
.TP
.B Keepalive
The Keepalive message serves as an introduction and beaconing mechanism for
the Nano real-time network.
The Keepalive message requires exactly 8 IPv6 address and port number
tuples to be sent as its payload. The IPv6 addresses are each 128-bits
(16-bytes) long and the port numbers are 16-bit integers sent in little endian
byte order. The payload for the Keepalive message type is 144 bytes in size.
.TP
.B Publish
TODOC
.TP
.B Confirm_Req
TODOC
.TP
.B Confirm_Ack
TODOC
.TP
.B Bulk_Pull
The Bulk_Pull message is used to pull the entire chain for an account, down to
its beginning or to a given block. It takes 2 arguments, both of them 256-bit.
The first argument is the account, so its 256-bit public key should be encoded
as binary in big-endian notation. The second argument is the block hash to
stop sending at, or 256 bits of 0s to indicate that the entire chain should be
sent. The payload for Bulk_Pull messages is 64 bytes in size.
The response from a Bulk_Pull request will be a stream of tuples, each
containing a 256-bit block hash, and a block message. TODOC: Format
.TP
.B Bulk_Push
TODOC
.TP
.B Frontier_Req
The Frontier_Req message is used to pull a list of accounts from a remote node
for the purpose of bootstrapping. It requires 3 arguments: The 256-bit
public key of an account to start with, a 32-bit integer denoting the age of
accounts to return, and a 32-bit integer denoting the number of records to
return. If the
.I age
parameter is
.B 0xffffffff
then all records are returned, regardless of age. If the
.I count
parameter is
.B 0xffffffff
then all records are returned and no limit is imposed.
The response from a Frontier_Req is a 256-bit public key, and the 256-bit
block hash that corresponds to the frontier (most recent block) for that
account's blockchain from the node where the response was generated.
.TP
.B Bulk_Pull_Blocks
TODOC
.SH PROCEDURES
|