List orphaned blocks in the new blocks-bulk API

This commit is contained in:
nymkappa
2023-02-18 14:10:07 +09:00
parent d6a8c3c347
commit 6083b79d5a
4 changed files with 64 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
import { IEsploraApi } from './api/bitcoin/esplora-api.interface';
import { OrphanedBlock } from './api/chain-tips';
import { HeapNode } from "./utils/pairing-heap";
export interface PoolTag {
@@ -163,7 +164,7 @@ export interface BlockExtension {
usd?: number | null;
medianTimestamp?: number;
blockTime?: number;
orphaned?: boolean;
orphans?: OrphanedBlock[] | null;
coinbaseAddress?: string | null;
coinbaseSignature?: string | null;
virtualSize?: number;