Low 40
AI analysis
LL
Lightning LabsLND
BitcoinLightning Network
onionmessage: use BackpressureMailbox for onion peer actors
This commit adds a safety valve to how LND handles 'onion messages'—a type of private Lightning Network message. Before this change, a flood of onion messages from a peer could fill up an internal queue and stall the connection handler. No…
Adds backpressure/RED-based probabilistic dropping to prevent unbounded mailbox growth for onion messagesReplaces unbounded context.TODO() with a 30-second timeout around actor Tell to avoid readHandler stallsComment frames change as preventing a blocked readHandler, indicating prior stall risk
e87f4bfbby Gijs van Dam+143−143 files
No security note in commit