Refactor blocks.ts and index 10k block headers at launch

This commit is contained in:
nymkappa
2022-01-05 15:41:14 +09:00
parent 031f69a403
commit 37031ec913
7 changed files with 275 additions and 47 deletions

View File

@@ -1,5 +1,13 @@
import { RowDataPacket } from 'mysql2';
import { IEsploraApi } from './api/bitcoin/esplora-api.interface';
export interface PoolTag extends RowDataPacket {
name: string,
link: string,
regexes: string,
addresses: string,
}
export interface MempoolBlock {
blockSize: number;
blockVSize: number;