lnd.xprv/lnwallet
Wilmer Paulino 93754f8d37
lnwallet: add HtlcPoint() resolution helper methods
Co-authored-by: Joost Jager <joost.jager@gmail.com>
2019-01-22 20:47:13 -08:00
..
btcwallet lnwallet: add more godoc to InputScript rename ScriptSig field to SigScript 2019-01-09 15:55:18 -08:00
channel_test.go Merge pull request #2397 from halseth/reject-commitment-expected-fee-reset-bug 2019-01-14 17:06:27 -08:00
channel.go lnwallet: add HtlcPoint() resolution helper methods 2019-01-22 20:47:13 -08:00
config.go multi: sort import paths with gofmt 2018-08-02 18:20:49 -07:00
errors.go funding+lnwallet: ensure max_htlc_value_in_flight smaller than capacity 2019-01-22 08:42:29 +01:00
fee_estimator_test.go lnwallet: prevent static fee estimator fees from being modified 2018-12-18 10:50:05 +01:00
fee_estimator.go lnwallet: prevent static fee estimator fees from being modified 2018-12-18 10:50:05 +01:00
interface_test.go funding+lnwallet: ensure max_htlc_value_in_flight smaller than capacity 2019-01-22 08:42:29 +01:00
interface.go lnwallet: add more godoc to InputScript rename ScriptSig field to SigScript 2019-01-09 15:55:18 -08:00
log.go multi: init subsystem loggers via build pkg 2018-10-05 13:04:45 +09:00
parameters.go multi: switch over import paths from roasbeef/* to btcsuite/* 2018-07-13 17:05:39 -07:00
README.md multi: fix typos in comments 2018-04-17 19:03:27 -07:00
reservation.go funding+lnwallet: ensure max_htlc_value_in_flight smaller than capacity 2019-01-22 08:42:29 +01:00
script_utils_test.go lnwallet: update GetUtxo to accept the pkScript to comply with new gcs filter 2018-07-31 21:28:56 -07:00
script_utils.go lnwallet: export the Ripemd160H function 2018-10-12 08:50:07 +02:00
signdescriptor_test.go multi: sort import paths with gofmt 2018-08-02 18:20:49 -07:00
signdescriptor.go multi: sort import paths with gofmt 2018-08-02 18:20:49 -07:00
sigpool.go multi: replace per channel sigPool with global daemon level sigPool 2018-12-16 15:40:14 -08:00
size_test.go multi: sort import paths with gofmt 2018-08-02 18:20:49 -07:00
size.go lnwallet/size: correct commit to-local and 2nd stage script sizes 2018-07-24 22:53:13 -07:00
test_utils.go Merge pull request #2198 from Roasbeef/sendall-rpc 2019-01-15 14:49:17 -08:00
transactions_test.go multi: move CsvDelay into ChannelConstraints 2019-01-11 16:58:15 -08:00
txout_test.go multi: switch over import paths from roasbeef/* to btcsuite/* 2018-07-13 17:05:39 -07:00
txout.go multi: switch over import paths from roasbeef/* to btcsuite/* 2018-07-13 17:05:39 -07:00
wallet.go lnwallet: add new WithCoinSelectLock method to fix coin select race conditions 2019-01-09 15:55:24 -08:00
witnessgen.go lnwallet: add witness generation functions for p2wkh and np2wkh types 2019-01-09 15:55:21 -08: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