Tom Kirkpatrick 3837c3f12e lnwallet: add configurable cache for web fee estimator | 3 weeks ago | |
---|---|---|
.. | ||
btcwallet | 3 weeks ago | |
chainfee | 1 week ago | |
chancloser | 2 months ago | |
chanfunding | 3 weeks ago | |
chanvalidate | 8 months ago | |
rpcwallet | 3 weeks ago | |
test | 3 weeks ago | |
README.md | 1 year ago | |
channel.go | 1 month ago | |
channel_test.go | 1 month ago | |
commit_sort.go | 5 years ago | |
commit_sort_test.go | 5 years ago | |
commitment.go | 1 month ago | |
config.go | 2 months ago | |
errors.go | 2 years ago | |
interface.go | 3 weeks ago | |
log.go | 2 years ago | |
mock.go | 3 weeks ago | |
musig_session.go | 8 months ago | |
musig_session_test.go | 7 months ago | |
parameters.go | 2 months ago | |
parameters_test.go | 2 years ago | |
rebroadcaster.go | 1 year ago | |
rebroadcaster_test.go | 7 months ago | |
reservation.go | 2 months ago | |
revocation_producer.go | 8 months ago | |
revocation_producer_itest.go | 8 months ago | |
sigpool.go | 8 months ago | |
test_utils.go | 8 months ago | |
test_vectors_anchors.json | 1 year ago | |
test_vectors_legacy.json | 1 year ago | |
test_vectors_zero_fee_htlc_tx.json | 1 year ago | |
transactions.go | 8 months ago | |
transactions_test.go | 3 weeks ago | |
wallet.go | 3 weeks ago | |
wallet_test.go | 7 months ago |
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.
$ go get -u github.com/lightningnetwork/lnd/lnwallet