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

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