Add avg mining pool block mathrate in pools stats API
This commit is contained in:
1 parent
48e919aff9
commit
6b1c1e7cda
3 files changed
+14
-3
No files matched your search
@@ -100,6 +100,7 @@ class Mining {
|
||||
rank: rank++,
|
||||
emptyBlocks: emptyBlocksCount.length > 0 ? emptyBlocksCount[0]['count'] : 0,
|
||||
slug: poolInfo.slug,
|
||||
avgMatchRate: Math.round(100 * poolInfo.avgMatchRate) / 100,
|
||||
};
|
||||
poolsStats.push(poolStat);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user