copay-crown
Version:
A Secure Crown Wallet
41 lines (33 loc) • 1.56 kB
HTML
<ion-header>
<ion-navbar>
<ion-title>
{{'Bitcoin Network Fee Policy'|translate}}
</ion-title>
</ion-navbar>
</ion-header>
<ion-content>
<div class="explanation">
<div class="heading" translate>Bitcoin transactions include a fee collected by miners on the network.</div>
<div class="description" translate>The higher the fee, the greater the incentive a miner has to include that transaction in a block. Current fees are determined based on network load and the selected policy.</div>
<div class="estimates">
<div>
<span translate>Average confirmation time</span>:
<span class="fee-minutes" *ngIf="avgConfirmationTime">{{avgConfirmationTime | amDuration: 'minute'}}</span>
<span class="fee-minutes" *ngIf="!avgConfirmationTime && !error">...</span>
<span class="fee-minutes error" *ngIf="!avgConfirmationTime && error" translate>Error</span>
</div>
<div>
<span translate>Current fee rate for this policy</span>:
<span class="fee-rate" *ngIf="feePerSatByte">{{feePerSatByte}} satoshis/byte</span>
<span class="fee-rate" *ngIf="!feePerSatByte && !error">...</span>
<span class="fee-rate error" *ngIf="!feePerSatByte && error" translate>Error</span>
</div>
</div>
</div>
<ion-list radio-group [(ngModel)]="currentFeeLevel" (ionChange)="save()">
<ion-item *ngFor="let data of feeOpts | keys">
<ion-label>{{data.value}}</ion-label>
<ion-radio [value]="data.key"></ion-radio>
</ion-item>
</ion-list>
</ion-content>