2020-12-09 01:37:14 +07:00
|
|
|
import { Component, OnInit } from '@angular/core';
|
|
|
|
import { WebsocketService } from 'src/app/services/websocket.service';
|
2020-07-02 17:56:15 +07:00
|
|
|
|
|
|
|
@Component({
|
|
|
|
selector: 'app-status-view',
|
|
|
|
templateUrl: './status-view.component.html'
|
|
|
|
})
|
2020-12-09 01:37:14 +07:00
|
|
|
export class StatusViewComponent implements OnInit {
|
|
|
|
constructor(
|
|
|
|
private websocketService: WebsocketService,
|
|
|
|
) { }
|
|
|
|
|
|
|
|
ngOnInit() {
|
|
|
|
this.websocketService.want(['mempool-blocks', 'stats']);
|
|
|
|
}
|
2020-07-02 17:56:15 +07:00
|
|
|
}
|