2020-02-16 16:15:07 +01:00
|
|
|
<div class="blocks-container" *ngIf="blocks.length">
|
|
|
|
<div *ngFor="let block of blocks; let i = index; trackBy: trackByBlocksFn" >
|
2020-06-10 18:52:14 +02:00
|
|
|
<div class="text-center bitcoin-block mined-block" id="bitcoin-block-{{ block.height }}" [ngStyle]="blockStyles[i]">
|
2020-05-09 15:37:50 +02:00
|
|
|
<a [routerLink]="['/block/' | relativeUrl, block.id]" [state]="{ data: { block: block } }" class="blockLink"> </a>
|
2020-03-13 16:05:44 +01:00
|
|
|
<div class="block-height">
|
2020-05-09 15:37:50 +02:00
|
|
|
<a [routerLink]="['/block/' | relativeUrl, block.id]" [state]="{ data: { block: block } }">{{ block.height }}</a>
|
2020-03-13 16:05:44 +01:00
|
|
|
</div>
|
2020-02-16 16:15:07 +01:00
|
|
|
<div class="block-body">
|
|
|
|
<div class="fees">
|
2020-05-25 17:36:26 +02:00
|
|
|
~{{ block.medianFee | number:'1.0-0' }} sat/vB
|
2020-02-16 16:15:07 +01:00
|
|
|
</div>
|
2020-07-20 06:03:53 +02:00
|
|
|
<div class="fee-span">
|
2020-08-12 21:53:52 +02:00
|
|
|
{{ block.feeRange[1] | number:'1.0-0' }} - {{ block.feeRange[block.feeRange.length - 1] | number:'1.0-0' }} sat/vB
|
2020-07-20 06:03:53 +02:00
|
|
|
</div>
|
2020-02-16 16:15:07 +01:00
|
|
|
<div class="block-size">{{ block.size | bytes: 2 }}</div>
|
2020-09-10 09:55:49 +02:00
|
|
|
<div class="transaction-count">{{ block.tx_count | number }} transaction<ng-template [ngIf]="block.tx_count !== 1">s</ng-template></div>
|
2020-02-27 19:09:07 +01:00
|
|
|
<div class="time-difference"><app-time-since [time]="block.timestamp" [fastRender]="true"></app-time-since> ago</div>
|
2020-02-16 16:15:07 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-03-20 21:38:18 +01:00
|
|
|
<div [hidden]="!arrowVisible" id="arrow-up" [style.transition]="transition" [ngStyle]="{'left': arrowLeftPx + 'px' }"></div>
|
2020-02-16 16:15:07 +01:00
|
|
|
</div>
|