Commit Graph

1483 Commits

Author SHA1 Message Date
tomFlowee b842c401d9 Increase Android version 2024.01.3 2024-01-28 20:12:29 +01:00
tomFlowee 4f23501908 Fix some possible memory corruption issues.
Use deleteLater for the QObject

Use sender() in the slot instead of assuming that the class member still
points to it.
2024-01-28 20:11:46 +01:00
tomFlowee 437ee5634d Don't assert that isn't really a problem.
Hit this assert when I had the app open in the debugger for
some minutes.
2024-01-28 20:02:36 +01:00
tomFlowee 2d55f1b508 Avoid exception.
Simplify the loop by using lock() on the std::shared_ptr, which doesn't
throw.
Also follow the API change in the libs and some deeper introspection for
the actual connection status.
2024-01-28 20:01:56 +01:00
tomFlowee 2eff679495 Improve list UX
We add animations on remove and give an indication of connectionid
2024-01-28 19:58:27 +01:00
tomFlowee 34b676d043 Make the un-finished connections show lighter too 2024-01-28 15:28:51 +01:00
tomFlowee 483b8455b2 Improve TransactionDetails screen
* make it much faster for large transactions to open by not drawing and
then hiding the inputs/outputs that are not relevant to us.

* Allow expanding cloaked addresses by clicking on them.
* instead of a right mouse button menu, show a copy icon next to each
address.
* Add the chainprefix to the clipboard on copy.
2024-01-28 14:42:53 +01:00
tomFlowee 0fadec043b Make this method also work for transactions I receive
This now finds if there is a single output address we can honstly point
at and say "this is the beneficiary of this transaction" and we return
this.

This will be in the context of the wallet it is in, naturally.
2024-01-28 13:04:23 +01:00
tomFlowee 5ef8860492 Import translations 2024-01-28 12:16:12 +01:00
tomFlowee 4e1c6ced07 Skip including not used plugins 2024-01-28 11:56:20 +01:00
tomFlowee 9758ead829 New version 2024-01-28 11:30:33 +01:00
tomFlowee eba05ebb45 Import bugfixes 2024-01-28 11:30:33 +01:00
tomFlowee 6905ac43b1 Copyright to 2024. 2024-01-28 11:30:33 +01:00
tomFlowee 5554636c71 Show number in header 2024-01-26 14:44:34 +01:00
tomFlowee 1455d90b30 Add ban / disconnect UI elements on NetView 2024-01-26 14:26:40 +01:00
tomFlowee 519b6d7532 Add button to pardon the banned.
This allows a user to re-connect to formerly banned peers.
2024-01-26 13:45:51 +01:00
tomFlowee e8adc7f94b Remove monthly pardon.
This has been solved better in flowee libs in
commit dc9ef827b.
2024-01-26 13:34:19 +01:00
tomFlowee efc4e7c7d4 Make peers show up faster in netView
A peer that has not yet handshaked is now show in this view, giving a
better indication of what is going on on platforms that do not have easy
access to a log file.
2024-01-26 12:12:45 +01:00
tomFlowee 4bf81d0db7 Fix bug: decrypting a wallet doesn't start sync 2024-01-25 21:24:47 +01:00
tomFlowee 7e8c3d5824 Cover older unconfirmed transaction display
This makes sure that we update the last-mined-date also when a
transaction is simply confirmed that was already in the wallet.
This only really shows if you were offline and only later broadcast that
transaction, which was unusual enough for me to never notice before :-)
2024-01-25 21:05:59 +01:00
tomFlowee 5c3642fd3b Swap declaration, following linter suggestion. 2024-01-25 19:48:56 +01:00
tomFlowee 875438f0e9 Make sure the build stops on error. 2024-01-25 19:48:21 +01:00
tomFlowee 2414c3457f Update the blocktime faster on active sync. 2024-01-25 19:47:55 +01:00
tomFlowee 4fbfb51f6b Make unconfirmed transactions show properly
After we changed the TX to always have a date at creation, the desktop
GUI code's assumptions were undermined and it would be able to show
weird stuff.
This fixes it properly and shows the right data.
2024-01-22 17:49:25 +01:00
tomFlowee 667f8166d3 Complete the transform from blocktime to tx-time.
We rename the enum and add some asserts indicating the new purpose.
This also makes the code more robust with a try/catch and fixes a
possible crash when a transaction doesn't have either a date or a
blockheight.
2024-01-22 17:46:52 +01:00
tomFlowee 19ff7fde10 Forgot this one 2024-01-22 15:30:40 +01:00
tomFlowee 0011698e63 Minor fixes and adding asserts. 2024.01.2 2024-01-19 13:01:43 +01:00
tomFlowee c63460c6f6 Refactor the broadcast of transactions
This changes two implementations of the BroadcastTxData baseclass
to now use one which is a lot more robust and thread-safe as
well as fixing various smaller issues.
2024-01-19 00:03:16 +01:00
tomFlowee b916079b63 Rename to have consistent naming. 2024-01-18 23:18:27 +01:00
tomFlowee 32c8cf7fcf Instead of open as tx, search for one.
This helps the user understand better what happened if the transaction
isn't known (yet) by the network, since the blockchair service gives a
weird (buggy) page in that case.
2024-01-17 11:12:47 +01:00
tomFlowee e8a74673ba Fix 'back' after scan closing the app.
The scanner takes the focus away from the current page, so 'back' would
not see the page and we'd close the app...
2024-01-16 17:46:47 +01:00
tomFlowee 50c1442782 Use actually unique ID for selecting new wallet
When the user creates a new wallet, use the unique ID of a wallet
to find it and use it afterwards.
2024-01-16 17:32:56 +01:00
tomFlowee bebb53b670 Add ability to scan a private key on import 2024-01-16 17:32:56 +01:00
tomFlowee 115c0be717 Redo the checkbox and show tooltip on mobile
Use the proper configuration options of the class we're inheriting from
and make the title label be the 'contentItem'.
2024-01-16 17:32:56 +01:00
tomFlowee 19fd943484 Add comment about the zxing deprecation warning. 2024-01-16 16:43:06 +01:00
tomFlowee 5b8e5ecf09 cleanups of QR showing 2024-01-16 14:40:37 +01:00
tomFlowee 539d0fa229 Simplify the local_qml feature 2024-01-16 14:40:37 +01:00
tomFlowee b1cbf45849 Add cmake option 'skip-example' & skip that module
The final release should not include the example module as we aim
releases at normal people, not devs.
This makes the skipping of the example module part of the build
setup by simply passing in -Dskip_example=TRUE
to cmake.
2024-01-16 14:40:37 +01:00
tomFlowee d92db6208a Minor UX fixes around wallet management
- Make sure we always set the proper wallet on create, this would
fail on the very first after the initial wallet being created.

