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
Tom Kirkpatrick
1a09842e4d
test(coverage): exclude app/dist from coverage
6 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
JimmyMow
00c8196ce9
Merge pull request #656 from mrfelton/refactor/tests-reorg
test(runner): reorganise test suites
6 years ago
Tom Kirkpatrick
9962faf2bc
test(coverage): generate coverage for all source
6 years ago
Tom Kirkpatrick
d4c51e9e3d
test(runner): reorganise test suites
Reorganise test suite so that unit tests are cleanly separate from e2e
tests. Update tests to make better use of our custom module resolves.
6 years ago
Tom Kirkpatrick
e7f6e9e588
chore(deps): update jest and other test packages
Update jest and other test related packages to latest version.
6 years ago
Tom Kirkpatrick
c57f10b4b1
fix(ui): set app title to "Zap"
6 years ago
Tom Kirkpatrick
79572864f3
Merge pull request #536 from mrfelton/chore/update-deps-react
Update react to latest v16.x
6 years ago
Tom Kirkpatrick
a2ad803e81
refactor(react): migrate to React Hot Loader v4
Update RHL implementation to recommended v4 semantics.
See https://github.com/gaearon/react-hot-loader#migrating-from-v3
7 years ago
Tom Kirkpatrick
4ee87f1476
refactor(react): ternary conditional classnames
React v16.x reports errors when using boolean operators for conditional
classnames and requires that you instead use ternary style conditional
clauses.
7 years ago
Tom Kirkpatrick
4b98b5a1fc
chore(deps): update react packages to v16.x
Update react and related dependencies to the latest 16.x versions.
7 years ago
JimmyMow
8426efe006
Merge pull request #647 from mrfelton/fix/flow-typed
Update flow typed and ensure our code is processed properly
6 years ago
JimmyMow
d8a3a0e287
Merge pull request #649 from mrfelton/chore/update-deps-eslint-plugin-json
chore(deps): update eslint-plugin-json package
6 years ago