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

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