https://github.com/anzerr/banano.parser
πnano network packet parser
https://github.com/anzerr/banano.parser
banano json network-packets nodejs util
Last synced: about 1 month ago
JSON representation
πnano network packet parser
- Host: GitHub
- URL: https://github.com/anzerr/banano.parser
- Owner: anzerr
- License: mit
- Created: 2018-07-13T12:47:50.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-01-21T16:36:39.000Z (over 4 years ago)
- Last Synced: 2025-10-05T01:37:59.228Z (8 months ago)
- Topics: banano, json, network-packets, nodejs, util
- Language: JavaScript
- Homepage:
- Size: 85 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### `Intro`

Parse network packets from banano into json or json back into network packets
#### `Install`
``` bash
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](https://github.com/anzerr/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.