2018-11-28 16:44:51
SELECT count(*) FROM blocks WHERE findtime BETWEEN DATE_SUB(NOW(), INTERVAL 1 DAY) AND NOW() AND miner LIKE "%hamsterpool%"
= 28
SELECT 144/100*(avg(("poolhash"/"nethash")*100)) FROM "stats" WHERE timestamp BETWEEN DATE_SUB(NOW(), INTERVAL 1 DAY) and now()
= 28.749

fydel
2018-11-28 16:45:39
^^ to calculate the efficiency of the pool. does that make sense to you?

fydel
2018-11-28 16:46:24
i mostly mean the second query.

fydel
2018-11-28 17:16:14
It would be more accurate to count the shares from mrplow

Fireduck
2018-11-28 17:16:34
I guess the pool hash is based on that

Fireduck
2018-11-28 17:40:26
yes

fydel