2023-07-20 16:26:42 +09:00
|
|
|
<app-indexing-progress *ngIf="!widget"></app-indexing-progress>
|
|
|
|
|
|
|
|
<div class="container-xl" style="min-height: 335px" [class.widget]="widget" [class.full-height]="!widget">
|
|
|
|
<h1 *ngIf="!widget" class="float-left" i18n="master-page.blocks">Accelerations</h1>
|
|
|
|
<div *ngIf="!widget && isLoading" class="spinner-border ml-3" role="status"></div>
|
|
|
|
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
|
|
|
|
<div style="min-height: 295px">
|
|
|
|
<table class="table table-borderless table-fixed">
|
|
|
|
<thead>
|
|
|
|
<th class="txid text-left" i18n="dashboard.latest-transactions.txid">TXID</th>
|
2023-12-07 08:26:32 +00:00
|
|
|
<th class="fee text-right" i18n="transaction.fee|Transaction fee">Final Fee</th>
|
|
|
|
<th class="fee-delta text-right" i18n="accelerator.fee-delta">Max Bid</th>
|
2023-07-20 16:26:42 +09:00
|
|
|
<th class="status text-right" i18n="transaction.status|Transaction Status">Status</th>
|
|
|
|
</thead>
|
2023-12-07 08:26:32 +00:00
|
|
|
<tbody *ngIf="accelerationList$ | async as accelerations; else skeleton" [style]="isLoading ? 'opacity: 0.75' : ''">
|
2023-07-20 16:26:42 +09:00
|
|
|
<tr *ngFor="let acceleration of accelerations; let i= index;">
|
|
|
|
<td class="txid text-left">
|
|
|
|
<a [routerLink]="['/tx' | relativeUrl, acceleration.txid]">
|
|
|
|
<app-truncate [text]="acceleration.txid" [lastChars]="5"></app-truncate>
|
|
|
|
</a>
|
|
|
|
</td>
|
2023-12-07 08:26:32 +00:00
|
|
|
<td *ngIf="acceleration.feePaid" class="fee text-right">
|
|
|
|
{{ (acceleration.feePaid - acceleration.baseFee - acceleration.vsizeFee) | number }} <span class="symbol" i18n="shared.sat|sat">sat</span>
|
|
|
|
</td>
|
|
|
|
<td *ngIf="!acceleration.feePaid" class="fee text-right">
|
|
|
|
~
|
2023-07-20 16:26:42 +09:00
|
|
|
</td>
|
|
|
|
<td class="fee-delta text-right">
|
|
|
|
{{ acceleration.feeDelta | number }} <span class="symbol" i18n="shared.sat|sat">sat</span>
|
|
|
|
</td>
|
|
|
|
<td class="status text-right">
|
2023-08-30 22:24:27 +09:00
|
|
|
<span *ngIf="acceleration.status === 'accelerating'" class="badge badge-warning" i18n="transaction.rbf.mined">Pending</span>
|
2023-07-22 15:30:48 +09:00
|
|
|
<span *ngIf="acceleration.status === 'mined' || acceleration.status === 'completed'" class="badge badge-success" i18n="transaction.rbf.mined">Mined</span>
|
|
|
|
<span *ngIf="acceleration.status === 'failed'" class="badge badge-danger" i18n="accelerator.canceled">Canceled</span>
|
2023-07-20 16:26:42 +09:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
<ng-template #skeleton>
|
|
|
|
<tbody>
|
|
|
|
<tr *ngFor="let item of skeletonLines">
|
|
|
|
<td class="txid text-left">
|
|
|
|
<span class="skeleton-loader" style="max-width: 75px"></span>
|
|
|
|
</td>
|
|
|
|
<td class="fee text-right">
|
|
|
|
<span class="skeleton-loader" style="max-width: 75px"></span>
|
|
|
|
</td>
|
|
|
|
<td class="fee-delta text-right">
|
|
|
|
<span class="skeleton-loader" style="max-width: 75px"></span>
|
|
|
|
</td>
|
|
|
|
<td class="status text-right">
|
|
|
|
<span class="skeleton-loader" style="max-width: 75px"></span>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</ng-template>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<ng-template [ngIf]="!widget">
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
<br>
|
|
|
|
</ng-template>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|