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

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