Tom Kirkpatrick
ac3ee5f5f0
chore(deps): update jest to v23.5.0
This resolves an issue with jest that was preventing tests from
completing on windows environments.
See https://github.com/facebook/jest/issues/6639
6 years ago
Tom Kirkpatrick
4731eb940d
test(jest): add --detectOpenHandles switch
6 years ago
Tom Kirkpatrick
277128a9e2
Merge pull request #689 from wraithm/fix/invoice-amt-paid
fix(invoice-amt-paid): settled invoices show amt_paid
6 years ago
JimmyMow
b98cf80364
Merge pull request #692 from mrfelton/fix/ui-seed-font-display-linux
fix(ui): increase line-height in seed reentry form
6 years ago
Tom Kirkpatrick
1efa299448
Merge pull request #698 from LN-Zap/feat/private-0-conf-autopilot
feat(autopilot): enable private and minconfs=0
6 years ago
Jack Mallers
d162d450aa
feat(autopilot): enable private and minconfs=0
fix(neutrino): remove unneeded comments
fix(autopilot): move private/minconf to proto
6 years ago
Tom Kirkpatrick
43de5b1f69
fix(ui): increase line-height in seed reentry form
Due to differences in font rendering cross-platform set line-height to
ensure consistent experience on mac/linux.
Fix #665
6 years ago
JimmyMow
6b7c04a9b5
Merge pull request #687 from mrfelton/chore/update-lnd
fix(lnd): update lnd to latest version
6 years ago
Matthew Wraith
cdcd5b714f
fix(invoice-amt-paid): settled invoices show amt_paid
Settled invoices show the amount paid by the payee instead of the requested
value from the invoice. This involves using an updated version of the lnd rpc
protocol.
This is in response to issue #654 .
amt_paid is exposed to users via invoice.finalAmount, which is constructed
via a new invoice decorator.
6 years ago
JimmyMow
01ac400f56
Merge pull request #673 from mrfelton/fix/support-full-refresh
feat(wallet): restart onboarding on app refresh
6 years ago
Tom Kirkpatrick
32345f643e
fix(lnd): update lnd to v0.4.2-beta-752-g6c903393
6 years ago
JimmyMow
173ce414b0
Merge pull request #693 from mrfelton/fix/loading-screen-during-genseed
fix(ux): show loading bolt while seed is generated
6 years ago
JimmyMow
7874fddb11
Merge pull request #684 from mrfelton/fix/disable-lnd-rest
fix(lnd): disable lnd REST interface on port 8080
6 years ago
JimmyMow
097b2fb700
Merge pull request #683 from mrfelton/fix/lnd-error-detail
feat(lnd): show error message if lnd exits
6 years ago
JimmyMow
4938090bb0
Merge pull request #679 from mrfelton/fix/grpc-disconnect
fix(grpc): ensure full disconnect on window close
6 years ago
JimmyMow
2a6f95cf8f
Merge pull request #688 from mrfelton/fix/sync-restart
fix(lnd): prevent full chain sync on wallet init
6 years ago
JimmyMow
74280f1619
Merge pull request #691 from mrfelton/fix/lnd-cfilterheader-message-parse
fix(lnd): don't treat filters as filter headers
6 years ago
JimmyMow
bcf7769923
Merge pull request #690 from mrfelton/fix/lnd-single-btcd-host
fix(lnd): only connect to single btcd host
6 years ago
Tom Kirkpatrick
1e605421a1
fix(ux): show loading bolt while seed is generated
Ensure that the loading bold graphic shows whist the seed for a new
wallet is being generated. This provides a smoother user experience
and prevents users from being able to initiate actions through the
UI when they shouldn't be able to.
6 years ago
Tom Kirkpatrick
e786958b55
test(electron): simplify electron mocks
6 years ago
Tom Kirkpatrick
602d03411a
test(unit): add some basic tests for Lightning class
6 years ago
Tom Kirkpatrick
0ecb169e5c
chore(flow): add flowtype to Lightning class
6 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.
6 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
6 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
6 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
6 years ago
Tom Kirkpatrick
f2d093591e
fix(lnd): disable lnd REST interface on port 8080
Disable the REST interface which by default runs on port 8080 so as to
avoid conflicts with users that are using port 8080 for other things.
We don't use the REST interface so we don't need to expose it.
Fix #674
6 years ago
Tom Kirkpatrick
3dcb2ec6ed
chore(lnd): update lnd.conf file
Update our lnd.conf file to reflect the most recent sample config
provided by lnd. This documents several new config options.
6 years ago
Tom Kirkpatrick
dfa09c70f5
fix(app): simplify app quit process
Remove redundant code relating to the app close/quit process.
6 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
6 years ago
JimmyMow
8457549a82
Merge pull request #672 from mrfelton/fix/invoice-notification
fix(invoice): only notify on settled invoices
6 years ago
Tom Kirkpatrick
2ab60892d0
test(neutrino): tests for start and stop methods
6 years ago
Tom Kirkpatrick
489f115e77
feat(wallet): restart onboarding on app refresh
If a full refresh is done from within the app (`cmd + r`) restart the
onboarding process from the beginning, including stopping lnd and
disconnecting any active connections.
Fix #641
6 years ago
Tom Kirkpatrick
b1be3f4433
fix(invoice): only notify on settled invoices
Fix a bug where we were incorrectly notifying users that an invoice had
been successfully paid when it had actually just been created.
Fix #670
6 years ago
JimmyMow
1f20907595
Merge pull request #667 from mrfelton/fix/transaction-amount-hints
fix(activity): correct tooltips in activity log
6 years ago
JimmyMow
024e9bd83a
Merge pull request #668 from mrfelton/fix/window-close-non-darwin
fix(app): quit when window closed on non-darwin
6 years ago
Tom Kirkpatrick
ddbdf01aba
fix(app): quit when window closed on non-darwin
On darwin, we keep the app running and just hide it when the window is
closed as that is the standard convention. On linux and windows the app
should be quit when the window is closed.
This resolves an issue where on linux/windows the app would remain open
when the window is closed, with no way to properly quit it short of
doing a force quit.
6 years ago
Tom Kirkpatrick
a6439f1069
fix(activity): correct tooltips in activity log
Fix a bug where we were showing transaction amounts as transaction fee.
Fix #662
6 years ago
Tom Kirkpatrick
d45d1718df
Merge pull request #664 from mrfelton/fix/numbers-strings
fix(neutrino): handle numbers and strings
6 years ago
Tom Kirkpatrick
4ca96a9910
fix(neutrino): handle numbers and strings
6 years ago
JimmyMow
843711cd85
Merge pull request #663 from mrfelton/fix/neutrino-init
fix(lnd): ensure neutrino is properly initialized
6 years ago
Tom Kirkpatrick
288e15cbcb
fix(lnd): ensure neutrino is properly initialized
6 years ago
JimmyMow
28f3427d76
Merge pull request #658 from mrfelton/chore/update-lnd
feat(lnd): update BTCD and LND to latest versions
6 years ago
Tom Kirkpatrick
38c19ac618
test(lnd): add some tests for neutrino
6 years ago
Tom Kirkpatrick
cb367990d7
feat(lnd): update lnd rpc proto file
6 years ago
Tom Kirkpatrick
1671610177
feat(sync): more detailed sync progress
6 years ago
Tom Kirkpatrick
2870555ab8
feat(lnd): update to new btcd backend
6 years ago
Tom Kirkpatrick
e8b9d22455
feat(lnd): update lnd to latest master build
6 years ago
JimmyMow
f159c0776d
Merge pull request #657 from mrfelton/feat/multiple-connections
Add backend support for multiple connections
6 years ago
JimmyMow
e81169ed85
Merge pull request #659 from mrfelton/test/exclude-dist-dir
test(coverage): exclude app/dist from coverage
6 years ago