Commit Graph

1346 Commits

Author SHA1 Message Date
Duke
51483843ac Report down server in errors of first time wizard 2023-03-26 08:12:23 -07:00
Duke
17fcb84a89 Report server in error when saving wallet as part of rescan 2023-03-26 08:10:43 -07:00
Duke
f22f97463b derp 2023-03-26 08:08:30 -07:00
Duke
f7787fe9e9 Try another server if current is down when restoring during a rescan; report down server in error 2023-03-26 08:08:01 -07:00
Duke
0b72d01f4a Add DEBUG macro for less typing 2023-03-26 07:55:34 -07:00
Duke
557e10e5e8 Try another server if current is down when restoring a wallet from seed or saving a wallet 2023-03-26 07:43:35 -07:00
Duke
3f8ae1f9d7 Try another server if current is down when creating new seed 2023-03-25 22:11:22 -07:00
Duke
3b6da338c9 Delete mobile app connector 2023-03-04 12:27:02 -05:00
Duke
430a7ab474 Delete websuckets 2023-03-04 12:20:06 -05:00
Duke
5d5447aced Improve error handling when restoring from seedphrase
We now catch exceptions in litelib_initialize_new_from_phrase and no longer save an empty/invalid wallet
if there were errors.
2023-03-04 12:02:32 -05:00
Duke
1e6e77055b Catch exceptions from litelib_initialize_existing 2023-03-03 00:16:25 -05:00
Duke
6165733e03 Ignore exceptions in litelib_initialize_existing() in a few places 2023-03-02 20:34:42 -08:00
onryo
2f328b005c rm test theme 2023-02-25 15:51:45 +01:00
onryo
613df81407 Add Q_OBJECT macros and fix Cannot invoke tr 2023-02-24 14:47:22 +01:00
onryo
5a389cf1cf Revert "Add Q_OBJECT macros"
This reverts commit c50588713a.
2023-02-24 09:41:58 +01:00
onryo
4ec06fffc3 Revert "Update 'src/controller.h'"
This reverts commit 69a2058bc4.
2023-02-24 09:41:49 +01:00
onryo
69a2058bc4 Update 'src/controller.h' 2023-02-24 08:18:46 +00:00
onryo
c50588713a Add Q_OBJECT macros 2023-02-24 08:42:39 +01:00
fekt
89f503ffda Setting fixed size for QR on deposit popup 2023-02-20 19:01:00 -05:00
fekt
4969275156 UI/color tweaks from SD 2023-02-20 19:00:19 -05:00
fekt
6c2d6d876d Remove Apps menu option and ctrl+m shortcut 2023-02-20 10:59:13 -05:00
onryo
b74d2952f5 update copyrights 2023-02-20 15:39:41 +01:00
fekt
85ee7b9378 Fix QR logo path 2023-02-19 21:50:40 -05:00
fekt
370cb7623b QR code changes 2023-02-19 20:49:03 -05:00
onryo
1f2c7defb7 Fit in 2023-02-19 00:57:57 +01:00
onryo
73694a0a27 More avatars and some notes 2023-02-18 19:37:25 +01:00
onryo
255901e4eb add a new avatar and remove very old ones 2023-02-18 14:57:34 +01:00
onryo
5ab5cf8e43 rm no longer in use lite server 2023-02-17 12:48:48 +00:00
onryo
db66200363 rm no longer in use lite server 2023-02-17 12:48:16 +00:00
onryo
c0fe5d281c add two more lite servers 2023-02-17 03:04:17 +00:00
onryo
b5051bfd3d the prodigal son has returned
The domain was restored by the Hush team!
2023-02-17 03:03:20 +00:00
onryo
5c144fa9c7 add two more lite servers 2023-02-17 02:57:11 +00:00
Duke
a8fc12e0e2 Change lite server after sending a tx for improved privacy
Assume Alice is using SDL for 1 hour and makes many transactions, perhaps using HushChat with Bob.
The lite server she is connected to will know know that IP address A has created transaction id B,
i.e. linkability of IP addresses to all the transaction ids that are created while she is connected.
If Bob is connected to the same lite server for some or all of those transactions, the complete
transaction graph is known : IP address A created txid B sending to IP address C which is the receiver
of txid B. This is not good.

One improvement could be that we change lite servers on an interval, such as every 5 minutes. That would
be better than nothing, but what seems to be even better is to change the lite server after every tx.
This means that every time Alice (or Bob) makes a new transaction, they are potentially talking to a
different lite server. It is potentially because it is possible that our randomly chosen new lite server
is the same as our previous lite server. We could try to ensure that the new random server is different
than our previous, but in edge case of only one server being up, the code gets annoying.

This commit implements changing to a likely different lite server after every transaction. In the worst
case scenario, it reduces to the privacy of the old behavior, which is to leak all data to the current
lite server. In the best case, we spread out metadata leakage to every lite server that is currently up.
The average case is to spread out our metadata to more than just one lite server, which is a privacy win.

If stickyServer=1, this code is disabled, since it's better for somebody to connect to their own lite server
and not leak any metadata to 3rd parties.

This algorithm should also be implemented in SDA.

As an aside, Zcash has ignored this problem for 2.5 years and only supports talking to a single lite wallet
at a time (no random selection on startup) which provides further evidence that ZEC mainnet is a honeypot.
2022-12-11 10:20:39 -05:00
Duke
6cab5f68f9 remove sprout code 2022-12-11 09:39:01 -05:00
Duke
9d4cbd64b8 unfuck the server list 2022-12-10 23:27:44 -05:00
Duke
1a7af9682c update lightwalletd server list 2022-12-10 20:50:16 -05:00
jahway603
5427d400e4 added wtfistheinternet SDL server and removed crabdance (RIP) 2022-12-09 18:34:56 -05:00
Duke
25fab30e1d Document where headerbytes and publickey come from 2022-12-08 21:47:09 -05:00
Duke
31cdbc5f9e More details about header memo fields 2022-12-08 21:41:01 -05:00
Duke
fc3f4ce99b Add datatypes to createHeaderMemo comments 2022-12-08 21:31:12 -05:00
Duke
15ec7e3bf5 Improve createHeaderMemo comments 2022-12-08 21:17:48 -05:00
onryo
778158ec88 Replace a duplicate string 2022-11-13 03:36:07 +01:00
onryo
5b008a8d65 Update old animation 2022-11-13 03:20:05 +01:00
fekt
7649418a7b Update firsttimewizard.cpp
Removing duplicate disconnect/connect signals/slots since moved earlier in wizard in previous commit. Duplicate caused event to be called twice and not work correctly.
2022-11-04 21:03:36 -04:00
fekt
ff8692fa39 Wizard UX fixes
Fixed cancelEvent slot, disabled back butttons, removed close button since cancel button displays alert and can close app instead of loading GUI with light server error.
2022-11-04 20:38:10 -04:00
fekt
1f7b8186f0 Properly close app on welcome back cancel 2022-11-03 14:17:00 -04:00
fekt
bf4b9e53ca Revert "Close app on welcome back cancel"
This reverts commit 7398c70e2b.
2022-11-03 12:05:59 -04:00
fekt
7398c70e2b Close app on welcome back cancel 2022-11-03 11:02:11 -04:00
fekt
4efcbc630e Removing donation stuff 2022-11-02 18:54:48 -04:00
fekt
364c775d6d Removing taddr on receive tab
Left zaddr radio button for now as it's used to update dropdown of zaddrs
2022-11-01 22:12:04 -04:00