A small cli helping to sync chia full nodes.
Download prebuild binaries from the releases page or build it yourself with go.
git clone https://github.com/Tea-n-Tech/chia-sync-helper.git
go mod download
go build .
The you can simply run the command line tool with:
./chia-sync-helper --help
My full node was stuck syncing and I saw that every full node I'm connected to is behind me in height. This happens quite frequently to me since the original software does not balance connections as it seems.
This program ensures that no more than half the full nodes we are connected to are behind us in sync height.
Options:
- specify a height tolerance to allow nodes being behind (default 5000 blocks)
- run indefinitely every X seconds
- Installation script for cron job use-case
- Use chia API instead of cli
- Allow a healthy balance of nodes being behind and nodes being further than us