Tom Kirkpatrick
f27239e615
fix(logging): log incoming channel updates
Log incoming data via the channel graph subscription to make it easier
to see what data is being received from lnd behind the scenes.
7 years ago
Tom Kirkpatrick
e786958b55
test(electron): simplify electron mocks
7 years ago
Tom Kirkpatrick
602d03411a
test(unit): add some basic tests for Lightning class
7 years ago
Tom Kirkpatrick
0ecb169e5c
chore(flow): add flowtype to Lightning class
7 years ago
Tom Kirkpatrick
d53335a43d
fix(lnd): don't treat filters as filter headers
During the sync process there are log message that relate to syncing
filters and filter headers. This fixes an issue where we were parsing
messages about syncing filters as if they were filter headers, which
would cause the progress indicator to jump around during the middle of
the sync process due to it thinking that more filter headers had been
synced than was actually the case.
7 years ago
Tom Kirkpatrick
d13c4f2a5d
fix(lnd): only connect to single btcd host
The lnd sync process doesn't currently handle multiple btcd connections
well. Remove the alternate btcd hosts for testnet and mainnet.
See https://github.com/lightningnetwork/lnd/issues/1752
7 years ago
Tom Kirkpatrick
9ab16e3fb3
fix(lnd): prevent full chain sync on wallet init
Do not set `recovery_window: 250` in our call to `initWallet` when
creating a new wallet, as this causes lnd to scan the entire chain for
non-existent funds which slows the lnd sync process.
See https://github.com/lightningnetwork/lnd/issues/1744
7 years ago
Tom Kirkpatrick
1b4de6cb0c
feat(lnd): show error message if lnd exits
If lnd unexpectedly exits, show the user the last error message
reported by lnd in order to help diagnose issues.
See #674
7 years ago
Tom Kirkpatrick
114151f5f6
fix(grpc): ensure full disconnect on window close
Do not try to send incoming data from GRPC streams to the main window
after the window has been closed.
Fix #677
7 years ago
Tom Kirkpatrick
4ca96a9910
fix(neutrino): handle numbers and strings
7 years ago
Tom Kirkpatrick
38c19ac618
test(lnd): add some tests for neutrino
7 years ago
Tom Kirkpatrick
1671610177
feat(sync): more detailed sync progress
7 years ago
Tom Kirkpatrick
2870555ab8
feat(lnd): update to new btcd backend
7 years ago
Tom Kirkpatrick
56c6c59180
feat(lnd): support multiple lnd configurations
Store lnd data within the Zap datadir and prepare to be able to support
multiple lnd configurations.
7 years ago
Tom Kirkpatrick
5681b82a3c
refactor: move helper code to lib directory
7 years ago