Closed shanhuhai5739 closed 6 years ago
I think, it should be unknown state if handle pingTimeout
hello anybody here?
It returns to known state because the other side had a chance to ping, but didn't use it. We will remove p2p/discv5 code soon, no need to worry about this code :)
It returns to known state because the other side had a chance to ping, but didn't use it. We will remove p2p/discv5 code soon, no need to worry about this code :)
what does "it" refer to in "but didn't use it"? am i correct that a normal peer will not ping, even if it has a chance, so we won't run into the consequent known state?
Hi there, p2p, why return known state? https://github.com/ethereum/go-ethereum/blob/master/p2p/discv5/net.go#L952