lnd/lnwallet
2024-08-06 10:05:20 -07:00
..
btcwallet lnwallet: fix ErrDoubleSpend 2024-07-06 13:59:28 +08:00
chainfee multi: prevent nil panics in stop methods. 2024-07-31 14:43:34 +02:00
chancloser multi: refactor lnwallet/channel.go to use ChannelParty in select places 2024-07-31 14:50:26 -07:00
chanfunding multi: apply the new type lntypes.WeightUnit 2024-05-25 13:37:13 +08:00
chanvalidate
rpcwallet multi: repleace ioutil.ReadFile 2024-04-25 11:22:43 +02:00
test multi: break ChannelConstraints into two sub-structures 2024-08-01 12:00:32 -07:00
channel_test.go Merge pull request #8952 from ProofOfKeags/refactor/lnwallet-channel-typed-list 2024-08-05 02:07:50 -06:00
channel.go Merge pull request #8968 from ProofOfKeags/opening-party 2024-08-05 16:42:22 -07:00
commit_sort_test.go
commit_sort.go
commitment_chain.go lnwallet: refactor channel to use new typed List 2024-07-31 13:03:34 -07:00
commitment.go multi: refactor lnwallet/channel.go to use ChannelParty in select places 2024-07-31 14:50:26 -07:00
config.go multi: add coin selection strategy to channel funding 2024-02-23 08:58:07 +01:00
errors.go
interface.go multi: Add utxo restriction for batchchannel openings. 2024-04-24 13:58:20 +01:00
log.go multi: add NewLogClosure in lnutils to avoid repetition 2024-07-25 21:25:23 +08:00
mock.go multi: Add utxo restriction for batchchannel openings. 2024-04-24 13:58:20 +01:00
musig_session_test.go
musig_session.go
parameters_test.go
parameters.go lnwallet+funding+lnd: trim unused parameters, from lnwallet.Config 2024-02-19 17:06:21 -08:00
payment_descriptor.go lnwallet: move PaymentDescriptor definition to its own file 2024-07-29 15:26:35 -07:00
README.md
rebroadcaster_test.go
rebroadcaster.go
reservation.go multi: break ChannelConstraints into two sub-structures 2024-08-01 12:00:32 -07:00
revocation_producer_itest.go
revocation_producer.go
sigpool.go
test_utils.go multi: break ChannelConstraints into two sub-structures 2024-08-01 12:00:32 -07:00
test_vectors_anchors.json
test_vectors_legacy.json
test_vectors_zero_fee_htlc_tx.json
transactions_test.go multi: break ChannelConstraints into two sub-structures 2024-08-01 12:00:32 -07:00
transactions.go
update_log.go lnwallet: update updateLog.modifiedHtlcs to use fn.Set 2024-08-06 10:05:20 -07:00
wallet_test.go
wallet.go multi: break ChannelConstraints into two sub-structures 2024-08-01 12:00:32 -07:00

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