Ben Woosley
dc29c80ad0
style(line length): Drop prettier line length from 120 to 100
Subjectively, this increases general readability, while the higher max-length
limit allows for longer strings and comments, etc.
7 years ago
Ben Woosley
4d876ae930
style(line length): Limit max length to 120, including comments, etc.
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
Ben Woosley
2cebba7a57
enhance(linting): Enable the eslint:recommended rules
Among other things, this makes no-console an error rather than a warning.
https://eslint.org/docs/rules/no-console
Given that we now have a proper logging facility, good to prevent incidental
introduction in the future.
7 years ago
Ben Woosley
e2ac8729d1
enhance(logging); Output app/lnd logs to the lnd log, rather than console.log
7 years ago
Jack Mallers
42344065f4
fix(lint): fix lint errors
7 years ago
Jack Mallers
225adf6a97
fix(addInvoice): decode payreq and send all invoice data back after newly created invoice
7 years ago
Tom Kirkpatrick
80dfa8c461
fix(passwords): convert password to Buffer
The wallet password is defined as `bytes` in the rpc.proto spec and we are
passing it as a string, resulting in an incorrect password being set on a
new wallet and an inability to unlock an existing wallet.
Convert the wallet password to a Buffer before passing to `initWallet` and
`unlockWallet`, which is the default data type used to represent bytes in
the node grpc client. This is sures that the password is passed correctly
to lnd.
Fix #400
7 years ago
Tom Kirkpatrick
1adb334146
feature(lnd-config): simplify handling of macaroons
Use grpc.credentials.combineChannelCredentials to combine the ssl
credentials with the macaroons when initializing the lnd rcp client.
This avoids the need to pass the macaroon metadata throughout the
codebase.
7 years ago
Jack Mallers
0ebfc46d60
fix(lint): fix lint errors
7 years ago
Jack Mallers
d9ed3f2c8b
fix(recovery_window): fix wallet recovery by specifying default recovery window
7 years ago
Jack Mallers
a2e0f48bb7
feature(close-channel): wire up close channel to UI
7 years ago
Jack Mallers
00a93b3aec
fix(): small console logs and errors
7 years ago
Jack Mallers
96f7a3e20b
feature(seed): style copy/enter seed pages
7 years ago
Jack Mallers
24ae067ad9
feature(unlockWallet): ability to unlock wallet with helpful error messages
7 years ago
Jack Mallers
91eb5e32c5
fix(on-chain): fix on chain modal to new styles
7 years ago
Jack Mallers
357cf4e0ef
fix(lint): fix all lint errors except a few (will fix the rest after i finish the rest of the modals)
7 years ago
Ben Woosley
313078cfc6
fix(eslint-promise): Enable the recommended eslint-plugin-promise config
And fix related errors.
I extracted ensurePeerConnected from connectAndOpen to solve some code
duplication.
7 years ago
Ben Woosley
4125283587
enhance(lints): Enable currenly disabled lints
7 years ago
Jack Mallers
200b8cad09
fix(contacts): force close offline contacts
7 years ago
Jack Mallers
962d79bb88
fix(lint): fix linting errors
7 years ago
Jack Mallers
4f97d1311b
fix(lint): fix lint errors
7 years ago
Jack Mallers
e994b3481d
fix(contacts): hard code 1 conf for channels
7 years ago
Jack Mallers
ff0ef1f80b
feature(contacts): close contact and close contact loading UX
7 years ago
Jack Mallers
75673ca5a9
fix(contacts): small bug fixes with contacts error and UI
7 years ago
Jack Mallers
bd2f1e7b0d
feature(contacts): loading state while adding a contact
7 years ago
Jack Mallers
1b14242e93
feature(contacts): start contacts feature
7 years ago
Jack Mallers
e793efa1ed
fix(lint): fix linting errors
7 years ago
Jack Mallers
eb913b0367
fix(lint): fix lint errors
7 years ago
Jack Mallers
c3f9ee7566
fix(contacts): hard code 1 conf for channels
7 years ago
Jack Mallers
28d52af8e6
feature(contacts): close contact and close contact loading UX
7 years ago
Jack Mallers
86f38adb77
fix(contacts): small bug fixes with contacts error and UI
7 years ago
Jack Mallers
f1911c0fa4
feature(contacts): loading state while adding a contact
7 years ago
Jack Mallers
37be5c0e1e
feature(contacts): start contacts feature
7 years ago
João Almeida
98e005938d
feature(auth-macaroon): Add macaroon auth support
7 years ago
Jack Mallers
10d6544986
fix(lint): fix so many linting errors lol
7 years ago
Jack Mallers
4f86a90ee0
fix(proto): fix merge conflicts and errors with new proto file
7 years ago
Jack Mallers
ac50de138c
fix(payment): fix payment error
7 years ago
Jack Mallers
bf0227ec96
feature(networkmap): working with some performance enhancements
7 years ago
Jack Mallers
c08f56e6ca
fix(lint): fixed some linting errors
7 years ago
Jack Mallers
3d16235e83
fix(payment): fix no error payments
7 years ago
Jack Mallers
e08f7802c3
fix(lnd): update lnd
7 years ago
Torkel Rogstad
ef54915c11
Removes unused code, adds proper semicolon rule and reduces lint errors
7 years ago
Jack Mallers
c00eff3a1c
fix(main.dev.js): onboarding bugs
7 years ago
Jack Mallers
5ea59e17fc
fix(lint): fix linting errors
7 years ago
Jack Mallers
9ad4beb03f
fix(lint, tests): fix linting errors and tests
7 years ago
Jack Mallers
e80dd91880
feature(request global error): hook up back end global errors for request form
7 years ago
Jack Mallers
ed11aaa460
feature(connect peer error): hook up global error handling for connecting to a peer
7 years ago
Jack Mallers
3dedf6c522
feature(payment error): error handling for LN payment
7 years ago