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">
|
2020-05-24 17:23:56 +02:00
|
|
|
<div class="bitcoin-block text-center mempool-block" id="mempool-block-{{ i }}" [ngStyle]="mempoolBlockStyles[i]">
|
2020-05-09 15:37:50 +02:00
|
|
|
<a [routerLink]="['/mempool-block/' | relativeUrl, i]" class="blockLink"> </a>
|
2020-02-23 21:42:29 +01:00
|
|
|
<div class="block-body" *ngIf="mempoolBlocks?.length">
|
|
|
|
<div class="fees">
|
2020-05-25 17:36:26 +02:00
|
|
|
~{{ projectedBlock.medianFee | number:'1.0-0' }} sat/vB
|
2020-02-23 21:42:29 +01:00
|
|
|
</div>
|
2020-07-20 06:03:53 +02:00
|
|
|
<div class="fee-span">
|
|
|
|
{{ projectedBlock.feeRange[0] | number:'1.0-0' }} - {{ projectedBlock.feeRange[projectedBlock.feeRange.length - 1] | number:'1.0-0' }} sat/vB
|
|
|
|
</div>
|
2020-02-23 21:42:29 +01:00
|
|
|
<div class="block-size">{{ projectedBlock.blockSize | bytes: 2 }}</div>
|
2020-04-11 18:23:39 +02:00
|
|
|
<div class="transaction-count">{{ projectedBlock.nTx | number }} transactions</div>
|
2020-06-07 12:30:32 +02:00
|
|
|
<div class="time-difference" *ngIf="projectedBlock.blockVSize <= 1000000; else mergedBlock">
|
2020-03-25 15:29:40 +01:00
|
|
|
<ng-template [ngIf]="network === 'liquid'" [ngIfElse]="timeDiffMainnet">
|
|
|
|
In < {{ 1 * i + 1 }} minute
|
|
|
|
</ng-template>
|
|
|
|
<ng-template #timeDiffMainnet>
|
|
|
|
In ~{{ 10 * i + 10 }} minutes
|
|
|
|
</ng-template>
|
|
|
|
</div>
|
2020-06-07 12:30:32 +02:00
|
|
|
<ng-template #mergedBlock>
|
|
|
|
<div class="time-difference"><b>({{ projectedBlock.blockVSize / 1000000 | ceil }} blocks)</b></div>
|
2020-02-23 21:42:29 +01:00
|
|
|
</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-03-20 21:38:18 +01:00
|
|
|
<div *ngIf="arrowVisible" id="arrow-up" [ngStyle]="{'right': rightPosition + 75 + 'px', transition: transition }"></div>
|
2020-02-16 16:15:07 +01:00
|
|
|
</div>
|