An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

### `Intro`
![GitHub Actions status | publish](https://github.com/anzerr/banano.parser/workflows/publish/badge.svg)

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.