Giter Site home page Giter Site logo

cosmos-snapshot's People

Stargazers

 avatar  avatar

cosmos-snapshot's Issues

Allow custom ports

Currently the script assumes default port assignments are used. This should be the default, but a flag should be implemented to allow overriding these ports.

Add support for different service names

Currently, the script assumes that Cosmovisor is installed and controlling the chain's daemon. This should remain the default, with an optional flag, -s/--service, that dictates the service stop/start.

State Sync should preserve the address books

On testnets is can sometimes be hard to find peers if there are no seed nodes. When state sync runs it should not remove the addressbook as it can cause issues finding peers again.

Script should exit early if BLOCK_HEIGHT is null

If the cosmovisor or chain daemon service is not starting/running properly, the BLOCK_HEIGHT query may fail to produce a result. In this case, the snapshot script should exit early as to not upload a snapshot of unknown height.

Add cleanup script/service

Add a cleanup script/service to prevent storing too many redundant snapshots. The latest snapshot should be kept while the others can be safely deleted after the latest object has been updated to point to the new object URL.

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.