- Don't allow marking the initial wallet as archived in the UI
as that is a non-reversible action. The app will do it automatically
after a couple of weeks.
2024-01-16 10:48:23 +01:00
tomFlowee c079a171d9 Make the 'initial wallet' invisible
The initial wallet is already made auto-archived after a couple of weeks
not receiving any funds. Avoiding it allocating peers.
This makes sure we also do not show it in the mobile UI in the wallets
screen.
2024-01-16 10:48:23 +01:00
tomFlowee 88dd71b9ab Add 'copy address' menu option in the coin-selector. 2024-01-15 20:17:10 +01:00
tomFlowee 3c9b1e7d32 For a private key, allow showing QR. 2024-01-15 20:16:47 +01:00
tomFlowee 0284e81a04 Add various (UX) features
This adds a context menu to open the transaction in the blockchair
explorer.
We also show a visual feedback on copying the txid.
And we update the blocks past to be number of confirmations and avoid
any confusion.
2024-01-15 19:27:33 +01:00
tomFlowee 0f83fb7811 Import translations from crowdin 2024-01-15 18:24:40 +01:00
tomFlowee bdd64679b6 Make a tx show the creation time instead of mined
This stores the time of a transaction in the store of the wallet, and
indeed sets it when it is added to the wallet first time.
For instance when we create it or when the tx is first sent to us at
initial broadcast.

We add some logic to the model in order to put a bit more effort into
finding times of a transaction that did not get mined and (before this
code) did not get its time of creation set. Mostly this is about
rejected transactions. And there we guestimate the time instead.
2024-01-15 18:24:40 +01:00
tomFlowee 57643c4585 Move init rows to be after the constructor
This avoids using virtual methods on a not yet initialized object.
2024-01-15 18:24:40 +01:00
tomFlowee 89ee66191d Pardon old sinners after a while. 2024-01-14 17:08:22 +01:00
tomFlowee d101945019 Mark rejected transactions clearer as such. 2024-01-14 14:30:29 +01:00
tomFlowee c802ca4b83 Add backup height to the UI for non-HD wallets 2024-01-14 13:52:46 +01:00
tomFlowee ac58fb2483 Start new vesion 2024-01-13 19:39:48 +01:00