Add new stats in mining pool page

This commit is contained in:
nymkappa
2023-03-16 16:13:11 +09:00
parent 870a7e51b1
commit 0ebe0a5dc9
7 changed files with 128 additions and 65 deletions

View File

@@ -86,11 +86,6 @@ export class PoolPreviewComponent implements OnInit {
regexes += regex + '", "';
}
poolStats.pool.regexes = regexes.slice(0, -3);
poolStats.pool.addresses = poolStats.pool.addresses;
if (poolStats.reportedHashrate) {
poolStats.luck = poolStats.estimatedHashrate / poolStats.reportedHashrate * 100;
}
this.openGraphService.waitOver('pool-stats-' + this.slug);