Tom Kirkpatrick 3837c3f12e lnwallet: add configurable cache for web fee estimator 3 weeks ago
..
btcwallet ab7634b276 multi: Add utxo restriction for batchchannel openings. 3 weeks ago
chainfee 3837c3f12e lnwallet: add configurable cache for web fee estimator 1 week ago
chancloser db39a905cb multi: make NewChanIDFromOutpoint accept value instead of pointer 2 months ago
chanfunding 62a52b4d7c multi: Utxo restriction single funding case. 3 weeks ago
chanvalidate c9fc508083 lnwallet/chanvalidate: update ValidateChannel to recognize taproot chans 8 months ago
rpcwallet ab83343c87 multi: repleace ioutil.ReadFile 3 weeks ago
test 351e9a68dd multi: Add tests to psbt and normal open channel flow. 3 weeks ago
README.md 0b1e881d18 scripted-diff: replace ⛰ emoji with $ [skip ci] 1 year ago
channel.go 7fd9c2a7f8 multi: use some record for payment descriptor blinding point 1 month ago
channel_test.go 7fd9c2a7f8 multi: use some record for payment descriptor blinding point 1 month ago
commit_sort.go a627c65d65 lnwallet/commit_sort: add commit sorting with htlc tie breaker 5 years ago
commit_sort_test.go a627c65d65 lnwallet/commit_sort: add commit sorting with htlc tie breaker 5 years ago
commitment.go 74a290b46d lnwallet+input: fix a few typoes 1 month ago
config.go cbc11dac8f multi: add coin selection strategy to channel funding 2 months ago
errors.go 7dfe4018ce multi: use btcd's btcec/v2 and btcutil modules 2 years ago
interface.go ab7634b276 multi: Add utxo restriction for batchchannel openings. 3 weeks ago
log.go c24763b3da lnd+lnwallet: add logger for btcwallet+rpcwallet 2 years ago
mock.go ab7634b276 multi: Add utxo restriction for batchchannel openings. 3 weeks ago
musig_session.go ce93b236aa input+lnwallet: modify musig2 interfaces use explicit optional local nonces 8 months ago
musig_session_test.go 22600b47f1 multi: disable linter `paralleltest` 7 months ago
parameters.go fb8de14798 lnwallet+funding+lnd: trim unused parameters, from lnwallet.Config 2 months ago
parameters_test.go 7dfe4018ce multi: use btcd's btcec/v2 and btcutil modules 2 years ago
rebroadcaster.go 10929d80cc lnwallet: add new rebroadcaster interface, use for background tx publish 1 year ago
rebroadcaster_test.go 22600b47f1 multi: disable linter `paralleltest` 7 months ago
reservation.go fb8de14798 lnwallet+funding+lnd: trim unused parameters, from lnwallet.Config 2 months ago
revocation_producer.go 349eee3263 input: ensure sessionOpts is properly threaded through 8 months ago
revocation_producer_itest.go 349eee3263 input: ensure sessionOpts is properly threaded through 8 months ago
sigpool.go 5336f03ac6 lnwallet: update to genRemoteHtlcSigJobs to generate taproot jobs 8 months ago
test_utils.go aaba144804 multi: fix linter warnings 8 months ago
test_vectors_anchors.json 6774b72913 lnwallet: add same amount and preimage anchors test vector 1 year ago
test_vectors_legacy.json a41f6d5a73 lnwallet: add same amount and preimage legacy test vector 1 year ago
test_vectors_zero_fee_htlc_tx.json b607db30f9 lnwallet: add zero-fee-htlc-tx test vectors 1 year ago
transactions.go 4b0139c9ba lnwallet: update channel state machine to use new ScriptDescriptor interface 8 months ago
transactions_test.go ab83343c87 multi: repleace ioutil.ReadFile 3 weeks ago
wallet.go 62a52b4d7c multi: Utxo restriction single funding case. 3 weeks ago
wallet_test.go ec2377db79 funding: remove dead code and sanity check pending chan ID (#7887) 7 months 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