Commit Graph

61 Commits

Author SHA1 Message Date
tomFlowee a5bb96dd74 Be more finegrained in timing
Seems the label "Now" is not accurate enough for most when its almost
half an hour. Have a more reasoable labeling.
2021-11-21 13:23:31 +01:00
tomFlowee d350395898 Fix finding wordlists
Also added other wordlists to the search.
2021-11-19 13:44:54 +01:00
tomFlowee 3ec6467ac5 Fix directory we look for the wordlists. 2021-11-19 13:20:08 +01:00
tomFlowee cfcbdede36 Add wallet-upgrade (version 1 -> version 2)
We introduced for secret keys the signature-type field, which is required
to avoid signing with one key as both Schnorr and ecdsa as
that can cause leakage making recovering the private key much easier.

So, we now store this data but old wallets didn't fetch that from
the incoming transactions. So this conversion fetches the data from the
transactions (which are on the device) and stores the sigtype with the
keys.
2021-11-02 14:54:59 +01:00
tomFlowee c20f97c510 Support 'startHeight' for all imported wallettypes. 2021-11-01 17:58:11 +01:00
tomFlowee 6c720feb60 Default to 12 word seeds. 2021-11-01 17:57:11 +01:00
tomFlowee 908a99ab05 Fix logic issue. 2021-11-01 16:33:53 +01:00
tomFlowee 32d2142ab0 Show dates nicer
This adds the feature that we show a "last receive" field on a wallet,
and we also change the date format to have "yesterday" style dates
for recent ones.
2021-10-31 15:30:38 +01:00
tomFlowee 73d17beef0 Improve feedback while typing a seed.
Now we instantly highlight when a word is not recognized.
2021-10-31 13:46:47 +01:00
tomFlowee 98431b6e17 Add and install bip39-english 2021-10-28 14:51:12 +02:00
tomFlowee 3b492ef804 When creating a new wallet, maybe reuse the hidden one 2021-10-27 19:11:00 +02:00
tomFlowee 80d7456898 Make new-wallet pane functional.
This changes the default generated wallet to be a HD wallet.
We also add a helper class to configure newly created wallets from QML.
This finishes up the new wallet panel to have all the visible features
actually do something.
2021-10-27 19:11:00 +02:00
tomFlowee da8b883116 Add 'startHeight' advanced property to import wallet.
This also fixes a bunch of bugs which makes HD wallets in principle work
(tested with big test wallet).
2021-10-21 20:54:34 +02:00
tomFlowee 80f731b8b4 Show more details about HD wallet in UI 2021-10-21 17:04:20 +02:00
tomFlowee 71fbf76034 Start to sync a wallet directly after creation. 2021-10-21 15:11:36 +02:00
tomFlowee 29d3ab393d Validate derivation path. 2021-10-18 23:19:57 +02:00
tomFlowee f61daf7cb9 Shape the 'import' screen to be much more useful. 2021-10-18 22:26:53 +02:00
tomFlowee 087e0ad3cc Add app version number in desktop GUI. 2021-08-09 18:46:38 +02:00
tomFlowee 8853a8652b Make sure importing a privkey gives a single-key wallet 2021-07-30 14:09:39 +02:00
tomFlowee 8a5acee807 Set not user-owned wallets to lowest prio.
We can't delete them completely, at least for a while, because we can't
know if the user has used the QR payment code we presented at the first
app startup.
2021-07-30 12:19:12 +02:00
tomFlowee d402e7619f Import existing wallet from an older date. 2021-07-14 15:16:19 +02:00
tomFlowee 93a4fada62 Merge branch 'master' of origin:floweepay 2021-06-24 19:07:28 +02:00
tomFlowee 60ff44a544 Make blockheaders a normal file
This moves away again from the QRC option because the 60MB file is
probably a little too much to compile into the executable.
2021-06-24 19:07:23 +02:00
tomFlowee 511679ea63 Remember unit that user sets. 2021-06-07 23:35:33 +02:00
tomFlowee 2973dcbe24 Make first startup much faster
We store a blockheight at which point a private key is created, allowing
us to skip merkle checks before that time.
This was was tricky for a not yet synched wallet because its blockchain
was stuck at height zero.
Causing us to sync everything anyway.

