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
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
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
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
4ca96a9910
fix(neutrino): handle numbers and strings
6 years ago
Tom Kirkpatrick
288e15cbcb
fix(lnd): ensure neutrino is properly initialized
6 years ago
Tom Kirkpatrick
38c19ac618
test(lnd): add some tests for neutrino
6 years ago
Tom Kirkpatrick
1671610177
feat(sync): more detailed sync progress
7 years ago
Tom Kirkpatrick
2870555ab8
feat(lnd): update to new btcd backend
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
Tom Kirkpatrick
c57f10b4b1
fix(ui): set app title to "Zap"
7 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
5681b82a3c
refactor: move helper code to lib directory
7 years ago
Tom Kirkpatrick
b180287f6c
feat(ux): keep app running on window close
The standard approach on Darwin is to keen applications running when the
window is closed. Clicking the apps icon again in the doc should bring
back the application window.
This changeset refactors things to handle this. It will keep Zap and lnd
running in the background when the main application window is closed.
Quitting the app will stop both the app and lnd.
Fix #586
Fix #601
7 years ago
Tom Kirkpatrick
32399cf4c9
feat(lnd): require explicit connection config
Do not assume that if the user has lnd running already on the localhost
we want to connect to it. Always ask the user for explicit connection
params.
7 years ago
Tom Kirkpatrick
b54fd264d8
feat(lnd): require explicit connection config
Do not assume that if the user has lnd running already on the localhost
we want to connect to it. Always ask the user for explicit connection
params.
7 years ago
Tom Kirkpatrick
a4a3c5c007
fix(activity): show paid/unpaid on invoice tooltip
Show "paid" or "unpaid" in brackets next to the invoice activity icon in
the activity list.
7 years ago
Tom Kirkpatrick
87bc9cb063
fix(activity): show icon for paid invoices
Fix : #625
7 years ago
Tom Kirkpatrick
b3b3d0f999
fix(windows): read lnd config from %LOCALAPPDATA%
Lnd stores it's config files in %LOCALAPPDATA% on windows. Ensure that
we use this path in our lookups.
Fix #628
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
Tom Kirkpatrick
8b4c863579
refactor(neutrino): consistent method/event naming
7 years ago
Tom Kirkpatrick
b14ca33e55
fix(activity): show settled date for paid invoices
Fix : #624
7 years ago
Jack Mallers
9d7ea7689c
fix(package-lock): remove package-lock
7 years ago
Tom Kirkpatrick
b5d70faefb
feat(updates): implement electron auto updates
Add support for auto updates using electron-updater.
Fix #607
7 years ago
Tom Kirkpatrick
02d0a5564d
refactor(lnd): refactor lnd/config
Refactor lnd/config for better readability.
7 years ago
Tom Kirkpatrick
eb4fe31e27
fix(lnd): support tilde in connection params
Expand the tilde character when used in connection parameters.
Fix #596
7 years ago
Tom Kirkpatrick
d7245725e2
fix(lnd): more robust homedir detection
`os.userInfo().homedir` is an unreliable way to get the path to a user's
home directory. Use `os.homedir` instead.
Fix #596
7 years ago
Tom Kirkpatrick
ac1b6e8830
style: fix lint issue
7 years ago
Tom Kirkpatrick
ec2b5b79ca
chore(version): bump to 0.2.1-beta
7 years ago
sevcik
2fa918c8eb
feat(onboarding): allow login with Enter key press
7 years ago
terencechow
ace267ba86
fix(copy): fix small typo re adding funds to network
7 years ago
Jack Mallers
93604f21b0
fix(copy): fix small typo in login copy
7 years ago
Tom Kirkpatrick
8220ed0852
fix: honour currency when opening channel
Ensure that the currently active unit of account is honoured when
opening a new channel.
Fix #523
Also see #604
7 years ago
Tom Kirkpatrick
0de2b7d2b0
fix(onboarding): show existing wallet location
If we find an existing wallet for a user during the onboarding process
let the user know where it is.
7 years ago
Tom Kirkpatrick
d2f53aa6fd
fix(onboarding): improve existing wallet message
Improve the wording of the message users see when they go through
onboarding and we detect that they already have an existing wallet.
7 years ago
Tom Kirkpatrick
583d34cdad
build: auto download lnd-binary on install
Use `lnd-binary` to download and install the correct mac/windows/linux
lnd binary as part of the install process.
See https://github.com/mrfelton/lnd-binary
7 years ago
Jack Mallers
7072dedbc3
fix(version): bump to 0.2.0
7 years ago
Jack Mallers
26bc050171
fix(version): bump version
7 years ago
Ben Woosley
bfd13835f8
fix(transaction notification): fix that state access was off the mark
And make the test more robust against unexpected state.
7 years ago