mirror of
https://github.com/aljazceru/breez-lnd.git
synced 2026-01-18 05:44:22 +01:00
In this commit we add a new type to the lnwire package: FundingFlag. This type will serve as an enum to describe the possible flags that can be used within the ChannelFlags field in the OpenChannel struct. We also define the first assigned flag: FFAnnounceChannel, which indicates if the initiator of the funding flow wishes to announce the channel to the greater network.
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