Updated pool summary page to display more info on hashrate and blocks

This commit is contained in:
nymkappa
2022-04-05 00:36:00 +09:00
parent 017999a4fc
commit 70dbf3edfc
7 changed files with 387 additions and 149 deletions

View File

@@ -93,8 +93,19 @@ export interface PoolInfo {
}
export interface PoolStat {
pool: PoolInfo;
blockCount: number;
emptyBlocks: number;
blockCount: {
all: number,
'24h': number,
'1w': number,
};
blockShare: {
all: number,
'24h': number,
'1w': number,
};
estimatedHashrate: number;
reportedHashrate: number;
luck?: number;
}
export interface BlockExtension {