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'
57
57
58
58
import { NetworkDB } from './networkDB.js'
59
59
60
- import type { INodeAddress } from '@chainsafe/discv5/lib/session/nodeInfo.js'
61
60
import type { ITalkReqMessage } from '@chainsafe/discv5/message'
62
61
import type { SignableENR } from '@chainsafe/enr'
63
62
import type { Debugger } from 'debug'
@@ -113,11 +112,6 @@ export abstract class BaseNetwork extends EventEmitter {
113
112
db,
114
113
logger : this . logger ,
115
114
} )
116
- if ( this . portal . metrics ) {
117
- this . portal . metrics . knownHistoryNodes . collect = ( ) => {
118
- this . portal . metrics ?. knownHistoryNodes . set ( this . routingTable . size )
119
- }
120
- }
121
115
this . gossipManager = new GossipManager ( this , gossipCount )
122
116
}
123
117
Original file line number Diff line number Diff line change @@ -3,10 +3,11 @@ import type {
3
3
INewRequest ,
4
4
INodeAddress ,
5
5
PortalNetwork ,
6
+ PortalNetworkMetrics ,
6
7
} from '../../../index.js'
7
8
import {
8
- NetworkNames ,
9
9
NetworkId ,
10
+ NetworkNames ,
10
11
Packet ,
11
12
PacketType ,
12
13
RequestCode ,
You can’t perform that action at this time.
0 commit comments