lnd.xprv/lnwallet/btcwallet
Olaoluwa Osuntokun 18e9475a9a
lnwallet/btcwallet: grab best header timestamp directly from wallet
In this commit, we modify the way we obtain the current best header
timestamp. In doing this, we fix an intermittent flake that would pop
up at times on the integration tests. This could occur as if the wallet
was lagging behind the chain backend for a re-org, then a hash that the
backend knew of, may not be known by the wallet.

To remedy this, we’ll take advantage of a recent change to btcwallet to
actually include the timestamp in its sync state.
2018-03-06 16:04:07 -05:00
..
blockchain.go multi: add bitcoind drivers and tests 2018-01-15 13:59:34 -08:00
btcwallet.go lnwallet/btcwallet: grab best header timestamp directly from wallet 2018-03-06 16:04:07 -05:00
config.go multi: fix several typos in godoc comments 2017-12-17 18:40:05 -08:00
driver.go multi: add bitcoind drivers and tests 2018-01-15 13:59:34 -08:00
signer.go lnwallet/btcwallet: update Signer implementation to use keychain.KeyDescriptor 2018-03-06 16:04:01 -05:00