lnd/lnwallet
Olaoluwa Osuntokun 3dda93e30d
Merge pull request #3821 from halseth/pluggable-anchors-lnwallet
[anchor] pluggable anchor commitments
2020-03-09 19:49:05 -07:00
..
btcwallet
chainfee
chanfunding
chanvalidate
channel_test.go lnwallet+size: select HTLC fees based on channel type 2020-03-09 12:59:35 +01:00
channel.go lnwallet+size: select HTLC fees based on channel type 2020-03-09 12:59:35 +01:00
commit_sort_test.go
commit_sort.go
commitment.go lnwallet+size: select HTLC fees based on channel type 2020-03-09 12:59:35 +01:00
config.go
errors.go
interface_test.go lnwallet+funding: create CommitmentType enum 2020-03-09 12:59:34 +01:00
interface.go
log.go
parameters.go
README.md
reservation.go fundingmanager+lnwallet: enable anchor commitments 2020-03-09 12:59:35 +01:00
sigpool.go
test_utils.go lnwallet: use channel type to derive keys 2020-01-06 12:08:05 +01:00
transactions_test.go lnwallet: add anchor commitmenttype 2020-03-09 12:10:59 +01:00
transactions.go lnwallet: set 2nd level sequence according to channel type 2020-03-09 12:59:33 +01:00
wallet.go lnwallet+funding: create CommitmentType enum 2020-03-09 12:59:34 +01: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