bashco / runthenumbers Goto Github PK
View Code? Open in Web Editor NEWaudit the total bitcoin supply at future block height using your full node
Home Page: https://bashco.github.io/RunTheNumbers
audit the total bitcoin supply at future block height using your full node
Home Page: https://bashco.github.io/RunTheNumbers
This script always requires configuration for the RPC credentials and node location, but then once done could be more easily re-used by making the target blocknumber a parm on the script rather than having to edit the script.
Simple change at Line 13 to set the string to "$1" enables this; then the usual error checking required.
When running the script i get an unexpected operator after username, password and blockheight,
645560/645561: 1 blocks remaining
runthenumbers.sh: 22: [: user**: unexpected operator
runthenumbers.sh: 22: [: password**: unexpected operator
runthenumbers.sh: 32: [: 645560: unexpected operator
Its does actually count down still to the target block but when reached it does this
runthenumbers.sh: 32: [: 645560: unexpected operator
runthenumbers.sh: 22: [: 4PhazNaPZDeqdu87W: unexpected operator
runthenumbers.sh: 22: [: user: unexpected operator
runthenumbers.sh: 22: [: password**: unexpected operator
runthenumbers.sh: 32: [: 645561: unexpected operator
It never calls gettxoutsetinfo.
Ubuntu LTS20.04 uses Python 3.8 as the default version which means the default script fails when invoking "python". This is easily rectified by altering the the "python" invocations (lines 30 and 34) to "python3".
Not sure if this is best resolved with an addendum to README or attempting to identify the active python version and then invoke appropriately.. because RTFM always works so well right?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.