Save current progress on the block audit page

This commit is contained in:
nymkappa
2022-07-07 19:11:42 +02:00
parent 7b06ee966f
commit 775b9d22cc
18 changed files with 412 additions and 17 deletions

View File

@@ -128,11 +128,20 @@ export interface BlockExtended extends Block {
extras?: BlockExtension;
}
export interface BlockAudit extends BlockExtended {
missingTxs: string[],
addedTxs: string[],
matchRate: number,
template: TransactionStripped[],
transactions: TransactionStripped[],
}
export interface TransactionStripped {
txid: string;
fee: number;
vsize: number;
value: number;
status?: 'found' | 'missing' | 'added';
}
export interface RewardStats {

View File

@@ -70,6 +70,7 @@ export interface TransactionStripped {
fee: number;
vsize: number;
value: number;
status?: 'found' | 'missing' | 'added';
}
export interface IBackendInfo {