Pages:
Author

Topic: MPoolMonitor 4.2-monitors most pools, idle worker notification, blockchain.info - page 10. (Read 100817 times)

legendary
Activity: 1540
Merit: 1001
New version:

- adds support for Eclipse, 50BTC, and P2Pool
- renamed to MPoolMonitor since it's no longer just for OzCoin

M
legendary
Activity: 1540
Merit: 1001
- This is written for .Net 3.5.  I'm pretty sure that means Windows only.  Sorry linux and mac folks, this is the only dev environment I have.
I'm sure it will work with Mono as its a simple program, but someone with Linux will have to verify.
Apparently not as it is currently packaged.

"$ mono OzcoinWidget-Windows.EXE
 Cannot open assembly 'OzcoinWidget-Windows.EXE': File does not contain a valid CIL image."

Perhaps if some dis-assembly was performed required components could be exposed.

If you're looking at the official ozcoin widget, it has a linux version already.

M
sr. member
Activity: 476
Merit: 250
- This is written for .Net 3.5.  I'm pretty sure that means Windows only.  Sorry linux and mac folks, this is the only dev environment I have.
I'm sure it will work with Mono as its a simple program, but someone with Linux will have to verify.
Apparently not as it is currently packaged.

"$ mono OzcoinWidget-Windows.EXE
 Cannot open assembly 'OzcoinWidget-Windows.EXE': File does not contain a valid CIL image."

Perhaps if some dis-assembly was performed required components could be exposed.
hero member
Activity: 686
Merit: 500
- This is written for .Net 3.5.  I'm pretty sure that means Windows only.  Sorry linux and mac folks, this is the only dev environment I have.
I'm sure it will work with Mono as its a simple program, but someone with Linux will have to verify.
legendary
Activity: 1540
Merit: 1001
I originally wrote this in 2012 because the OzCoin pool widget didn't work well for me.  I've since expanded it to include support for BTCGuild, Multipool, Eligius, CKPool, Eclipse, 50btc, P2Pool, BitMinter, LTCRabbit, and Slush's pool as well. It also includes support for the data from blockchain.info, such as current/next difficulty and USD value. I've designed it such that I should be able to easily add support for any other pool that has a proper JSON API.  Requests are welcome; if you want a specific pool added, speak up!

Donations in BTC is what keeps this going!  1BA8JrBParQCURrUUfxRusfXyU5NKfWAgn
However, don't forget to support your favorite pool and mining software too!  If it's fee free, give them a little something back!

Download link: MPoolMonitor42.zip

Code:
  File: MPoolMonitor42.zip
CRC-32: 83cec612
   MD4: a6c3aaee3c1d77f5ee123215d4796479
   MD5: a2aa5e30dacfd0354ba30b3b5206c11f
 SHA-1: 79bee88edf9369e806e540bf5f3c4dabc9a911d2

Github link: https://github.com/mdude77/MPoolMonitor





General
- This is written for .Net 4.0.  This means windows only.  Maybe someday I'll try port it to another dev environment that can build for multiple OSs.
- Configuration is stored in the registry at HKCU\Software\MMiningMonitor.
- If a pool's hash rate says API ERRORx, run your cursor over it to see the underlying error message.  Probably related to the pool web site having a problem, or something wrong with your API info.  To confirm your key is right, go to the appropriate URL for your pool with that key and look at the output.  If it looks like a bunch of gobbly gook, with {braces} and commas, then the key should be good.  If it says something else, the key is likely the culprit.
- The Avg hashrate listed for workers is the average of the last 60 readings for that worker.  
- It can store statistics in a local MS Access database.  Right now, if enabled, it stores worker hash rates, pool hash rate, your total hash rate, and share counts per refresh interval.  This is an Access 2007 DB, so if you aren't Access savvy, this won't mean anything to you.  With enough demand, I can make this exportable from the app in a .CSV file for your use.
- It can auto refresh every 5 minutes up to every 60 minutes, and/or refresh on demand.
- There isn't anything more to this than meets the eye.  It doesn't "dial home" or look for wallets.  It does what it says, and nothing more.  

Blockchain.info
- These stats come from the API on http://blockchain.info.  There are tons more stats available, I'm only showing what I thought would be of most importance to miners.  
- The estimated next difficulty is based upon the true avg time between blocks for the current difficulty cycle (the value from the API is usually horribly off).  The formula
is (10 / avg_time) * current_difficulty, as BTC is designed to have a block every 10 minutes, and will retarget every 2016 blocks to get it back to 10 minutes.
- This includes a BTC per hashrate estimator on the blockchain.info tab. It defaults to using current values, but you can override them and calculate your own values.  This
also includes a USD per hashrate estimator.

Eligius
- Averages for Eligius intentionally only show for the 256 second reading.  (The average routine is what feeds the "idle worker" logic.)
- Showing the luck values for anything other than "last 10 blocks luck" requires DB stats to be enabled and working.  If you don't have Microsoft Access 2007 or higher on your machine, you can install the Microsoft ACE Engine from https://www.microsoft.com/en-us/download/details.aspx?id=13255.  Be sure to use the 32-bit version, not the 64-bit version.
- The luck values for Eligius update once an hour.
- Sometimes the "balance last block" comes back from Eligius as "N/A".
- The API from Eligius doesn't currently properly support worker names in _format.  It only reports the total across all the _workers.
- Eligius supports up to 3 payments addresses.  If only one address is used, "default" will show as the username in the grid.  Otherwise, the full address will show.  For the
"balance last block", "estimated total", and "payout queue position", all three represent the combination of your multiple addresses.  For the balances, putting your cursor
over the field will show the breakdown of which address has which balance.

Idle worker alerts
- An "idle" worker is one who's had a non zero hash rate for at least 5 minutes and now has a zero hash rate for at least 5 minutes.
- EMail alerts don't seem to work with all email servers.  I'm using out of the box email functionality, and apparently in true Microsoft fashion, it doesn't work with all
servers.  I know it works with google servers, and last I checked, it does not work with Verizon's servers.  I'd like to fix this some day as time permits.
- 50BTC doesn't provide worker hashrates in their API.  That means idle worker alerts won't work for this pool.

P2Pool
- The EstimatedBTC in the Payouts table is the "ideal payout @ 24 hours" value.

CKPool
- The API doesn't currently provide estimated payout info.


Please post here if you have any questions/problems/concerns/whatever.

To do:
- ?

Things I may investigate:
- see if I can get the DB stats code to be more friendly with different versions of office
- revise the idle worker notification code to work with more mail servers
- see if I can add some graphs

Things requested but probably are not going to happen:
- Add support for ghash.io.  There's nothing good about this pool for the community, I can't in my right mind support it.

M
Pages:
Jump to: