Commit Graph

1883 Commits

Author SHA1 Message Date
tomFlowee a981008852 Fix logic 2024.10.1 2024-10-14 20:50:20 +02:00
tomFlowee 75da4c82f8 Increase version 2024-10-14 20:09:43 +02:00
tomFlowee 1aa3a14611 Improve downloading of list of transactions
The Sweep feature needs the 'previous' transactions to build the new
transaction.
This shows a progress-report per-transaction as they are downloaded.

Additionally this splits the incoming electron-X reply into lines before
processing.
2024-10-14 20:09:43 +02:00
tomFlowee 48566f1fa6 Fix documentation of property 2024-10-14 20:09:43 +02:00
tomFlowee 5a729b4da2 Ensure that the feedback instantly opens
This way we don't depend on the backend, but the actual user interaction
is the one that starts the process.
2024-10-14 20:09:43 +02:00
tomFlowee ce827ed776 Import translations 2024-10-14 20:09:43 +02:00
tomFlowee 1b4ee23f46 Make sweep screen better translatable 2024-10-14 13:28:25 +02:00
tomFlowee 1d7306d322 improve translator help text 2024-10-14 13:28:25 +02:00
tomFlowee 40e94b8255 Consistency in wording
Now both the 'new account' tabs have the same style of grammar
2024-10-14 13:28:25 +02:00
tomFlowee 1ab012e5d7 Fix grammar. 2024-10-14 13:28:25 +02:00
tomFlowee ba5d6630ab Add 'paste' right mouse action. 2024-10-14 13:28:25 +02:00
tomFlowee 32d1e22c77 Improve text
Remove the atrocious text and replace it with the text we had on Desktop
which is much simpler.
2024-10-14 13:28:25 +02:00
tomFlowee 8872a16559 Remove debug data from GUI. 2024-10-14 12:08:43 +02:00
tomFlowee 651834caf5 Google reportedly requires this 1 num to be changed
to be allowed to upload it to the google store. Maybe once a year
requiring an upgrade to the latest release is Ok for Google, for
app-devs it is a chore that makes no sense.

Avoiding using the deprecated one would make sense, just forcing
me to use the latest, not so much.
2024-10-12 22:09:39 +02:00
tomFlowee ebf0f38b1f Add wallet delete / reindex features
This adds the backend code and the buttons that allow deletion of a
wallet.
Formerly you could archive a wallet and thus remove it from view,
at popular request an archived wallet now gets a button in the
wallets overview to delete the actual wallet completely.
This indeed also removes the files from disk, making it unrecoverable.

Additionally, an actually more complex feature, this allows an existing
wallet to have its history removed and start a re-scan to re-download
all transactions and build the balance.
This is useful for debugging or for recovering from buggy code we
probably had in older versions. (nobody is perfect all the time)
2024.10.0
2024-10-11 22:12:26 +02:00
tomFlowee e618220153 Allow a label to have a 'disabled' color 2024-10-11 19:27:59 +02:00
tomFlowee c805dee6e3 UX: show camera screen instantly
When you open the payment screen now the black camera screen is
instantly shown and the camera as soon as possible.
This avoids confusing UI states.
2024-10-10 13:28:15 +02:00
tomFlowee b470f739a6 Handle wallet exceptions better
This code now catches the exceptions and logs it.
For instance when a wallet is aware of a transaction but can't find
the file on disk, we now don't just weirdly misbehave but forward an
error.
2024-10-09 23:31:59 +02:00
tomFlowee e9d0af2f0d Fix paying from a wallet containing rejected tx
This adds more checks on loading and saving and avoids trying to spend a
rejected transaction output due to confused internal state.
2024-10-09 22:06:17 +02:00
tomFlowee 4347e94ca3 fixlets. 2024-10-09 17:35:59 +02:00
tomFlowee e9ee0a22b8 Show num coins found as soon as we know. 2024-10-09 16:53:07 +02:00
tomFlowee 333f1fb401 Re-engineer the TxInfoObject
This separates it into two objects in order to make thead-safety easy
using Qt's signal/slot mechanism.
Additionally this removes magic timeout numbers and simply starts a
timer to check for changes and emit a signal if the status actually
needs updating.

Testing also shows that QML calls the getter a LOT, so I also moved the
broadcastStatus to be buffered and just return that on the call.
This incidentally also simplifies the code, double win.
2024-10-09 16:43:05 +02:00
tomFlowee 435bf89e2b Make compile with config option; network-log
Adding -DNetworkLogClient=ON to a desktop build (non-android, honestly)
now works.
2024-10-09 12:09:33 +02:00
tomFlowee cfa0716d4a Update Dutch translations 2024-10-08 22:38:00 +02:00
tomFlowee d7c656cf94 Make the new module part of the translation system 2024-10-08 22:37:56 +02:00
tomFlowee 6ab061966a New version number 2024-10-08 22:30:24 +02:00
tomFlowee 9c148598e0 Add button on startup screen. 2024-10-08 22:30:24 +02:00
tomFlowee 0d1b202302 Fix typo in methodname 2024-10-08 22:04:23 +02:00
tomFlowee 7664e167a0 Add default-enabled modules section.
Lets make the 'sweep' module enabled by default on first start.
2024-10-08 21:17:09 +02:00
tomFlowee 1c466b62f6 add some 'as_const' to avoid detaching Qt containers 2024-10-08 21:17:09 +02:00
tomFlowee e96a401bc2 Cleanup and polish the send/sweep module 2024-10-08 21:17:09 +02:00
tomFlowee 392215f31a ensure 'rejected' transactions don't have a time shown. 2024-10-08 13:57:30 +02:00
tomFlowee abef29f2ba Add support for QR prefix for WIF
The protocol handler 'bch-wif:' is now allowed to be in front of the wif
encoded private key.
2024-10-06 16:34:36 +02:00
tomFlowee 4634e17578 Cleanup after ourselves.
The transactions we spent from are downloaded in full, after adding the
spending transaction to the wallet we delete them.
2024-10-06 14:16:43 +02:00
tomFlowee 6aff98edf1 Export more properties and make UX of sweep look good 2024-10-06 14:07:33 +02:00
tomFlowee e64a262151 Aid in development, increase log level of remote 2024-10-06 14:06:43 +02:00
tomFlowee 1a5e2c5d5a UX tweaks. 2024-10-06 14:05:54 +02:00
tomFlowee d7be2d27d6 Add sendsweep properties
This exposes some of the backend data to be shown in the UI.
Also Make 'paste' available for WIFs.
2024-10-06 11:09:34 +02:00
tomFlowee 6bc6063bf0 Visual fix. Make it white. 2024-10-06 00:15:18 +02:00
tomFlowee 0ecb7521ad Make AccountSelectorWidget reusable without a Payment 2024-10-05 21:30:39 +02:00
tomFlowee 975408a7ca Add UX improvement.
This replaces or starts the error message directing the user to unlock
the wallet before payment can commence.
2024-10-05 21:29:32 +02:00
tomFlowee df9f294ee9 Add camera help text to SendSweep page. 2024-10-05 21:13:14 +02:00
tomFlowee 8ce6b744ae Make the broadcast of a tx more generic
The tx-broadcast was tied completely to a 'payment' object, this is now
more made into individual parts that can be reused outside of the
'payment' usecase.
2024-10-05 20:34:39 +02:00
tomFlowee d1dfeb1a02 Stop using deprecatd q_enums 2024-10-05 11:00:30 +02:00
tomFlowee 5def4efd26 Build the transaction from the given transactions 2024-10-04 17:14:42 +02:00
tomFlowee f6846a22a8 Print the most common error full.
SSL Handshake failure typically means self-signed.
2024-10-03 17:57:10 +02:00
tomFlowee 08e2216ce3 Allow result to be used by SweepHandler 2024-10-03 17:57:10 +02:00
tomFlowee caea90b3cb Add ElectronX interaction.
This adds the fetching of utxos and the containing transactions from a
compliant electronx server. Like fulcrum.
2024-10-03 17:57:10 +02:00
tomFlowee f40910742d Add retry on failure.
We move to another server, if one fails us.
2024-10-03 17:57:10 +02:00
tomFlowee 402ab8740e Split ElectronXClient class from ImportHandler
This splits the latter class into an abstract baseclass that finds a
server and handshakes with it called ElectronXClient
and then as a subclass the import handler handling doing what it always
did.
2024-10-03 14:27:13 +02:00