Skip to content

Tea-n-Tech/chia-sync-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chia-Sync-Helper 🌱🩹

A small cli helping to sync chia full nodes.

Download

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

Why did I write this command line tool?

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.

What does it do?

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

Improvement Ideas

  • 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

About

A small cli helping with syncing chia full nodes.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages