Add difficulty adjustment in mining page + Fix pools table on mobile

This commit is contained in:
nymkappa committed 2022-01-28 14:52:12 +09:00
1 parent 091027cc79
commit b9a047b22d
9 files changed
+63 -20

No files matched your search

@@ -29,6 +29,7 @@ export class MiningService {
share: (poolStat.blockCount / stats.blockCount * 100).toFixed(2),
lastEstimatedHashrate: (poolStat.blockCount / stats.blockCount * stats.lastEstimatedHashrate / Math.pow(10, 15)).toFixed(2),
emptyBlockRatio: (poolStat.emptyBlocks / poolStat.blockCount * 100).toFixed(2),
logo: `./resources/mining-pools/` + poolStat.name.toLowerCase().replace(' ', '').replace('.', '') + '.svg',
...poolStat
}
});