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-04-09 12:46:30 +02:00
|
|
|
<div class="text-center bitcoin-block mined-block" [class.blink-bg]="block.height % 210000 === 0" id="bitcoin-block-{{ block.height }}" [ngStyle]="getStyleForBlock(block)">
|
2020-02-17 14:39:20 +01:00
|
|
|
<a [routerLink]="['/block/', block.id]" [state]="{ data: { block: block } }" class="blockLink"> </a>
|
2020-03-13 16:05:44 +01:00
|
|
|
<div class="block-height">
|
|
|
|
<a [routerLink]="['/block/', block.id]" [state]="{ data: { block: block } }">{{ block.height }}</a>
|
|
|
|
</div>
|
2020-02-16 16:15:07 +01:00
|
|
|
<div class="block-body">
|
|
|
|
<div class="fees">
|
2020-04-09 10:23:46 +02:00
|
|
|
<span class="yellow-color">~{{ block.medianFee | number:'1.0-0' }} sats/vB</span>
|
2020-02-16 16:15:07 +01:00
|
|
|
</div>
|
|
|
|
<div class="block-size">{{ block.size | bytes: 2 }}</div>
|
2020-04-06 19:44:22 +02:00
|
|
|
<div class="transaction-count">{{ block.tx_count | number }} transactions</div>
|
2020-02-16 16:15:07 +01:00
|
|
|
<br /><br />
|
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>
|