@anzerr/banano.parser
TypeScript icon, indicating that this package has built-in type declarations

1.0.15 • Public • Published

Intro

GitHub Actions status | publish

Parse network packets from banano into json or json back into network packets

Install

npm install --save git+https://github.com/anzerr/banano.parser.git
npm install --save @anzerr/banano.parser
Add

Examples of usage can be found in the test director or its usage in banano.network

Support
Name JSON to Buffer Buffer to JSON
Bulk Pull
Bulk Pull Blocks
Confirm Ack
Confirm Req
Frontier Req
Keep Alive
Publish
Notes

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.

/@anzerr/banano.parser/

    Package Sidebar

    Install

    npm i @anzerr/banano.parser

    Weekly Downloads

    0

    Version

    1.0.15

    License

    MIT

    Unpacked Size

    30.4 kB

    Total Files

    37

    Last publish

    Collaborators

    • anzerr