Giter Club home page Giter Club logo

near-staking-knd's Introduction

NEAR staking knd (kuutamo node distribution)

This project provides a distributed supervisor for neard that implements failover for NEAR validators. NEAR is an application platform built on top of the NEAR protocol blockchain. Validator nodes, run by the community, provide computational resources to the NEAR network and collect monetary rewards at regular intervals, based on the volume of work (blocks and chunks produced). Validators who do not complete the work assigned to them receive fewer rewards and may be excluded from the group of validators who are allowed to validate for some time.

kuutamod allows multiple NEAR validators to operate in an active-passive setup.

One validator becomes the active validator node, and is started with the validator keys, while the other nodes stay synchronised with the blockchain ready to take over if needed.

In the event of a failure, i.e. a neard crash, network split or hardware failure of the active validator node, a passive instance will get be promoted to an active validator. This is accomplished by kuutamod automatically restarting a passive node with validator keys. Future work is planned to be able to switch active/passive mode at runtime.

To avoid having two active validators running at the same time, kuutamod uses consul by acquiring a distributed lock.

Status: beta

kuutamod is continuously tested and also used in production for validators. However kuutamod's interface is still under active development and might change significantly.

Docs


kuutamolabs
GitHub | Matrix

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.