Tom Kirkpatrick
a989c038fc
feat(wallet): remember last wallet address
Only generate a new wallet address after the last one has been used.
Fix #519
7 years ago
Tom Kirkpatrick
1c8a2e9bf4
feat: determine block sync progress early
Determine the current block height directly from the lnd log output and
pass the data into the app as soon as we have it. Do not call out to
block explorers if we don't need to.
7 years ago
Tom Kirkpatrick
d617dd2657
feat(sync): show lnd block sync progress
Show the current and total block counts to provide better feedback to
users about what is happening during the sync process.
Fix #517
7 years ago
Tom Kirkpatrick
d548915efc
feat(api): redundant block explorer api backends
Call out to 3 different block explorers to get the current block height
and use the result from whichever responds quickest.
Fix #463
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
odb366
31a8084c01
fix(onboarding-password-bug): add more password validation
7 years ago
Tom Kirkpatrick
becb5ecee9
refactor: modularize and simplify app startup code
`main.dev.js` was hard to follow and understand the code flow. It housed
code to handle quite a few distinct things. This is a fairly substantial
refactor of the application startup code in which we:
A new `Neutrino` class has been created with 2 public methods. `start`
and `stop`. `start` will launch a new `lnd` process whilst `stop` will
stop it. This class extends the `EventEmitter` class and emits the
following events based on activity detected from the lnd log output.
- `grpc-proxy-started` - gRPC started
- `wallet-opened` Wallet opened
- `fully-synced` - lnd is all caught up to the blockchain
- `got-block-height` - got updated block height
A new `ZapController` class has been created which houses all of the
logic for intraprocess communication between the main and renderer
processes.
Previously we had several `setInterval` loops that were checking every
second to see if the application status has changed and trigging the
appropriate action if so. This was pretty hard to follow has been
replaced here with more extensive use of promises. This enables us to
act instantly to relevant changes rather than waiting up to 1 second
for the next interval to fire.
Now, the only stuff that lives in `main.dev.js` now is the top level
`app` listeners, which calls out the other parts mentioned above to
bootstrap the application.
7 years ago
Kristiyan Lukanov
58e34e2299
fix(onboarding-pass-validation): added password validation ( #424 )
* fix(onboarding-pass-validation): users are not allowed to proceed if pass < 8 char
* fix(onboarding-pass-validation): fixed prettier issue
* fix(onboarding-pass-validation): fixed prettier issue2
* fix(onboarding-pass-validation): add 8 char inline validation
* fix(onboarding-pass-validation): improve password validation
7 years ago
Tom Kirkpatrick
ba34367750
perf(bundle-size): remove lodash dependency
Shaves 34.57k of final renderer.prod.js bundle size.
7 years ago
Ben Woosley
530784a7db
fix(seed checker): don't fail if the user provides more seed words than required
Previously, if the user pushed the back button after supplying a seed word,
then returned and entered the required three, the seed check would fail due to
there being more words supplied than required.
7 years ago
Jack Mallers
c446567dda
feat(retype-seed): select 3 random seed indexes for the user to enter
7 years ago
Jack Mallers
5c301075e0
fix(waiting_close_channels): account for waiting_close_channels
7 years ago
Jack Mallers
afb690dd95
fix(p2pkh): generate np2wkh instead of p2pkh
7 years ago
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
f87236495a
style(line length): Limit prettier line length to 120 chars
150 is a bit too long
7 years ago
Ben Woosley
689d5bf753
lint(unnecessary disable): Remove unnecessary eslist-disable-lint statements
7 years ago
Tom Kirkpatrick
0846bcb772
style(lint): lint and format all code
7 years ago
Ben Woosley
07facd5d0d
On the receive modal, label the address Testnet when appropriate
7 years ago
Ben Woosley
08fbed672f
Prefix ticker units with 't' when running on testnet
7 years ago
Ben Woosley
7d39aec678
Replace info.isTestnet with info.network
This holds network-specific information, initially the explorerUrl and the
bitcoinJsNetwork.
7 years ago
Ben Woosley
037f351b59
Drop the ModalRoot component
Given we have no active use of it, and the trend seems to be toward independent
modal components, eg. ContactModal, let's drop it.
7 years ago
Jack Mallers
8339c0b04d
fix(daily activity sort): sort the activity within a day from new to old
7 years ago
Tom Kirkpatrick
e8e6e9fe6b
fix(channels): filter channel list on node alias
Update channel filter handlers to correctly consider the node alias.
Fix #396
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
a42b1a04e6
fix(lint/tests): fix lint/tests and remove hard coded data
7 years ago
Jack Mallers
6be387291d
feature(waitingChannels): add waiting close channels support to allChannels selector
7 years ago
Jack Mallers
63707b0b40
fix(lint/tests): fix lint and test errors
7 years ago
Jack Mallers
0f8ed62e7d
feature(suggestedNodes): style the component and render the nodes
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
d0d562808c
feature(activity-search): implement new activity search
7 years ago
Jack Mallers
3a1d008466
fix(lint): fix lint errors
7 years ago
Jack Mallers
e661f9b371
feature(groupAll): abstract grouping logic out and apply it to all filters
7 years ago
Jack Mallers
e85a9b2dd1
fix(activity): grouped data by day and redesign payment, invoice and transaction components
7 years ago
Jack Mallers
1e7d992edd
fix(wallet-header): wire up currency switching from the home page wallet header
7 years ago
Jack Mallers
a2e0f48bb7
feature(close-channel): wire up close channel to UI
7 years ago
Jack Mallers
efc5cf0f02
fix(onchain): fix the UX for on-chain payments to be like the UX for LN payments
7 years ago
Jack Mallers
08d263ca94
fix(contactsform): fix performance hit when searching the network for nodes. limit the amount thats returned so we arent rendering thousands of nodes ever.
7 years ago
Jack Mallers
7cff397a4c
fix(lint + grpc): fix lint errors and a bug where gRPC connection starts too early
7 years ago
Jack Mallers
4b35c5f1aa
fix(channelform): remove old unused reducer
7 years ago
Jack Mallers
813585a2ec
fix(cleanup): remove hard-coded initialState data and set PropTypes on ConnectManually
7 years ago
Jack Mallers
3eb2263ff4
feature(SubmitChannel): wire up backend to new submit channel form + loading pubkeys UI
7 years ago
Jack Mallers
a0f9027180
feature(contactsform): tie up new contacts form to reducer
7 years ago
Jack Mallers
9893fb4214
fix(aezeed): make aezeedPassword component stateless
7 years ago
Jack Mallers
2bb28e0bbd
fix(lint): fix linting errors
7 years ago
Ben Woosley
266692368c
enhance(invoice expiry): Exclude expired invoices from the pending activity view
Because they're not pending. They're still present in the Requested view.
7 years ago
Ben Woosley
8b004788ab
Sort the contacts form relative to peer's contactability
Private peers can't be acted on, so show them below the contactable peers.
7 years ago
Jack Mallers
9369baf308
fix(createWalletPassword): refactor component to be stateless. use selector to show error on non matching passwords and not allow user to continue until passwords are matching
7 years ago
Jack Mallers
4a6a360128
feature(createWalletConfirmation): add walletPasswordConfirmation to reducer
7 years ago
Jack Mallers
f2c544cab8
feature(reEnterSeedChecker): return true or false based on whether the user has re-entered the seed correctly
7 years ago