Last active
March 31, 2020 18:17
-
-
Save Konard/6778a95ccf19281cea53ba440aee062c to your computer and use it in GitHub Desktop.
Storj earnings calculation script for Windows 10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sc stop "storagenode" | |
timeout 5 | |
powershell -Command iwr -outf earnings.py https://raw.githubusercontent.com/ReneSmeekes/storj_earnings/master/earnings.py | |
copy I:\storj\storage\bandwidth.db bandwidth.db | |
copy I:\storj\storage\storage_usage.db storage_usage.db | |
copy I:\storj\storage\piece_spaced_used.db piece_spaced_used.db | |
copy I:\storj\storage\reputation.db reputation.db | |
sc start "storagenode" | |
python earnings.py ./ | |
del bandwidth.db | |
del storage_usage.db | |
del piece_spaced_used.db | |
del reputation.db | |
del earnings.py | |
timeout 30 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment