htlcswitch: bound peer-controlled channel ingress
This commit hardens LND's channel message handling against a peer that tries to overwhelm the node. It adds limits on how many ordered messages and how much data a peer can queue up for a channel, and it disconnects the peer if either limi…
ef24f2c5by Elle Mouton+507−94 files