Open
Description
In the latest version of lnd
, the ListPeers
command will keep around the last 5 or so errors a peer sends to us. This can be helpful for node operators to debug issues like connectivity, or the rare force close event. First, we can just start to surface this information.
In the future, once lnd
gains the ability to let users send these errors on demand, it can morph into a sort of "node mailbox". This would allow node operators to communicate with their direct peers in an encrypted manner (it's over the normal transport). Uses for this include warnings about potential channel closures, tips for the node, or an attempt to request information to debug a particular issue.