Tom Kirkpatrick
5681b82a3c
refactor: move helper code to lib directory
7 years ago
Tom Kirkpatrick
d7064f03c5
refactor(grpc): use @grpc/proto-loader
Fix grpc depreciation warning from `grpc.load`:
> grpc.load: Use the @grpc/proto-loader module with
> grpc.loadPackageDefinition instead
Fix #621
7 years ago
Ben Woosley
08cb1369fd
chore(security): tailor GRPC_SSL_CIPHER_SUITES to the connection type
This avoids expanding the acceptable cipher suites in general lnd connections
relative to the possibility of BTCPay server being involved.
7 years ago
Tom Kirkpatrick
dd134aa356
feat(grpc): lnd connection error recovery
Show errors to the user after a failed attempt to connect to a custom
lnd instance and allow the user to correct and try again.
Fix #493
7 years ago
Ben Woosley
f87236495a
style(line length): Limit prettier line length to 120 chars
150 is a bit too long
7 years ago
Tom Kirkpatrick
0846bcb772
style(lint): lint and format all code
7 years ago
Tom Kirkpatrick
6eda55de0c
fix(resources): fix up resource paths
Move rpc.proto into the resources directory along with all of the other
external resources.
Fix up the resource paths to reference external resources correctly
depending on wether the app is being run locally or from a release.
7 years ago
Ben Woosley
6d5ca1ab90
fix(lnd-proto-dup): Fix that we had redundant lnd rpc.proto files
Only one of these files was being used, and they were going out of step
relative to one another.
Put rpc.proto in the resources directory for consistency with other
vendored resources, i.e. the lnd binary
Updated the def from:
https://github.com/lightningnetwork/lnd/blob/master/lnrpc/rpc.proto
7 years ago
Tom Kirkpatrick
3c4a651764
feature(lnd-config): add connection type onboarding screen
Add a new set of screens into the connection onboarding flow that
allow the user to select wether to connect to a local or remote
LND node.
Fix #326
7 years ago
Jack Mallers
c1f9ec58bc
fix(grpcInit): remove old file
7 years ago
Jack Mallers
24ae067ad9
feature(unlockWallet): ability to unlock wallet with helpful error messages
7 years ago