Drop peers_needing_send tracking and try to write for each peer
authorMatt Corallo <git@bluematt.me>
Thu, 10 Jun 2021 18:46:24 +0000 (18:46 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 10 Jun 2021 18:49:08 +0000 (18:49 +0000)
commit41bb42a99cd9df2d297ae938303b15deefe66e62
tree34ba2b9e139e132cc8a4693e0c3421f755e3c4d0
parenta6fcb741547c3c624676ab6ebe563b9f2c25229a
Drop peers_needing_send tracking and try to write for each peer

We do a lot of work to track which peers have buffers which need
to be flushed, when we could instead just try to flush ever peer's
buffer.
lightning/src/ln/peer_handler.rs