pyquarkchain icon indicating copy to clipboard operation
pyquarkchain copied to clipboard

improve devp2p TCP sockets tracking

Open qcdll opened this issue 5 years ago • 1 comments

a lot of things can go wrong when establishing p2p connections: failed handshake, wrong version, mismatching serialization, we shall ensure all opened TCP sockets are closed properly

qcdll avatar Mar 14 '19 17:03 qcdll

one of the fixes made was https://github.com/QuarkChain/pyquarkchain/pull/397, but it's a bit hacky and we should audit all places that a file/socket was opened

qcdll avatar Mar 15 '19 22:03 qcdll