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

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