[ethereum/go-ethereum] Can’t sync in `light` mode (#17135)

BTW sometimes it can sync, 1 peer found:
««
$geth attach http://127.0.0.1:8545
Welcome to the Geth JavaScript console!

instance: Geth/v1.8.11-stable/linux-amd64/go1.10.3
modules: admin:1.0 eth:1.0 net:1.0 rpc:1.0 web3:1.0

> net.peerCount
1
> admin.peers
[{
caps: [«eth/62», «eth/63», «les/1», «les/2»],
id: «053d2f57829e5785d10697fa6c5333e4d98cc564dbadd87805fd4fedeb09cbcb642306e3a73bd4191b27f821fb442fcf964317d6a520b29651e7dd09d1beb0ec»,
name: «Geth/v1.8.11-stable-dea1ce05/linux-amd64/go1.10»,
network: {
inbound: false,
localAddress: «172.19.0.3:42918»,
remoteAddress: «79.98.29.154:30303»,
static: true,
trusted: false
},
protocols: {
les: {
difficulty: 8775099689016871,
head: «9d21333c2162390d8939a8cd37a2614f161969fa3a3cab1b928d8e385e28a3fe»,
version: 2
}
}
}]
««

I’m not sure if adding `- «30301:30301/udp»` to ports affected this.

Добавить комментарий