lnd version, "hacked" to enable seedless restore from xprv + scb
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Olaoluwa Osuntokun fba856068e
README: add logo to top portion of page
7 years ago
autopilot autopilot: remove spammy trace log 7 years ago
brontide brontide: add a test case to exercise all BOLT-0008 test vectors 7 years ago
chainntnfs chainntnfs+routing/chainview: reduce neutrino.WaitForMoreCFHeaders value 7 years ago
channeldb channeldb: store payment request with invoices 7 years ago
cmd/lncli lncli: add new zpay32 options to command line 7 years ago
contrib contrib: add basic bash completion for lncli 7 years ago
discovery discovery: add more detail to error logging in processNetworkAnnouncement 7 years ago
docker docker: don't specify datadir in lnd container 7 years ago
docs docs: update INSTALL.md to pin min golang version at 1.8 7 years ago
htlcswitch htlcswitch: expand TestWaitingQueueThreadSafety to assert proper queue length 7 years ago
lnrpc lnrpc: add BOLT-11 fields. 7 years ago
lnwallet lnwallet: in extractHtlcResolutions use csvDelay gated on commitment ownership 7 years ago
lnwire fuzzing: fixed calculation of serializedSize() in features.go 7 years ago
macaroons macaroons: rename PermissionsConstraint to AllowConstraint 7 years ago
routing routing/chainview: Fix data race in block disconnected callback. 7 years ago
shachain multi: run all test instances in parallel 7 years ago
zpay32 zpay32: make expiry time only accessable using Expiry() 7 years ago
.gitignore git: add .DS_Store to .gitignore, remove obsolete entries 7 years ago
.travis.yml build: update travis config to use go 1.9 and 1.8.3 7 years ago
LICENSE add copyright, license and discouragement in readme 8 years ago
README.md README: add logo to top portion of page 7 years ago
breacharbiter.go breacharbiter: filters outputs for dust outputs before sweeping 7 years ago
breacharbiter_test.go breacharbiter_test: updated test vectors for new retInfo struct 7 years ago
chainparams.go chainparams: ensure target chain checkpoints are properly set 7 years ago
chainregistry.go multi: fix linter errors 7 years ago
config.go config+htlclink+peer: htlc hodl mode! 7 years ago
doc.go add some daemon related skeleton files 8 years ago
features.go lnd: reset features as we no longer need to partition dated lnd nodes 7 years ago
fundingmanager.go funding: add a conditional send on quit for all process* methods 7 years ago
fundingmanager_test.go lnd+rpc: update RPC responses to convert mSAT to SAT 7 years ago
glide.lock dependencies: Bump neutrino version. 7 years ago
glide.yaml dependencies: Bump neutrino version. 7 years ago
gotest.sh build: create parallel travis builds to isolate race condition tests 7 years ago
invoiceregistry.go lnd+rpc: update RPC responses to convert mSAT to SAT 7 years ago
lnd.go macaroons: rename PermissionsConstraint to AllowConstraint 7 years ago
lnd_test.go Merge pull request #341 from cfromknecht/breach-filter-commit-dust 7 years ago
log.go log: add logger for the autopilot package 7 years ago
logo.png README: add logo to top portion of page 7 years ago
mock.go multi: txscript.WitnessScript -> txscript.WitnessSignature 7 years ago
networktest.go test+config: add new --nobootstrap option to disable connection bootstrapping 7 years ago
networktest_test.go netharness: remove test for the node restart method 8 years ago
nodesigner.go nodeSigner: add method for signing already hashed data 7 years ago
peer.go peer: avoid exit deadlock by ensuring WaitGroups are decremented before disconnect 7 years ago
peer_test.go peer: add channel close fee negotiation 7 years ago
pilot.go lnd+rpc: update RPC responses to convert mSAT to SAT 7 years ago
release.sh build: add release script 7 years ago
rpcserver.go rpcserver: use BOLT-11 compatible zpay32 package. 7 years ago
server.go server: remove stray logging debugging statement from peerBootstrapper 7 years ago
signal.go lnrpc+rpc+lnd: add new Stop command for gracefully shutting down lnd 7 years ago
test_utils.go lnd+rpc: update RPC responses to convert mSAT to SAT 7 years ago
utxonursery.go utxonursery: fix typo in contractMaturityReport definition 7 years ago
utxonursery_test.go utxonursery: finish migrating to lnwire OutPoint serialization 7 years ago
version.go lnd+cmd/lncli: bump to version 0.3 7 years ago

README.md

Lightning Network Daemon

Build Status MIT licensed Irc Godoc Coverage Status

The Lightning Network Daemon (lnd) - is a complete implementation of a Lightning Network node and currently deployed on testnet3 - the Bitcoin Test Network. lnd has several pluggable back-end chain services including btcd (a full-node) 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. In the current state lnd is capable of:

  • Creating channels.
  • Closing channels.
  • Completely managing all channel states (including the exceptional ones!).
  • Maintaining a fully authenticated+validated channel graph.
  • Performing path finding within the network, passively forwarding incoming payments.
  • Sending outgoing onion-encrypted payments through the network.
  • Updating advertised fee schedules.
  • Automatic channel management (autopilot).

Lightning Network Specification Compliance

lnd doesn't yet fully conform to the Lightning Network specification (BOLTs). BOLT stands for: Basic of Lightning Technologies. 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. With that said, lnd the current status of lnd's BOLT compliance is:

  • BOLT 1: Base Protocol
  • BOLT 2: Peer Protocol for Channel Management
    • lnd has not yet integrated full channel re-transmission upon reconnection
  • BOLT 3: Bitcoin Transaction and Script Formats
  • BOLT 4: Onion Routing Protocol
  • BOLT 5: Recommendations for On-chain Transaction Handling
  • BOLT 7: P2P Node and Channel Discovery
  • BOLT 8: Encrypted and Authenticated Transport

Developer Resources

The daemon has been designed to be as developer friendly as possible in order to facilitate application development on top of lnd. Two primary RPC interfaces are exported: an HTTP REST API, and a gRPC service. The exported API's are not yet stable, so be warned: they may change drastically in the near future.

An automatically generated set of documentation for the RPC APIs can be found at api.lightning.community. A set of developer resources including talks, articles, and example applications can be found at: dev.lightning.community.

Finally, we also have an active Slack where protocol developers, application developers, testers and users gather to discuss various aspects of lnd and also Lightning in general.

Installation

In order to build from source, please see the installation instructions.

IRC

  • irc.freenode.net
  • channel #lnd
  • webchat

Further reading