Add expected total fees audit

This commit is contained in:
Joost Jager
2023-06-05 13:20:46 +02:00
parent 6076eeed46
commit 3c0bb11208
6 changed files with 28 additions and 6 deletions

View File

@@ -72,6 +72,15 @@
</ng-template>
</td>
</tr>
<tr *ngIf="auditAvailable">
<td i18n="latest-blocks.expected_fees">Expected total fees</td>
<td>
<app-amount [satoshis]="blockAudit?.expectedFees" digitsInfo="1.2-3" [noFiat]="true"></app-amount>
<span class="fiat">
<app-fiat [blockConversion]="blockConversion" [value]="blockAudit?.expectedFees" digitsInfo="1.0-0"></app-fiat>
</span>
</td>
</tr>
</ng-container>
<ng-template #skeletonRows>
<tr>

View File

@@ -149,6 +149,7 @@ export interface BlockAudit extends BlockExtended {
missingTxs: string[],
addedTxs: string[],
matchRate: number,
expectedFees: number,
template: TransactionStripped[],
transactions: TransactionStripped[],
}