Closed tomberek closed 9 years ago
:-1: PR with hack in title is a Hack
Includes WS_SECRET
key, please remove.
cat "999999999999999999999999999999999999" > lib/latest.hash
@d11e9: squashed the commit to remove reference to secret. Regarding the possibility of incorrect reporting. Well, that's easy enough with a single line change in app.json line 526:
self.stats.hashrate = 999999999999999999999999999999999999;
So I agree that it's not perfect, but not worse than it is right now. People just want to have a nice report for their own use.
We're working on a fix for this. Ethminer will have eth_submitHashrate so geth will be able to send the correct hashrate through eth_hashrate: https://github.com/ethereum/go-ethereum/pull/1596
Thanks! On Aug 6, 2015 6:18 AM, "Marian OANCΞA" notifications@github.com wrote:
We're working on a fix for this. Ethminer will have eth_submitHashrate so geth will be able to send the correct hashrate through eth_hashrate: ethereum/go-ethereum#1596 https://github.com/ethereum/go-ethereum/pull/1596
— Reply to this email directly or view it on GitHub https://github.com/cubedro/eth-net-intelligence-api/pull/215#issuecomment-128316350 .
Allows the setting of a file to use as the source of
hashrate
. Useful hack until ethminer hashrates can be gotten from rpc.