Various values that we used to think of as "CONSTANT" no longer are due
to them simply not being available on a fully encrypted wallet.
This fixes the display of the various items on a change of wallet
encrytion status.
Now we provide the hamburger-menu style config option specially
for a single-wallet setup (the default when we start).
This makes available the 'encrypt' option and the 'details' option.
In some cases the initially created wallet is left running and taking a
peer (in order to check if anything ever got deposited at the QR-code
shown address).
This now sunsets those wallets after 2100 blocks (over 2 weeks).
Rename a pure-bitcoin-cash based method naming to no longer
have the word 'price' in it since that is associated with conversion
to another money or currency.
For mined transactions we now use the historical fiat price of BCH
instead of the current.
This will give us a much more stable and historically accurate view of
our transactions.
Fixes: #7
This replaces the simple version with a proper averaging implementation
that takes all the price measurements and returns a single value per
day which is the average of all the measured ones.
When you open a pin-to-pay wallet AND within the timeout (200s) convert
it into a pin-to-open wallet AND you open it again, you might get
surprised to see it close automatically after some timeout.
Well, got to love testers to find this well hidden critter.
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.
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. 🤷