Parse network packets from banano into json or json back into network packets
npm install --save git+https://github.com/anzerr/banano.parser.git
npm install --save @anzerr/banano.parser
Examples of usage can be found in the test director or its usage in banano.network
Name | JSON to Buffer | Buffer to JSON |
---|---|---|
Bulk Pull | β | β |
Bulk Pull Blocks | β | β |
Confirm Ack | β | β |
Confirm Req | β | β |
Frontier Req | β | β |
Keep Alive | β | β |
Publish | β | β |
BulkPullBlocks doesn't seem to work when sent to a node maybe is malformed?
In FrontierReq the param "count" doesn't seem to change how many frontiers a node will responde with.