Transition new blocks from the mempool onto the blockchain.
Chime on new blocks. fixes #47 fixes #84
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
<span *ngIf="multisig" class="badge badge-pill badge-warning">multisig {{ multisigM }} of {{ multisigN }}</span>
|
||||
<span *ngIf="secondLayerClose" class="badge badge-pill badge-warning">Layer2 Peg-out</span>
|
||||
<span *ngIf="secondLayerClose" class="badge badge-pill badge-warning">Layer{{ network === 'liquid' ? '3' : '2' }} Peg-out</span>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { Component, OnInit, ChangeDetectionStrategy, Input } from '@angular/core';
|
||||
import { Vin, Vout } from '../../interfaces/electrs.interface';
|
||||
import { StateService } from 'src/app/services/state.service';
|
||||
|
||||
@Component({
|
||||
selector: 'app-address-labels',
|
||||
@@ -8,6 +9,7 @@ import { Vin, Vout } from '../../interfaces/electrs.interface';
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
})
|
||||
export class AddressLabelsComponent implements OnInit {
|
||||
network = '';
|
||||
|
||||
@Input() vin: Vin;
|
||||
@Input() vout: Vout;
|
||||
@@ -18,7 +20,11 @@ export class AddressLabelsComponent implements OnInit {
|
||||
|
||||
secondLayerClose = false;
|
||||
|
||||
constructor() { }
|
||||
constructor(
|
||||
stateService: StateService,
|
||||
) {
|
||||
this.network = stateService.network;
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
if (this.vin) {
|
||||
|
||||
Reference in New Issue
Block a user