File tree Expand file tree Collapse file tree 3 files changed +29
-13
lines changed Expand file tree Collapse file tree 3 files changed +29
-13
lines changed Original file line number Diff line number Diff line change 92
92
"comment" : " Upstream bootnode 3"
93
93
},
94
94
{
95
- "ip" : " 52.64.155.147 " ,
96
- "port" : 30303 ,
97
- "id" : " c1f8b7c2ac4453271fa07d8e9ecf9a2e8285aa0bd0c07df0131f47153306b0736fd3db8924e7a9bf0bed6b1d8d4f87362a71b033dc7c64547728d953e43e59b2 " ,
95
+ "ip" : " 18.218.250.66 " ,
96
+ "port" : 30313 ,
97
+ "id" : " b5948a2d3e9d486c4d75bf32713221c2bd6cf86463302339299bd227dc2e276cd5a1c7ca4f43a0e9122fe9af884efed563bd2a1fd28661f3b5f5ad7bf1de5949 " ,
98
98
"location" : " " ,
99
99
"comment" : " Upstream bootnode 4"
100
100
},
101
101
{
102
- "ip" : " 213.186.16.82 " ,
102
+ "ip" : " 3.11.147.67 " ,
103
103
"port" : 30303 ,
104
- "id" : " f4a9c6ee28586009fb5a96c8af13a58ed6d8315a9eee4772212c1d4d9cebe5a8b8a78ea4434f318726317d04a3f531a1ef0420cf9752605a562cfe858c46e263 " ,
104
+ "id" : " a61215641fb8714a373c80edbfa0ea8878243193f57c96eeb44d0bc019ef295abd4e044fd619bfc4c59731a73fb79afe84e9ab6da0c743ceb479cbb6d263fa91 " ,
105
105
"location" : " " ,
106
- "comment" : " Upstream bootnode 5 "
106
+ "comment" : " Ethereum Foundation bootnode "
107
107
},
108
108
{
109
- "ip" : " 3.11.147.67 " ,
109
+ "ip" : " 51.15.116.226 " ,
110
110
"port" : 30303 ,
111
- "id" : " a61215641fb8714a373c80edbfa0ea8878243193f57c96eeb44d0bc019ef295abd4e044fd619bfc4c59731a73fb79afe84e9ab6da0c743ceb479cbb6d263fa91 " ,
111
+ "id" : " a869b02cec167211fb4815a82941db2e7ed2936fd90e78619c53eb17753fcf0207463e3419c264e2a1dd8786de0df7e68cf99571ab8aeb7c4e51367ef186b1dd " ,
112
112
"location" : " " ,
113
- "comment" : " Ethereum Foundation bootnode"
113
+ "comment" : " Goerli Initiative bootnode"
114
+ },
115
+ {
116
+ "ip" : " 51.15.119.157" ,
117
+ "port" : 30303 ,
118
+ "id" : " 807b37ee4816ecf407e9112224494b74dd5933625f655962d892f2f0f02d7fbbb3e2a94cf87a96609526f30c998fd71e93e2f53015c558ffc8b03eceaf30ee33" ,
119
+ "location" : " " ,
120
+ "comment" : " Goerli Initiative bootnode"
121
+ },
122
+ {
123
+ "ip" : " 51.15.119.157" ,
124
+ "port" : 40303 ,
125
+ "id" : " a59e33ccd2b3e52d578f1fbd70c6f9babda2650f0760d6ff3b37742fdcdfdb3defba5d56d315b40c46b70198c7621e63ffa3f987389c7118634b0fefbbdfa7fd" ,
126
+ "location" : " " ,
127
+ "comment" : " Goerli Initiative bootnode"
114
128
}
115
129
]
116
130
}
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ export class ETH extends EventEmitter {
41
41
// Set forkHash and nextForkBlock
42
42
if ( this . _version >= 64 ) {
43
43
const c = this . _peer . _common
44
- this . _hardfork = c . hardfork ( ) ? ( c . hardfork ( ) as string ) : this . _hardfork
44
+ this . _hardfork = c . hardfork ( ) ? c . hardfork ( ) : this . _hardfork
45
45
// Set latestBlock minimally to start block of fork to have some more
46
46
// accurate basis if no latestBlock is provided along status send
47
47
this . _latestBlock = c . hardforkBlock ( this . _hardfork )
@@ -208,7 +208,7 @@ export class ETH extends EventEmitter {
208
208
this . _latestBlock = status . latestBlock
209
209
}
210
210
const forkHashB = Buffer . from ( this . _forkHash . substr ( 2 ) , 'hex' )
211
- const nextForkB = Buffer . from ( this . _nextForkBlock . toString ( 16 ) , 'hex' )
211
+ const nextForkB = int2buffer ( this . _nextForkBlock )
212
212
this . _status . push ( [ forkHashB , nextForkB ] )
213
213
}
214
214
Original file line number Diff line number Diff line change @@ -227,10 +227,12 @@ export class RLPx extends EventEmitter {
227
227
peer . once ( 'close' , ( reason , disconnectWe ) => {
228
228
if ( disconnectWe ) {
229
229
debug (
230
- `disconnect from ${ socket . remoteAddress } :${ socket . remotePort } , reason: ${ String ( reason ) } `
230
+ `disconnect from ${ socket . remoteAddress } :${ socket . remotePort } , reason: ${ DISCONNECT_REASONS [ reason ] } `
231
231
)
232
232
} else {
233
- debug ( `${ socket . remoteAddress } :${ socket . remotePort } disconnect, reason: ${ String ( reason ) } ` )
233
+ debug (
234
+ `${ socket . remoteAddress } :${ socket . remotePort } disconnect, reason: ${ DISCONNECT_REASONS [ reason ] } `
235
+ )
234
236
}
235
237
236
238
if ( ! disconnectWe && reason === DISCONNECT_REASONS . TOO_MANY_PEERS ) {
You can’t perform that action at this time.
0 commit comments