]> git.bitcoin.ninja Git - rust-lightning/commit
Always print why we disconnect explicitly 2024-09-always-print-why
authorMatt Corallo <git@bluematt.me>
Tue, 10 Sep 2024 14:26:57 +0000 (14:26 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 10 Sep 2024 14:26:57 +0000 (14:26 +0000)
commit7efefd7e2a5f6606d693118da546765e80f53eb6
tree9d31e0e03a873339af249c1aa449737531bb3028
parent479654b0a84d2bd82012f5497e96269a3e4dec3f
Always print why we disconnect explicitly

...and drop the old, confusing, "protocol error" message when we
get a duplicate connection from a peer.

This should slightly further disambiguate disconnection reasons,
which are a key debugging tool for assigning blame.
lightning/src/ln/peer_handler.rs