Now we store the timestamp of wallet create instead, until the time that
the blockchain is synched. After that we resolve the block that we need
to start sync from based on that timestamp.
2021-05-28 18:13:50 +02:00
tomFlowee 967b3bdbcf Add infra to bake in legacy blockheaders
This avoids every single user having to wait for the headers to sync
as we can include those (not included in this commit) during the build
2021-05-28 11:42:38 +02:00
tomFlowee dc48600ff4 Make Schnorr signing default. 2021-05-04 17:41:49 +02:00
tomFlowee a8ab3316c8 Allow hiding balances. 2021-05-01 16:21:58 +02:00
tomFlowee 9560e951fd Port more old functionality to the new GUI 2021-04-22 16:13:40 +02:00
tomFlowee f96a51eb89 Improve initial-wallet creation 2021-04-21 15:17:08 +02:00
tomFlowee 12a8b99317 Clarify API for chain selection. 2021-03-31 12:13:24 +02:00
tomFlowee 22ac2d98fc Be smarter about blockheight
This solves the issue where we expect too many blocks when a client is
restarted while being at the tip and there is more than 300 seconds
passed since the last block.

This now doesn't show we are waiting for blocks until an actual block is
mined by having a 25min variance allowance.
2021-02-06 16:30:51 +01:00
tomFlowee fb598c8c8f Add notification manager. 2021-02-05 16:56:02 +01:00
tomFlowee a79668b9ad Make dspTimeout configurable 2021-01-16 17:01:18 +01:00
tomFlowee 657d9de3e6 Auto upgrade an incoming payment after a couple of seconds of settling. 2021-01-16 14:28:09 +01:00
tomFlowee 68e4566e1d Remove dead code. 2021-01-07 22:27:04 +01:00
tomFlowee b3fc9cad8d Fix possible crash on exit. 2021-01-07 20:09:41 +01:00
tomFlowee 1262733154 Make bip21 payment request minimal functional 2021-01-06 15:26:46 +01:00
tomFlowee c075a80a9b Make a valiant effort to start PaymentRequests 2021-01-05 00:25:23 +01:00
tomFlowee 4c522d8789 When swiping a paper key, mark wallet as single-address.
This means that we don't send funds to another address by default.
2020-12-26 19:35:54 +01:00
tomFlowee 8125313ed7 Make unit indicate chain.
This makes sure that we have 'tBCH' for the test chain to avoid
confusion.
2020-12-26 15:03:02 +01:00
tomFlowee 8d2840f9a9 Use expected height to indicate if wallet is behind
This helps give instant feedback before we connected to good peers.
2020-12-26 14:54:41 +01:00
tomFlowee 95000536f0 Cleanups and fixes 2020-12-25 23:27:14 +01:00
tomFlowee 2a53c005d9 Create a defaults.ini and set the useragent in there 2020-12-25 15:40:21 +01:00
tomFlowee 3b20226fce Expose details of a transaction for QML
For each transaction allow to click on it and show lots of further
details about it.

This also fixes various bugs and adds some basic helper methods in
various places.

The QML is barely functional, getting the right data exposed was the
only goal today.
2020-12-17 23:12:39 +01:00
TomZ 5f4c8ed268 Fixlets 2020-11-05 22:16:26 +01:00
TomZ 63902d2730 Add support for testnet addresses 2020-10-30 18:06:58 +01:00
TomZ 875717c760 Make future proof; use a lambda. 2020-10-30 09:42:55 +01:00
TomZ 31304be4b1 Add support for testnet4 2020-10-29 21:51:52 +01:00
TomZ c3c70b266a Fix bug, now we show how far we are behind. 2020-10-24 17:09:10 +02:00