zoupingshi 30047feb35 chore: fix some comments 2 weken geleden
..
btcwallet ab7634b276 multi: Add utxo restriction for batchchannel openings. 1 maand geleden
chainfee 17a089c899 input+lnwallet: apply the new type `lntypes.VByte` 3 weken geleden
chancloser 8da68bb7db multi: apply the new type `lntypes.WeightUnit` 3 weken geleden
chanfunding 8da68bb7db multi: apply the new type `lntypes.WeightUnit` 3 weken geleden
chanvalidate c9fc508083 lnwallet/chanvalidate: update ValidateChannel to recognize taproot chans 9 maanden geleden
rpcwallet ab83343c87 multi: repleace ioutil.ReadFile 1 maand geleden
test 351e9a68dd multi: Add tests to psbt and normal open channel flow. 1 maand geleden
README.md 0b1e881d18 scripted-diff: replace ⛰ emoji with $ [skip ci] 1 jaar geleden
channel.go 8da68bb7db multi: apply the new type `lntypes.WeightUnit` 3 weken geleden
channel_test.go 8da68bb7db multi: apply the new type `lntypes.WeightUnit` 3 weken geleden
commit_sort.go a627c65d65 lnwallet/commit_sort: add commit sorting with htlc tie breaker 5 jaren geleden
commit_sort_test.go a627c65d65 lnwallet/commit_sort: add commit sorting with htlc tie breaker 5 jaren geleden
commitment.go 8da68bb7db multi: apply the new type `lntypes.WeightUnit` 3 weken geleden
config.go cbc11dac8f multi: add coin selection strategy to channel funding 3 maanden geleden
errors.go 7dfe4018ce multi: use btcd's btcec/v2 and btcutil modules 2 jaren geleden
interface.go ab7634b276 multi: Add utxo restriction for batchchannel openings. 1 maand geleden
log.go c24763b3da lnd+lnwallet: add logger for btcwallet+rpcwallet 2 jaren geleden
mock.go ab7634b276 multi: Add utxo restriction for batchchannel openings. 1 maand geleden
musig_session.go ce93b236aa input+lnwallet: modify musig2 interfaces use explicit optional local nonces 9 maanden geleden
musig_session_test.go 22600b47f1 multi: disable linter `paralleltest` 8 maanden geleden
parameters.go fb8de14798 lnwallet+funding+lnd: trim unused parameters, from lnwallet.Config 3 maanden geleden
parameters_test.go 7dfe4018ce multi: use btcd's btcec/v2 and btcutil modules 2 jaren geleden
rebroadcaster.go 10929d80cc lnwallet: add new rebroadcaster interface, use for background tx publish 1 jaar geleden
rebroadcaster_test.go 22600b47f1 multi: disable linter `paralleltest` 8 maanden geleden
reservation.go 8da68bb7db multi: apply the new type `lntypes.WeightUnit` 3 weken geleden
revocation_producer.go 349eee3263 input: ensure sessionOpts is properly threaded through 9 maanden geleden
revocation_producer_itest.go 349eee3263 input: ensure sessionOpts is properly threaded through 9 maanden geleden
sigpool.go 5336f03ac6 lnwallet: update to genRemoteHtlcSigJobs to generate taproot jobs 9 maanden geleden
test_utils.go 8da68bb7db multi: apply the new type `lntypes.WeightUnit` 3 weken geleden
test_vectors_anchors.json 6774b72913 lnwallet: add same amount and preimage anchors test vector 1 jaar geleden
test_vectors_legacy.json a41f6d5a73 lnwallet: add same amount and preimage legacy test vector 1 jaar geleden
test_vectors_zero_fee_htlc_tx.json b607db30f9 lnwallet: add zero-fee-htlc-tx test vectors 1 jaar geleden
transactions.go 4b0139c9ba lnwallet: update channel state machine to use new ScriptDescriptor interface 9 maanden geleden
transactions_test.go 8da68bb7db multi: apply the new type `lntypes.WeightUnit` 3 weken geleden
wallet.go 30047feb35 chore: fix some comments 2 weken geleden
wallet_test.go ec2377db79 funding: remove dead code and sanity check pending chan ID (#7887) 8 maanden geleden

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