mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-04-18 08:51:08 +02:00
This commit adds the `lnnet` package which contains an implementation of the newly created LightningNet interface which multiplexes the Dial and DNS-related functions to use net by default and torsvc if a flag is specified. This modularization makes for cleaner code.
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