Difference between revisions of "Lnd"

From lightningwiki.net
Jump to navigation Jump to search
Line 36: Line 36:
= Updating to a specific tag =
= Updating to a specific tag =
If you build from source, go to the src dir and do:
If you build from source, go to the src dir and do:
# stop lnd (lncli stop)
# cd $GOPATH/src/github.com/lightningnetwork/lnd
# cd $GOPATH/src/github.com/lightningnetwork/lnd
# git fetch --tags
# git fetch --tags

Revision as of 07:12, 12 April 2019

About

The Lightning Network Daemon (lnd) - is a complete implementation of a Lightning Network node. lnd has several pluggable back-end chain services including btcd (a full-node), bitcoind, and neutrino (a new experimental light client). The project's codebase uses the btcsuite set of Bitcoin libraries, and also exports a large set of isolated re-usable Lightning Network related libraries within it.

lnd fully conforms to the Lightning Network specification (BOLTs). BOLT stands for: Basis of Lightning Technology. The specifications are currently being drafted by several groups of implementers based around the world including the developers of lnd. The set of specification documents as well as our implementation of the specification are still a work-in-progress.

Error creating thumbnail: File missing
Alert! Be careful!
Go version: There are very significant performance issues with LND on 1.12, so stay at 1.11.5 for the time being.

Howto

Error creating thumbnail: File missing
Please help by adding more information. Suggestion:
Add more pages with HOWTOs, or links to HOWTOs

Configuring lnd

Sample config: https://github.com/lightningnetwork/lnd/blob/master/sample-lnd.conf

Sample bitcoind config

Working bitcoind config.

listen=1
maxconnections=200
server=1
rpcuser=username
rpcpassword=secret
rpcport=8332
datadir=/hdd/bitcoin
daemon=1
zmqpubrawblock=tcp://127.0.0.1:28332
zmqpubrawtx=tcp://127.0.0.1:28333
timeout=15000

Updating to a specific tag

If you build from source, go to the src dir and do:

  1. stop lnd (lncli stop)
  2. cd $GOPATH/src/github.com/lightningnetwork/lnd
  3. git fetch --tags
  4. git checkout v0.5.2-beta
  5. make
  6. make install

Resources

Error creating thumbnail: File missing
Please help by adding more information. Suggestion:
Add more links