Skip to content

Instantly share code, notes, and snippets.

@davidlandais
Created September 28, 2017 11:00
Show Gist options
  • Save davidlandais/bbdb83b263fd70333c4ebb7627b73f99 to your computer and use it in GitHub Desktop.
Save davidlandais/bbdb83b263fd70333c4ebb7627b73f99 to your computer and use it in GitHub Desktop.
const HASHRATE = 2000;
const DIFFICULTY = 6686234.84093497;
const NETHASHRATE = 410599776;
const BLOCKTIME = 139.5;
const BLOCKREWARD = 10;
const SECONDSINDAY = 24*60*60;
console.log( HASHRATE/NETHASHRATE*(SECONDSINDAY/BLOCKTIME*BLOCKREWARD) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment