Giter Club home page Giter Club logo

beacon-api-checker's Introduction

Beacon API Checker

CLI tool for cross-checking beacon API responses across clients

Installing

Dependencies:

  • Rust 1.65.0 stable toolchain
cargo build

Running

Usage: api-checker [OPTIONS] [METRICS_HOST] [METRICS_PORT] [INTERVAL_SECONDS] [HTTP_TIMEOUT]

Arguments:
  [METRICS_HOST]      [default: 127.0.0.1]
  [METRICS_PORT]      [default: 8080]
  [INTERVAL_SECONDS]  
  [HTTP_TIMEOUT]      

Options:
      --beacon-api-endpoints <BEACON_API_ENDPOINTS>  
  -h, --help                                         Print help
  -V, --version                                      Print version

Example

cargo run -- --beacon-api-endpoints="http://localhost:3501" --beacon-api-endpoints="http://localhost:3500"

   Compiling api-checker v0.1.0 (/home/code/rust/api-checker)
    Finished dev [unoptimized + debuginfo] target(s) in 4.87s
     Running `target/debug/api-checker
2023-03-19T01:58:19.414517Z  INFO api_checker: Starting API checker
2023-03-19T01:58:19.414611Z  INFO api_checker: Starting prometheus metrics server
2023-03-19T01:58:19.415726Z  INFO api_checker: Running API checker pipeline
2023-03-19T01:58:24.850151Z  INFO api_checker::endpoints: Got equal /eth/v1/beacon/validators across 2 nodes
2023-03-19T01:58:25.191757Z  INFO api_checker::endpoints: Got equal /eth/v1/beacon/balances across 2 nodes
2023-03-19T01:59:19.415605Z  INFO api_checker: Running API checker pipeline
2023-03-19T01:59:19.772738Z  INFO api_checker::endpoints: Got equal /eth/v1/beacon/validators across 2 nodes
2023-03-19T01:59:20.094600Z  INFO api_checker::endpoints: Got equal /eth/v1/beacon/balances across 2 nodes

beacon-api-checker's People

Contributors

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