GithubHelp home page GithubHelp logo

simpdigit / votalizer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mvines/votalizer

1.0 0.0 0.0 70 KB

solana votalizer

License: Do What The F*ck You Want To Public License

Shell 14.63% Rust 85.37%

votalizer's Introduction

Votalizer

The votalizer uses the Solana RPC PubSub WebSocket Endpoint to monitor validator votes in real time.

If a lockout violation is detected, an incident log file is created with details.

Note that some of the transaction signatures in an incident log file may not be available on http://explorer.solana.com. This occurs specifically when a transaction lands in a non-finalized fork.

To be notified by Slack when an incident occurs, export your desired Slack webhook to the environment before running the votalizer:

export SLACK_WEBHOOK=https://hooks.slack.com/services/...

To be notified by Discord when an incident occurs, export your desired Discord webhook to the environment before running the votalizer:

export DISCORD_WEBHOOK=https://discord.com/api/webhooks/...
export DISCORD_USERNAME=username_to_show_in_message

RPC Node Requirements

The RPC node used by the votalizer must be configured with the --full-rpc-api and --rpc-pubsub-enable-vote-subscription flags.

It's easiest if you just run the votalizer on the same host as your RPC node, and by default the votalizer will already attempt to connect to localhost.

votalizer's People

Contributors

mvines avatar bji avatar haoranyi avatar

Stargazers

Simpdigit 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.