Tom Kirkpatrick
f464356bf7
fix(validation): improve hostname/ip validation
Do not assume that an address that starts with a number is an IP
address and expand validation to cover all FQDNs and IP addresses.
Fix #766
6 years ago
Tom Kirkpatrick
3326db1e55
fix(lnd): send SIGINT to lnd to terminate
6 years ago
Tom Kirkpatrick
e9b4605523
refactor(grpc): convert WalletUnlocker to class
Convert the walletUnlocker object to a class with an interface that is
consistent with the Lightning class.
6 years ago
Tom Kirkpatrick
133e34dea2
test(neutrino): basic neutrino process spawn test
7 years ago
Tom Kirkpatrick
a16fdec23b
fix(lnd): ensure graceful shutdown
Lnd doesn't currently do a graceful shutdown when a `SIGTERM` is issued.
To ensure a graceful shutdown, call `stopDaemon` on the gRPC interface
prior to terminating lnd. If a graceful shutdown is unsuccessful then
force kill the daemon.
7 years ago
Tom Kirkpatrick
853c69468f
feat(lnd): update lnd to v0.4.2-beta-913-g26f68da5
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
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
2ab60892d0
test(neutrino): tests for start and stop methods
7 years ago
Tom Kirkpatrick
38c19ac618
test(lnd): add some tests for neutrino
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