GithubHelp home page GithubHelp logo

pnoch / arweave-tools Goto Github PK

View Code? Open in Web Editor NEW

This project forked from francesco-adamo/arweave-tools

0.0 0.0 0.0 40 KB

A set of useful tools to monitor your Arweave node and gather information quickly

JavaScript 100.00%

arweave-tools's Introduction

arweave-tools

A set of useful tools to monitor your Arweave node and gather information quickly.

Requirements

Node.js https://nodejs.org

Installation

  1. Git clone this repo git clone https://github.com/francesco-adamo/arweave-tools or download ZIP file.
  2. run npm install in folder to download required dependencies.

Usage

  1. Arweave Monitor
    Run node monitor while Arweave is running to print detailed information about your node and syncing status, with estimates on download speeds and completion times. By default it will update every minute. Run node monitor -h for advanced configuration.

  2. Disk random read speed benchmark
    Run node benchmark -d <mounted_drive> to calculate your disk IOPS and random read speed. The latter can be used with the calculator tool below. The disk must be mounted (ex /mnt/md0).

  3. SPoRA Hashrate calculator
    Run node calculator -r <your_randomx_hashrate> -s <random_read_GiB/s> to estimate your SPoRA hashrate given your randomx h/s (from arweave randomx-benchmark), your disk random read speeds in GiB/s (from included benchmark tool) and your current share of the weave (from your running node and Arweave network). If run with parameter -w <your_share_of_the_weave> it will work fully offline without requiring a running node nor an internet connection.

  4. Arweave Peers lister
    Run node peers to get a peers connection list to be easily passed to your Arweave node when starting it to massively speed up the bootstrapping process. The peers are ordered by latency, fastest first. By default it will return the top 50 peers, but this can be changed with the parameter -n <peers_number>.

Updates

06/24/21: Peers lister tool added.
06/23/21: Benchmark tool added. Calculator tool updated to V1.1 with a new, more accurate, estimation formula.
06/17/21: Initial public release.

Known issues

Sometimes the network sends inaccurate data. When the software detects it and prints an error message just wait for the next cycle update (if running the monitor tool) or just launch the tool again.

arweave-tools's People

Contributors

francesco-adamo avatar pnoch 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.