Open kbuggenhout opened 5 years ago
with only stats :
https://web.xmrpool.eu:8119/stats
{"config":{"ports":[{"port":3333,"difficulty":10000,"desc":"Low end hardware (CPU miners)"},{"port":5555,"difficulty":25000,"desc":"Mid range hardware (GPU miners)"},{"port":7777,"difficulty":50000,"desc":"High end hardware (GPU Rigs) / Nicehash etc."},{"port":9999,"difficulty":25000,"desc":"SSL for Claymore 9.7","type":"SSL"},{"port":443,"difficulty":10000,"desc":"For firewall bypass"}],"hashrateWindow":600,"fee":0,"coin":"Monero","symbol":"XMR","depth":30,"donation":0,"coreDonation":0,"doDonations":false,"version":"v0.99.3.3","minPaymentThreshold":100000000000,"minExchangePaymentTreshold":2000000000000,"denominationUnit":10000000000,"blockTime":60,"slushMiningEnabled":false,"weight":120},"network":{"difficulty":71399070529,"height":1663496,"timestamp":1537210304},"pool":{"stats":{"lastBlockFound":"1537172737285"},"blocks":["1cd9c7d293be7d80c225c85a47824f482c424e9e91e5ce034b8394621c26f9cb:1537172737:69807469698:136461008608:0:3878273974150","1663181","23238a2c83c8fb12508eac1b9237f84a33fafcbe427f1842b66102a80abcafb4:1537090887:69569439636:329407667534:0:3899676680128","1662493","4a97dff3acb7fd9d93f0e4ed07498a2ae4488ad3d622fab5518c782d833e872f:1536901888:69767963356:5016441734:0:3903410161011","1660925","97c13b19c52274f6dbff49492605cb0b26bf22c6ff379ccbd26c804b9e6eefb2:1536898870:70166293224:318256652796:0:3970416729002","1660890","c5dbd029ec61fd41e227dc1db0f57fe0e81407235830d1b88581f28b96946237:1536708819:72256864073:82432776752:0:4031574723464","1659303","f9881728e3b1d09cae76ebf7eb4e1b1d4497abf1ab06057d7dbddd9da196a939:1536658525:66130267840:37560139132:0:3922135024293","1658895","52ac68ac35711e25f9fa0b9ad5139551789f16383a7d85bdb89b57108318f978:1536635045:61577516552:153953737620:0:3970854241620","1658664","8ff3da4a17f80a7efcb3bc0f55fb64fb85ea45bac42be046ed30b40ddb7c794c:1536546285:68873344161:34366093600:0:3924444891836","1657960","7b4090bca6a9a29707f7ddcabcc495376d6234297c42b3b5b5fc340726e63753:1536528592:67200993043:358790458050:0:3961043635192","1657803","e528f31a9cdc2d857f1f376ae650e7922a57989572cdd86c6117cb5dfd92d3a3:1536349836:69487643418:71198237458:0:3931341408509","1656327","7e221aba14c73f61ead7fa66679ebf3f5350b77680b93a8dc9000a4b7f4821d1:1536310508:66141350349:21326329105:0:3946512592311","1655994","1b9c386964ec68ccb208cfafedb38a744cddab5927d83c928cc435e00f92d849:1536296771:62983382943:239721669281:0:3934896867001","1655853","682c928b67d726c7369926d5eaa2bf6915f3c787e9ba660c11919483adfdf2ae:1536141462:63756261032:9993312438:0:3951701064871","1654561","43b7549137d1d8cf29a8c1320119769660831ae50cdb873c7c946dde33100a36:1536134361:62519923271:56726162837:0:3975055582363","1654501","babce113eb4e459dfd5f97c94da45b7c8b385f0af045b79a2a8151b8487b1a08:1536095339:60616316987:263238267311:0:3952124202696","1654149"],"totalBlocks":1638,"payments":["202a66710ac275c808028ab5fca04e57a29664b6a067612c3055c7c7ffe890f3:3260000000000:26835760000:6:27","1537178515","ed8307aa9906830a12cbae7560165a847ce229f52a8d26feb743d6623383cb1d:310000000000:4038320000:6:3","1537099300","7b8468e2c27c7800299b33a824c131958d497582dd23bcbfdde3b0b369d76798:3350000000000:29823360000:6:30","1537095696","918e06071f5ed264de44d6c4f0f10b2147c89dab483722df61f33162ab7df99f:640000000000:5920020000:6:5","1536908460","8160ba119de95498d862dc604d57f42a17e70151b03707eae425771437cedc19:3920000000000:29911680000:6:30","1536904859","b41e7bbbd6c14720229fbf83fff37c394edbae1d9aaa5b0bfb1946109adec604:4060000000000:30067470000:6:30","1536904855","95a4a645b9715844fbcc58f3c27e6f1ebab6df78481e92dd6fc3926dd75650a0:3340000000000:29066220000:6:29","1536714023","6cd04ed115daeafc1ab2e93bab2e2c0a1b4ba1b533268a37642159b0c147e635:790000000000:7975890000:6:7","1536667214","cac5238e3a87d67350ca25b4a065fc3f54cdf182ff8544b40f2dde9945c5b042:3380000000000:30028800000:6:30","1536663610","1df300ae317a556382dd70816e583480b66a892bf2ab8b0cc69f3cc635f9eacc:1210000000000:11890960000:6:11","1536642004","c8adb3307410df585937c28f647804194b3a978a5c73ce985ccac8f88e795c78:3430000000000:30042240000:6:30","1536638401","7dde6aefc9ed6b545c9665a205979613056feea4201be057dd469a552330e63b:200000000000:3133400000:6:2","1536555586","614c2133e12fc9d00b4c2e0d2e2800d55f3378a8b84aa941cd563b249a3dc324:3640000000000:30237310000:6:30","1536551984","c041a7609889b977b349e01a09c3dadae9d4a424fa6ee62fd19259acec2bf6fa:3370000000000:26172240000:6:26","1536533977","7309631e3871dc112cf55de8fc3684fafc762341e329424623e04855e90979be:100000000000:2200240000:6:1","1536357549"],"totalPayments":1868,"totalMinersPaid":3843,"blockedWallets":["45SLfxvu355SpjjzibLKaChA4NGoTrQAwZmSopAXQa9UXBT63BvreEoYyczTcfXow6eL8VaEG2X6NcTG67XZFTNPLgdR9iM","44ugN9HtfYoUXNFfGFeKDH8rrqAjE6AQtQqzS6Ar7t6UNp8hRsDrqTkFr6bHbDXn1fXYo25qdYGYNipXTA7V8si277GETzc","TEST","4ALcw9nTAStZSshoWVUJakZ6tLwTDhixhQUQNJkCn4t3fG3MMK19WZM44HnQRvjqmz4LkkA8t565v7iBwQXx2r34HNroSAZ","4D8v1puwh82DBUSEYsvbbHPMuBLVofP36VUCEBB5BP4u1WDrKbq8ZBRZgbqBMtitnV4cp9MC9vxK7C5w2pxVrsWw37yDZwzAJ9cVKtQ6Mx@acf47e928da70ffb","4JJFYm6bZgteMdckP9n5xxUXxhj9c1h9JN44QtoPgXcVGWhaoe5t8Ug8yge8cceGHfC9CXH89AXHTefkYYeCBCkDW2vNB57nBa1D5uPSCx@93dd27d08846ca6b","463tWEBn5XZJSxLU6uLQnQ2iY9xuNcDbjLSjkn3XAXHCbLrTTErJrBWYgHJQyrCwkNgYvyV3z8zctJLPCZy24jvb3NiTcTJ"],"roundHashes":61263022160,"lastBlockFound":"1537172737285","miners":783,"topMiners":[{"miner":"423Wtp9u","hashrate":"208.61 KH"},{"miner":"4449AhaA","hashrate":"50.30 KH"},{"miner":"42bRCmHt","hashrate":"48.27 KH"},{"miner":"4AdTiEe8","hashrate":"40.46 KH"},{"miner":"45z57E5F","hashrate":"39.43 KH"},{"miner":"45Cazgh2","hashrate":"32.19 KH"},{"miner":"433rqMv2","hashrate":"31.02 KH"},{"miner":"42UhLRbB","hashrate":"29.59 KH"},{"miner":"48ypYTt9","hashrate":"29.50 KH"},{"miner":"49PxUaRw","hashrate":"28.69 KH"},{"miner":"45Fr1oQL","hashrate":"20.85 KH"},{"miner":"4BE4129K","hashrate":"20.03 KH"},{"miner":"42VHex6d","hashrate":"15.57 KH"},{"miner":"43Ccfmgv","hashrate":"15.37 KH"},{"miner":"45M1Nyu3","hashrate":"15.20 KH"},{"miner":"4B5n6ecd","hashrate":"15.09 KH"},{"miner":"463t7219","hashrate":"14.49 KH"},{"miner":"49q7VWJr","hashrate":"12.92 KH"},{"miner":"475JJShZ","hashrate":"12.53 KH"},{"miner":"48muJTQR","hashrate":"11.97 KH"}],"hashrate":1665903.4583333333}}
I'll look into it
is it possible to add support for node-cryptonote-pool pool monitoring?
response is quite simple {"stats":{"hashes":"3378881343","lastShare":"1537210489","balance":"86523981569","last_reward":"13775742257","hashrate":"5.92 KH"},"payments":[],"perWorkerStats":[{"workerId":"miner2","hashrate":"2.33 KH","hashes":"1458466343","lastShare":"1537210489"},{"workerId":"miner3","hashrate":"2.00 KH","hashes":"1378890000","lastShare":"1537210479"},{"workerId":"miner4","hashrate":"1.58 KH","hashes":"537500000","lastShare":"1537210480"},{"workerId":"miner6","hashes":"4025000","lastShare":"1536825024"}]}
api is also simple https://web.xmrpool.eu:8119/stats_address?address=PAYMENT_ADDRESS