This commit adds a new field to the CommitSig message: HtlcSigs. This new field will house signatures for each of the HTLC’s on the newly created commitment state. This addition allows us to implement the new commitment transaction structure outlined within the specification which modifies HTLC’s such that the claiming process is now a two-phase process. The first state transitions an HTLC to the delay+claim state, and the second state (after the delay has passed) allows the broadcaster of the commitment transaction to sweep the HTLC’s. Fixes #61.
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