Generate mining basic pool ranking (sorted by block found) for a specified timeframe
This commit is contained in:
@@ -1,11 +1,23 @@
|
||||
import { RowDataPacket } from 'mysql2';
|
||||
import { IEsploraApi } from './api/bitcoin/esplora-api.interface';
|
||||
|
||||
export interface PoolTag extends RowDataPacket {
|
||||
export interface PoolTag {
|
||||
id: number | null, // mysql row id
|
||||
name: string,
|
||||
link: string,
|
||||
regexes: string,
|
||||
addresses: string,
|
||||
regexes: string, // JSON array
|
||||
addresses: string, // JSON array
|
||||
}
|
||||
|
||||
export interface PoolInfo {
|
||||
poolId: number, // mysql row id
|
||||
name: string,
|
||||
link: string,
|
||||
blockCount: number,
|
||||
}
|
||||
|
||||
export interface PoolStats extends PoolInfo {
|
||||
rank: number,
|
||||
emptyBlocks: number,
|
||||
}
|
||||
|
||||
export interface MempoolBlock {
|
||||
|
||||
Reference in New Issue
Block a user