bayernatoor / braiins_clock Goto Github PK
View Code? Open in Web Editor NEWCLI tool to display your stats from pool.braiins.com
License: MIT License
CLI tool to display your stats from pool.braiins.com
License: MIT License
Getting an error when selecting Braiins pool specific tags.
Error
Cannot retrieve data from Braiins Pool, check you API token: error decoding response body: missing field confirmed_reward
at line 1 column 492.
Solution
Probably an change to their response body. Will investigate.
Right now if the program stops, you'll need to reselect your tags. There should be a way to save these tag lists in a simple db for easy reuse.
When running the program for the first time you're asked to enter the slushpool auth token your blockclock's IP address. If those are entered incorrectly or if they change there is no easy way to modify them.
Fix:
Add a prompt on startup that asks whether they should be changed or a CLI flag to force a reset of the vars on startup
Feature
Braiins API endpoint -- /stats/json/[coin]/ could be used to pull latest block info and display details on the display and flash LEDs every time a new block is found.
https://help.braiins.com/en/support/solutions/articles/77000433512-api-configuration-guide#Latest-Blocks
Could display:
Currently this function makes a call to the slushpool API and the response which comes back as JSON is parsed into a hardcoded struct. If the response were to ever change this would cause and error and likely crash the program.
Should be able to create the struct along with all it's values based on what the response is sending back.
The list is displayed in an unordered way and so the selection numbers always change which is confusing.
FEATURE
Add tiny text when displaying slushpool tags
Ex: display Hash Rate Scoring, in tiny letters on clock. etc...
The clock will randomly reset and display "Hello". Likely a connectivity issue.
Current fix:
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.