2023-09-28 15:48:37 +01:00
|
|
|
<div class="blocks" [class.wrap]="wrapBlocks">
|
2023-09-28 21:54:01 +01:00
|
|
|
<ng-container *ngFor="let i of blockIndices">
|
2023-09-28 15:48:37 +01:00
|
|
|
<div class="block-wrapper" [style]="wrapperStyle">
|
|
|
|
<div class="block-container" [style]="containerStyle">
|
|
|
|
<app-block-overview-graph
|
|
|
|
#blockGraph
|
|
|
|
[isLoading]="false"
|
|
|
|
[resolution]="resolution"
|
|
|
|
[blockLimit]="stateService.blockVSize"
|
|
|
|
[orientation]="'top'"
|
|
|
|
[flip]="false"
|
|
|
|
[animationDuration]="animationDuration"
|
|
|
|
[animationOffset]="animationOffset"
|
|
|
|
[disableSpinner]="true"
|
|
|
|
(txClickEvent)="onTxClick($event)"
|
|
|
|
></app-block-overview-graph>
|
|
|
|
<div *ngIf="showInfo && blockInfo[i]" class="info" @infoChange>
|
|
|
|
<h1>{{ blockInfo[i].height }}</h1>
|
2023-10-01 17:59:55 +01:00
|
|
|
<p class="hash">{{ blockInfo[i].id.slice(0, 32) }}<br>{{ blockInfo[i].id.slice(32) }}</p>
|
|
|
|
<h2>{{ blockInfo[i].timeString }}</h2>
|
|
|
|
<h2>{{ blockInfo[i].tx_count }} transactions</h2>
|
|
|
|
<h2>{{ blockInfo[i].extras.medianFee | feeRounding }} sat/vB</h2>
|
|
|
|
<h2>{{ blockInfo[i].size | bytes: 2 : 'B' : 'MB' : true }}</h2>
|
|
|
|
<h2>Mined by {{ blockInfo[i].extras.pool.name || 'Unknown' }}</h2>
|
2023-09-28 15:48:37 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</ng-container>
|
|
|
|
</div>
|