2020-02-16 16:15:07 +01:00
|
|
|
<div class="mempool-blocks-container">
|
2020-02-23 21:42:29 +01:00
|
|
|
<div class="flashing">
|
|
|
|
<div *ngFor="let projectedBlock of mempoolBlocks; let i = index; trackBy: trackByFn">
|
|
|
|
<div class="bitcoin-block text-center mempool-block" id="mempool-block-{{ i }}" [ngStyle]="getStyleForMempoolBlockAtIndex(i)">
|
|
|
|
<div class="block-body" *ngIf="mempoolBlocks?.length">
|
|
|
|
<div class="fees">
|
2020-03-15 11:12:09 +01:00
|
|
|
<span class="yellow-color">~{{ projectedBlock.medianFee | ceil }} sats/vB</span>
|
2020-02-23 21:42:29 +01:00
|
|
|
</div>
|
|
|
|
<div class="block-size">{{ projectedBlock.blockSize | bytes: 2 }}</div>
|
|
|
|
<div class="transaction-count">{{ projectedBlock.nTx }} transactions</div>
|
2020-03-12 15:56:07 +01:00
|
|
|
<div class="time-difference" *ngIf="projectedBlock.blockVSize < 1000000">In ~{{ 10 * i + 10 }} minutes</div>
|
|
|
|
<ng-template [ngIf]="i === mempoolBlocks.length - 1 && projectedBlock.blockVSize >= 1000000">
|
2020-02-23 21:42:29 +01:00
|
|
|
<div class="time-difference">+{{ projectedBlock.blockVSize / 1000000 | ceil }} blocks</div>
|
|
|
|
</ng-template>
|
2020-02-16 16:15:07 +01:00
|
|
|
</div>
|
2020-02-23 21:42:29 +01:00
|
|
|
<span class="animated-border"></span>
|
2020-02-16 16:15:07 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-02-22 23:23:24 +01:00
|
|
|
<div *ngIf="arrowVisible" id="arrow-up" [ngStyle]="{'right': rightPosition + 75 + 'px' }"></div>
|
2020-02-16 16:15:07 +01:00
|
|
|
</div>
|