2020-08-02 16:00:08 +07:00
|
|
|
import { Component, OnInit, ChangeDetectionStrategy } from '@angular/core';
|
2020-02-17 20:39:20 +07:00
|
|
|
import { WebsocketService } from 'src/app/services/websocket.service';
|
2020-02-16 22:15:07 +07:00
|
|
|
|
|
|
|
@Component({
|
|
|
|
selector: 'app-start',
|
|
|
|
templateUrl: './start.component.html',
|
2020-08-02 16:00:08 +07:00
|
|
|
styleUrls: ['./start.component.scss'],
|
2020-02-16 22:15:07 +07:00
|
|
|
})
|
2020-02-17 20:39:20 +07:00
|
|
|
export class StartComponent implements OnInit {
|
|
|
|
constructor(
|
|
|
|
private websocketService: WebsocketService,
|
|
|
|
) { }
|
|
|
|
|
|
|
|
ngOnInit() {
|
|
|
|
this.websocketService.want(['blocks', 'stats', 'mempool-blocks']);
|
|
|
|
}
|
2020-02-16 22:15:07 +07:00
|
|
|
}
|