cdhowie / storj_earnings

Earnings calculation script for Storj V3 storagenodes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

storj_earnings

Earnings calculation script for Storj V3 storagenodes

Prerequisites

Python is required to run this script.

This script was tested on Windows 10 and Linux, with Python 2.7 and 3.7. Other OS's and versions will likely also work.

Warning

Especially if you are running on Windows or MacOS, stop the node, copy the bandwidth.db, storage_usage.db and piece_spaced_used.db to a different location and run the script from there. Running the script on these OS's while the node is using it could lead to corruption of the database, which will kill the node.

Usage

Earnings for current month:

python earnings.py /path/to/storj/data

Note: If you omit the path it will look in the current working directory.

Earnings for previous months:

python earnings.py /path/to/storj/data 2019-05

About

Earnings calculation script for Storj V3 storagenodes


Languages

Language:Python 99.0%Language:Dockerfile 1.0%