mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-07-23 13:05:44 +00:00
Cleanup
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { Data } from 'ws';
|
||||
import { Maybe, Opaque } from '@dotstats/common';
|
||||
import { Maybe, Types } from '@dotstats/common';
|
||||
|
||||
export function parseMessage(data: Data): Maybe<Message> {
|
||||
try {
|
||||
@@ -35,13 +35,13 @@ interface MessageBase {
|
||||
|
||||
export interface BestBlock {
|
||||
best: string,
|
||||
height: number,
|
||||
height: Types.BlockNumber,
|
||||
ts: Date,
|
||||
}
|
||||
|
||||
interface SystemConnected {
|
||||
msg: 'system.connected',
|
||||
name: string,
|
||||
name: Types.NodeName,
|
||||
chain: string,
|
||||
config: string,
|
||||
implementation: string,
|
||||
|
||||
Reference in New Issue
Block a user