tomFlowee
bb45a9cf09
Avoid ret-dot on closed wallet appearing.
2022.07.0
2022-07-21 16:37:18 +02:00
tomFlowee
004787cada
Various fixes after user-testing session.
2022-07-21 16:09:08 +02:00
tomFlowee
fff90de695
Fixlets and simplification in unit unit test
...
This reflects that we no longer have a 3-state but that a wallet is
either open or closed.
2022-07-21 14:21:31 +02:00
tomFlowee
3608940ad8
Small changes to he readme
2022-07-21 13:37:41 +02:00
tomFlowee
e1cb6d3c40
Make connection between payment request & wallet more robust
...
As they have a pointer to each other we have to be a bit smart about how
removing works and how deletion works. Because otherwise we'll end up
with calling a deleted object.
2022-07-21 13:10:44 +02:00
tomFlowee
1971b57264
Fix error showing up and make sure we echo bullets here
2022-07-21 11:48:03 +02:00
tomFlowee
c050569672
Make decrypt entry have initial focus.
2022-07-21 11:40:33 +02:00
tomFlowee
91dbd1cb2d
Add 'open' context menu on account list item
...
To get us to a password-entry dialog.
2022-07-21 11:38:52 +02:00
tomFlowee
9c451ba242
Allow setting even a saved request to have no parent.
2022-07-20 20:32:57 +02:00
tomFlowee
c1f386b311
Fix the showing of the transactions.
...
This finally fixes the odd case where a default wallet that is fully
encrypted did not show any transactions directly after the user typed
the password.
Turns out this is some weird cornercase in Qt/QML and removing some
code fixes this.
The downside; we now show a qml warning on startup. 🤷
2022-07-20 20:32:57 +02:00
tomFlowee
489e2e1464
Make payment request act on wallets opening/closing
2022-07-20 18:38:56 +02:00
tomFlowee
8fdc569364
locked utxo fixes
...
Count user-locked utxos again in balance
Mark wallet in need of saving when manually locking/unlocking a utxo.
2022-07-20 14:34:01 +02:00
tomFlowee
df6eb5fb4c
Improve PR saving and avoid unneeded wallet-writes.
...
For a payment-request we now remember if its been stored-to-disk so when
it gets removed again before we ever store it, we skip forcing an
unneeded save.
2022-07-15 14:20:58 +02:00
tomFlowee
2fb315bcc2
new version
2022-07-15 10:02:14 +02:00
tomFlowee
11f83f411c
Update details pane for encryption support
...
Wallets can be opened from here now and the backup doesn't just hide but
shows a hint that a backup can only be made when the wallet is opened.
2022-07-14 20:48:05 +02:00
tomFlowee
b69f9363dd
Don't save temporary payment requests.
2022-07-14 19:38:01 +02:00
tomFlowee
43dff3381a
To encrypt a password we now ask the pwd twice.
...
To make sure the user didn't mistype it.
2022-07-14 19:19:19 +02:00
tomFlowee
aede168236
Fixes in saving / encryption.
2022-07-14 17:45:09 +02:00
tomFlowee
6e4aa0065e
Switch to the string type for saving mnemonics
...
This solves a recently introduced debt.
2022-07-14 17:03:00 +02:00
tomFlowee
0d08e7b3e4
Make a pin-to-pay wallet get auto-closed after 200s
...
This is one of the last features needed for the task.
Closes : #1
2022-07-14 16:11:20 +02:00
tomFlowee
d4658564ff
Use secure allocator for mnemonic
...
This ensures that we not swap out this value.
2022-07-14 15:28:23 +02:00
tomFlowee
b41fd2b72b
Make error logging of this more verbose.
2022-07-14 14:55:39 +02:00
tomFlowee
38ff068dcc
Make QR blank when the wallet is encrypted.
2022-07-14 14:55:21 +02:00
tomFlowee
524f47dbf2
Catch and log saving errors on exit.
2022-07-14 14:54:27 +02:00
tomFlowee
67be029cb7
Fix comment.
2022-07-14 14:43:38 +02:00
tomFlowee
2da9274036
On archive, also close wallet.
2022-07-14 14:43:10 +02:00
tomFlowee
e0fe6fe532
Fix missing emit.
...
Now the balances and 'last transaction' fields are updated on decrypt.
2022-07-14 10:52:43 +02:00
tomFlowee
05a4ee34f8
Trap against race-condition on closing a wallet.
...
Also add some suggestions to avoid work.
2022-07-13 14:16:36 +02:00
tomFlowee
1a5f2541cd
Add debug
2022-07-13 13:54:29 +02:00
tomFlowee
e610f9d354
Fix logic
...
This meant to only send an updated filter after 25 mismatches, make it do that now.
2022-07-13 13:54:29 +02:00
tomFlowee
0c9136be3b
Refactor wallet encryption
...
This stops re-loading of the wallet-data on decrypt but instead keeps
the encrypted data in memory next to the (possibly) decrypted data.
This then means we can save a wallet that has its secrets still
encrypted (no password supplied) which is needed in order to propery
support the concept of xpub.
So, now a HD wallet that is closed can correctly sync and create new
public keys (which are needed to sync), including the step of saving
those to disk.
The first time the user provides a password we'll then create the
matching private keys (and their encrypted counterparts) which will then
be saved, and naturally can be used to sign transactions.
2022-07-13 13:54:29 +02:00
tomFlowee
01a5bca7a9
Add more initialiation of crypto lib
2022-07-11 23:26:59 +02:00
tomFlowee
90252a4e1a
Allow HD wallet to sync while encrypted
...
This allows an encrypted HD wallet to sync using merkleblock p2p
messages by using the xpub instead while the private keys are
unavailable.
2022-07-11 22:11:01 +02:00
tomFlowee
9fa7b96253
Make sync status show for 'pin to pay' wallets.
2022-07-11 22:08:43 +02:00
tomFlowee
d42357e511
Match operator= with copy constructor.
...
This solves a gcc warning.
2022-07-11 19:26:59 +02:00
tomFlowee
27af984f5b
Split off encryption methods to its own file.
...
This avoids Wallet.cpp to become too huge and groups stuff to
make it easier to find.
2022-07-11 19:23:30 +02:00
tomFlowee
684c898939
Add warning on bad pwd.
2022-07-11 19:17:05 +02:00
tomFlowee
fdf42777c4
Save HD wallet data encrypted.
2022-07-11 18:30:18 +02:00
tomFlowee
56f367a515
Fixlet in unit test.
2022-07-06 22:54:37 +02:00
tomFlowee
a94d305f42
Follow rename of CKey to PrivateKey
2022-07-06 22:15:08 +02:00
tomFlowee
eafc29c1cb
Turn techy walletEncryption into a user friendly one
2022-07-06 22:07:43 +02:00
tomFlowee
663169530d
Follow rename of CKeyID -> KeyId
2022-07-06 22:06:58 +02:00
tomFlowee
1dc32c8aa3
Make AccountTypeSelector more generic.
...
Now named CardTypeSelector
2022-07-01 14:29:43 +02:00
tomFlowee
35f4ccd8d7
Merge branch 'master' of banana:floweepay
2022-06-30 21:02:34 +02:00
tomFlowee
2c68c98bd2
really, nobody cares
2022-06-30 20:58:56 +02:00
tomFlowee
a04142cef5
Its a markdown file
2022-06-30 19:46:29 +02:00
tomFlowee
36e06abfd7
Make typing pwd and enter submit
...
On the send screen we have a popup for the password, now this tries to
unlock the wallet not just when the user hits the 'Ok' button, but also
when the user hits enter.
2022-06-29 20:06:01 +02:00
tomFlowee
59b28d730e
bugfixes
2022-06-29 16:04:53 +02:00
tomFlowee
2ea672fbf2
tweak color
2022-06-29 16:04:53 +02:00
tomFlowee
e5e2b8bc04
Hide balance and tabs for encrypted wallet
2022-06-29 16:04:53 +02:00