Skip to content

Instantly share code, notes, and snippets.

View davidlandais's full-sized avatar

David davidlandais

  • FR
View GitHub Profile
# list enabled
# pm list packages -e
# list disabled
# pm list packages -d
# disable
# pm disable-user --user 0 <package>
# enable
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) );