mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-06-15 03:41:03 +00:00
Log backend connections
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import * as WebSocket from 'ws';
|
||||
import * as EventEmitter from 'events';
|
||||
import { timestamp, Maybe, Types, idGenerator } from '@dotstats/common';
|
||||
import { noop, timestamp, Maybe, Types, idGenerator } from '@dotstats/common';
|
||||
import { parseMessage, getBestBlock, Message, BestBlock, SystemInterval } from './message';
|
||||
import { locate, Location } from './location';
|
||||
|
||||
@@ -14,8 +14,6 @@ export interface NodeEvents {
|
||||
emit(event: 'location', location: Location): void;
|
||||
}
|
||||
|
||||
function noop() {}
|
||||
|
||||
export default class Node {
|
||||
public readonly id: Types.NodeId;
|
||||
public readonly name: Types.NodeName;
|
||||
|
||||
Reference in New Issue
Block a user