Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes #2619 ## Description Adds a new command to celestia-appd called `addrbook`. ``` ./build/celestia-appd addrbook --help Convert a list of peers into an address book. The first argument (peers.txt) should contain a new line separated list of peers. The format for a peer is `id@ip:port` or `id@domain:port`. The second argument (addrbook.json) should be the output filename. The address book is saved to the output file in JSON format. Usage: celestia-appd addrbook peers.txt addrbook.json [flags] ``` ## Testing I was able to run a node on arabica-10 with an `addrbook.json` that was created from [arabica-10/peers.txt](https://github.com/celestiaorg/networks/blob/master/arabica-10/peers.txt). Note, testing failed on mocha-4 due to celestiaorg/networks#349
- Loading branch information