Comments (3)
Depends on the pool I guess. There are some apps for phones for monitoring too.
from stratum-mining-proxy.
Yeah I know I can monitor it at the pool but I was wondering if there was a way I could monitor it at the proxy level
from stratum-mining-proxy.
Well, technically, it is open source, you can make whatever changes you want. Just watch out they don't get clobbered if it auto-updates. My guess is not everybody would want the same changes. I'd like to see it rewritten in proper C, I'm not a Python fan at all. I'd probably want to stuff events into a database, but which one? Probably PostgreSQL. Certainly a GUI could be written around it, but I'm reasonably happy with just a terminal window open to it. I see:
2017-04-22 08:51:42,193 INFO proxy client_service.handle_event # New job 54b7 for prevhash a540803d, clean_jobs=True 2017-04-22 08:52:03,393 INFO proxy stratum_listener.submit # [286ms] Share from 'ab1jx.4' accepted, diff 4 2017-04-22 08:52:37,674 INFO proxy client_service.handle_event # New job 54b8 for prevhash a540803d, clean_jobs=True 2017-04-22 08:53:16,463 INFO proxy client_service.handle_event # New job 54b9 for prevhash 01c7aad0, clean_jobs=True 2017-04-22 08:53:18,103 INFO proxy client_service.handle_event # New job 54ba for prevhash 01c7aad0, clean_jobs=True 2017-04-22 08:54:13,265 INFO proxy client_service.handle_event # New job 54bb for prevhash 01c7aad0, clean_jobs=True 2017-04-22 08:54:18,904 INFO proxy stratum_listener.submit # [1496ms] Share from 'ab1jx.4' accepted, diff 4 2017-04-22 08:54:35,304 INFO proxy stratum_listener.submit # [1337ms] Share from 'ab1jx.3' accepted, diff 4 2017-04-22 08:54:38,301 INFO proxy stratum_listener.submit # [738ms] Share from 'ab1jx.5' accepted, diff 4 2017-04-22 08:55:08,584 INFO proxy client_service.handle_event # New job 54bc for prevhash 01c7aad0, clean_jobs=True 2017-04-22 08:55:28,664 INFO proxy client_service.handle_event # New job 54bd for prevhash 01c7aad0, clean_jobs=True 2017-04-22 08:55:41,462 INFO proxy client_service.handle_event # New job 54be for prevhash ffd27a55, clean_jobs=True 2017-04-22 08:55:41,464 INFO proxy client_service.handle_event # New job 54bf for prevhash ffd27a55, clean_jobs=True 2017-04-22 08:55:50,863 INFO proxy stratum_listener.submit # [1996ms] Share from 'ab1jx.3' accepted, diff 4 2017-04-22 08:55:55,544 INFO proxy client_service.handle_event # New job 54c0 for prevhash ffd27a55, clean_jobs=True 2017-04-22 08:56:34,263 INFO proxy stratum_listener.submit # [1728ms] Share from 'ab1jx.5' accepted, diff 4 2017-04-22 08:56:48,664 INFO proxy client_service.handle_event # New job 54c1 for prevhash ffd27a55, clean_jobs=True 2017-04-22 08:57:42,542 INFO proxy client_service.handle_event # New job 54c2 for prevhash ffd27a55, clean_jobs=True 2017-04-22 08:57:57,675 INFO proxy stratum_listener.submit # [211ms] Share from 'ab1jx.5' accepted, diff 4 2017-04-22 08:58:00,945 INFO proxy stratum_listener.submit # [230ms] Share from 'ab1jx.5' accepted, diff 4 2017-04-22 08:58:37,502 INFO proxy client_service.handle_event # New job 54c3 for prevhash ffd27a55, clean_jobs=True 2017-04-22 08:58:46,516 INFO proxy stratum_listener.submit # [200ms] Share from 'ab1jx.5' accepted, diff 4 2017-04-22 08:59:32,564 INFO proxy client_service.handle_event # New job 54c4 for prevhash ffd27a55, clean_jobs=True 2017-04-22 09:00:09,953 INFO proxy stratum_listener.submit # [245ms] Share from 'ab1jx.3' accepted, diff 4 2017-04-22 09:00:16,603 INFO proxy stratum_listener.submit # [194ms] Share from 'ab1jx.6' accepted, diff 4 2017-04-22 09:00:25,729 INFO proxy client_service.handle_event # New job 54c5 for prevhash ffd27a55, clean_jobs=True 2017-04-22 09:01:20,718 INFO proxy client_service.handle_event # New job 54c6 for prevhash ffd27a55, clean_jobs=True
In a GUI I'd probably have icons for workers that change color depending on their state, something like that. Maybe boxes on the screen showing different parameters for each worker. But the GUI would have to be portable to different operating systems, and I don't want to think about trying to support it. The 3 Android monitors I've tried all just take the HTML API link to pool data and show it in a box, so I saved it as a bookmark to my home screen, I can just tap it on my phone and see what's not running. And with litecoinpool.org you also get current exchange rates in that data, I suspect trading's probably more profitable than mining. I think a lot could be done with websockets so just individual fields get updated, like the tables and graphs at https://bitcoinwisdom.com/ But even the proxy doesn't have access to everything it might be useful to know like temperatures and fan speeds on the workers. And please, not in Python.
from stratum-mining-proxy.
Related Issues (20)
- no_midstate
- Does anyone know if this software still works? HOT 1
- share rejected (Upstream not connected)
- Weird text/characters on console output HOT 3
- Couldn't listen on lowdiff.ltcrabbit.com:3333: HOT 1
- Can not build it in OSX HOT 4
- support for ZCash
- RuntimeError: maximum recursion depth exceeded HOT 2
- INFO proxy client_service.handle_event # New job 99999999 for prevhash 99999999, clean_jobs=False
- Can't communicate with cgminer-4.10 HOT 1
- Error comnuication with nicehash HOT 1
- ERROR FOR sphinx , how to do ?
- Errors building image from provided Dockerfile HOT 5
- installation problem on ubuntu HOT 8
- ImportError: No module named stratum HOT 2
- reliance on twisted results in inability to install stratum-mining proxy HOT 1
- NON-SSL link in Distribute setup using PIP package
- wiki
- install setup.py on windows 10 x64
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stratum-mining-proxy.