lnd/lnwallet
Olaoluwa Osuntokun b437f0d9c4 input+lnwallet: update taproot scripts to accept optional aux leaf
In this commit, we update all the taproot scripts to also accept an
optional aux leaf. This aux leaf can be used to add more redemption
paths for advanced channels, or just as an extra commitment space.
2024-03-15 12:02:15 -04:00
..
2024-03-07 14:05:47 +08:00
2024-03-07 14:05:47 +08:00
2024-02-27 11:13:40 +00:00
2023-08-22 16:32:00 -07:00
2024-02-27 11:13:40 +00: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