mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-07-28 13:52:55 +02:00
In this commit, we add support within lnwire for the optional dataloss fields in ChannelReestablish. With these fields, it’s possible to: verify that the remote node really knows of the state of our prior local commitment, and also that they’ve sent us the current commitment point for their current state. In the event of dataloss, it’s possible for the party which lost data to claim their commitment output in the remote party’s commitment if they broadcast their current commitment transaction.
lnwire
The lnwire package implements the Lightning Network wire protocol.
This package has intentionally been designed so it can be used as a standalone package for any projects needing to interface with lightning peers at the wire protocol level.
Installation and Updating
$ go get -u github.com/lightningnetwork/lnd/lnwire