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.
 
 
Oliver Gugger 73aa40f00e
lnwallet+kvdb: remove duplicate bdb backend imports
3 years ago
..
btcwallet lnwallet+kvdb: remove duplicate bdb backend imports 3 years ago
chainfee chainfee: change min conf target to be 1 3 years ago
chancloser mutli: move parse upfront shutdown out of rpcserver 4 years ago
chanfunding multi: add random coin selection 3 years ago
chanvalidate input: pass input.Signature to multisig spend 4 years ago
test kvdb: move channeldb/kvdb to top level 3 years ago
README.md multi: unify code blocks in READMEs 3 years ago
channel.go lnwallet: ensure MayAddOutgoingHtlc doesn't add zero-value HTLCs 3 years ago
channel_test.go lnwallet: add test case to exercise MayAddOutgoingHtlc bug 3 years ago
commit_sort.go lnwallet/commit_sort: add commit sorting with htlc tie breaker 5 years ago
commit_sort_test.go lnwallet/commit_sort: add commit sorting with htlc tie breaker 5 years ago
commitment.go lnd+lnwallet: make capacity check stricter by adding fee 3 years ago
config.go chainfee: create new chainfee package extracting fees from lnwallet 5 years ago
errors.go add new max channel size config option 4 years ago
interface.go lnwallet: expose dry run support for ImportAccount 3 years ago
log.go chainfee: create new chainfee package extracting fees from lnwallet 5 years ago
parameters.go multi: move Input interface and related code 5 years ago
reservation.go multi: store KeyLocator in OpenChannel, use ECDH 3 years ago
revocation_producer.go multi: store KeyLocator in OpenChannel, use ECDH 3 years ago
revocation_producer_itest.go lntest/itest+lnwallet: add legacy chanrestore test 3 years ago
sigpool.go multi: return input.Signature from SignOutputRaw 4 years ago
test_utils.go lnwallet/test_utils: set up asymmetric commits 3 years ago
test_vectors_anchors.json lnwallet/test: add anchor vector for no local anchor 4 years ago
test_vectors_legacy.json lnwallet/test: make use of test htlcs explicit 4 years ago
transactions.go lnwallet: export HTLC generating methods 3 years ago
transactions_test.go lnwallet/test: make use of test htlcs explicit 4 years ago
wallet.go lnwallet: prevent anchor reserve enforcement on legacy inbound channel 3 years ago

README.md

lnwallet

Build Status MIT licensed GoDoc

The lnwallet package implements an abstracted wallet controller that is able to drive channel funding workflows, a number of script utilities, witness generation functions for the various Lightning scripts, revocation key derivation, and the commitment update state machine.

The package is used within lnd as the core wallet of the daemon. The wallet itself is composed of several distinct interfaces that decouple the implementation of things like signing and blockchain access. This separation allows new WalletController implementations to be easily dropped into lnd without disrupting the code base. A series of integration tests at the interface level are also in place to ensure conformance of the implementation with the interface.

Installation and Updating

⛰  go get -u github.com/lightningnetwork/lnd/lnwallet