This commit changes the cooperative channel close workflow to comply
with the latest spec. This adds steps to handle and send shutdown
messages as well as moving responsibility for sending the channel close
message from the initiator to the responder.
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