lnd.xprv/lnwallet
Conner Fromknecht 600ab9d149
lnwallet/interface_test: extend publish timeout
This commit extends the amount of time we wait
for transaction to enter the mempool from
10 to 30 seconds. The wallet's interface tests
seem to be particularly slow when run with the
race flag, a problem which is only exacerbated
by the slowness of travis.

With 10s and the race flag, I was able to repro
the issues locally fairly consistently.
2018-03-12 13:52:16 -07:00
..
btcwallet lnwallet/btcwallet: grab best header timestamp directly from wallet 2018-03-06 16:04:07 -05:00
channel_test.go multi: set initiator funding txn 2018-03-11 15:06:22 -07:00
channel.go lnwallet/channel: expose API changes to channel state transitions 2018-03-09 17:35:53 -08:00
common_test.go lnwallet: update tests due to recent API changes 2018-03-06 16:04:03 -05:00
config.go lnwallet: add an instance of keychain.SecretKeyRing to the Config struct 2018-03-06 16:04:02 -05:00
errors.go lnwallet: add errors.go, errors sent to peer during funding 2018-03-06 22:02:34 +01:00
fee_estimator_test.go lnwallet test: add TestFeeRateTypes and TestStaticFeeEstimator 2018-02-26 22:42:27 +01:00
fee_estimator.go lnwallet: add feerate types, make estimator return sat/vbyte 2018-02-26 22:42:24 +01:00
interface_test.go lnwallet/interface_test: extend publish timeout 2018-03-12 13:52:16 -07:00
interface.go lnwallet: remove p2pkh as an address type, wallet is now pure segwit 2018-03-06 16:04:03 -05:00
log.go lnwallet: don't attach the rpcclient to the lnwallet logging instance 2017-08-30 20:32:37 -07:00
parameters.go fundingmanager+lnwallet: add HTLC dust limit logic 2016-12-13 11:01:57 -08:00
README.md multi: fix formatting issues in packge README's 2017-03-27 16:25:25 -07:00
reservation.go lnwallet: in NewChannelReservation ensure commit fees are payable 2018-03-08 12:50:47 -05:00
script_utils_test.go lnwallet: update script_utils and tests due to SignDescriptor API change 2018-03-06 16:04:01 -05:00
script_utils.go lnwallet: modify the way we derive revocation roots to be deterministic 2018-03-06 16:04:02 -05:00
signdescriptor_test.go lnwallet: update signdescriptor_test.go due to latest API changes 2018-03-06 16:04:00 -05:00
signdescriptor.go lnwallet: update the SignDescriptor struct to use keychain.KeyDescriptor 2018-03-06 16:04:00 -05:00
sigpool.go lnwallet: update state machine to use new lnwire.Sig everywhere 2018-02-06 20:14:31 -08:00
size_test.go lnwallet: Add TxWeightEstimator support for nested pay-to-witness. 2017-10-19 17:37:53 -07:00
size.go lnwallet: add VSize method for returning size from TxWeightEstimator 2018-02-26 22:42:24 +01:00
transactions_test.go lnwallet: update interface tests to account for recent lnwire.MilliSatoshi change 2018-03-08 12:50:48 -05:00
txout_test.go lnwallet: move txout serialization out of lnwire 2017-09-14 13:56:25 +02:00
txout.go lnwallet: move txout serialization out of lnwire 2017-09-14 13:56:25 +02:00
wallet.go lnwallet/wallet: store funding txn during reservation 2018-03-11 13:58:41 -07:00
witnessgen.go multi: comprehensive typo fixes across all packages 2018-02-06 19:11:11 -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 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