Track transaction among mempool blocks.

This commit is contained in:
Simon Lindh
2020-02-23 05:23:24 +07:00
committed by wiz
parent 6e724d4203
commit ae7bff924b
14 changed files with 53 additions and 35 deletions

View File

@@ -5,7 +5,7 @@
</div>
<div class="text-center" class="blockchain-wrapper">
<div class="position-container" [ngStyle]="{'top': position === 'top' ? '75px' : 'calc(50% - 60px)'}">
<app-mempool-blocks></app-mempool-blocks>
<app-mempool-blocks [txFeePerVSize]="txFeePerVSize"></app-mempool-blocks>
<app-blockchain-blocks [markHeight]="markHeight"></app-blockchain-blocks>
<div id="divider" *ngIf="!isLoading"></div>

View File

@@ -11,6 +11,7 @@ import { StateService } from 'src/app/services/state.service';
export class BlockchainComponent implements OnInit, OnDestroy {
@Input() position: 'middle' | 'top' = 'middle';
@Input() markHeight: number;
@Input() txFeePerVSize: number;
txTrackingSubscription: Subscription;
blocksSubscription: Subscription;