GithubHelp home page GithubHelp logo

chia-sync-helper's Introduction

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

chia-sync-helper's People

Contributors

codie3611 avatar

Watchers

 avatar Manuel avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.