Remove fields that won't be used in the frontend for now

This commit is contained in:
nymkappa
2022-02-10 10:25:14 +09:00
parent aa0e6b807a
commit b8e40494aa
4 changed files with 12 additions and 16 deletions

View File

@@ -1,7 +1,7 @@
import { IEsploraApi } from './api/bitcoin/esplora-api.interface';
export interface PoolTag {
id: number | null, // mysql row id
id: number, // mysql row id
name: string,
link: string,
regexes: string, // JSON array
@@ -83,8 +83,10 @@ export interface BlockExtension {
reward?: number;
coinbaseTx?: TransactionMinerInfo;
matchRate?: number;
coinbaseHex?: string;
pool?: PoolTag;
pool?: {
id: number;
name: string;
}
}
export interface BlockExtended extends IEsploraApi.Block {