File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
packages/portalnetwork/src
wire/utp/PortalNetworkUtp Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,6 @@ import { FoundContent } from '../wire/types.js'
5757
5858import { NetworkDB } from './networkDB.js'
5959
60- import type { INodeAddress } from '@chainsafe/discv5/lib/session/nodeInfo.js'
6160import type { ITalkReqMessage } from '@chainsafe/discv5/message'
6261import type { SignableENR } from '@chainsafe/enr'
6362import type { Debugger } from 'debug'
@@ -113,11 +112,6 @@ export abstract class BaseNetwork extends EventEmitter {
113112 db,
114113 logger : this . logger ,
115114 } )
116- if ( this . portal . metrics ) {
117- this . portal . metrics . knownHistoryNodes . collect = ( ) => {
118- this . portal . metrics ?. knownHistoryNodes . set ( this . routingTable . size )
119- }
120- }
121115 this . gossipManager = new GossipManager ( this , gossipCount )
122116 }
123117
Original file line number Diff line number Diff line change @@ -3,10 +3,11 @@ import type {
33 INewRequest ,
44 INodeAddress ,
55 PortalNetwork ,
6+ PortalNetworkMetrics ,
67} from '../../../index.js'
78import {
8- NetworkNames ,
99 NetworkId ,
10+ NetworkNames ,
1011 Packet ,
1112 PacketType ,
1213 RequestCode ,
You can’t perform that action at this time.
0 commit comments