Show fees rates on acceleration timeline

This commit is contained in:
natsoni
2024-07-11 20:39:52 +09:00
parent 17720b98c1
commit 06b696f0bb
5 changed files with 116 additions and 111 deletions

View File

@@ -1,6 +1,7 @@
import { Component, Input, OnInit, OnChanges } from '@angular/core';
import { ETA } from '../../services/eta.service';
import { Transaction } from '../../interfaces/electrs.interface';
import { Acceleration } from '../../interfaces/node-api.interface';
@Component({
selector: 'app-acceleration-timeline',
@@ -10,6 +11,7 @@ import { Transaction } from '../../interfaces/electrs.interface';
export class AccelerationTimelineComponent implements OnInit, OnChanges {
@Input() transactionTime: number;
@Input() tx: Transaction;
@Input() accelerationInfo: Acceleration;
@Input() eta: ETA;
// A mined transaction has standard ETA and accelerated ETA undefined
// A transaction in mempool has either standardETA defined (if accelerated) or acceleratedETA defined (if not accelerated yet)