Fixes#438
Prior to this commit, if Load Wallet were selected
from the menu and a wallet loaded did not have imports,
the restart prompt message appeared only on the console
and the application quit via sys.exit().
After this commit, the Qt restart callback is always used,
as intended. The case of recovery sync for old, heavily
used wallets is not covered.
Prior to this commit, the user was prompted to check for
the acceptability of fees in Qt via a dialog, but settings
used in CLI (max_cj_fee_***) were not also being used the
same way in Qt.
After this commit, if the user has not added those settings,
a dialog is presented with new randomised defaults (as for
CLI), and otherwise any settings in the config file are read
and used.
PR #367 and follow up edits were designed to give a sanity
check to users for fees, but require specifying a payment
amount, this could be generalised to custom schedules but
for now the simplest change is to remove this check for
schedules. Thanks to @roshii for flagging the error.
fe66f2e Add option to install.sh to not build the Qt GUI (Kristaps Kaupe)
Tree-SHA512: 66824731a18a7582de1a972f7fdc48d2928f4ba4406ff90412d7ed8e378831e07ea444d0724f007ac3dd94263c35ac85007744c77f2848449ac2ea354aadfd04
The schedule format gets an extra field added denoting the number of
significant figures to round the coinjoin amounts to, with 16 meaning
no rounding.
This is part of the 2/2019 Plan to improve the privacy of JoinMarket's
tumbler script:
https://gist.github.com/chris-belcher/7e92810f07328fdfdef2ce444aad0968
The tumbler schedule is split into two stages. Stage 2 is the same
as before while stage 1 attempts to fully spend each mixdepth in a
sweep coinjoin with no change address.
The wait time between these stage 1 coinjoins is longer than for
stage 2 coinjoins, the increase is determined by a new parameter
called `stage1_timelambda_increase`.
This is part of the 2/2019 Plan to improve the privacy of JoinMarket's
tumbler script:
https://gist.github.com/chris-belcher/7e92810f07328fdfdef2ce444aad0968
e6c0575 Abort wallet generation if mnemonic extension choosen but not provided (Kristaps Kaupe)
Tree-SHA512: 4830654fabafc98c91a8031672a3df99128a48e58321338a9dbcf951d9c1f8cfe9ab914c38d6111f65cf4ef4658971e5be9bb78662ffc7e87e0ede50ad8bd8d7
b2e4308 Allow both BTC and sat amounts for single send / CJ (Kristaps Kaupe)
Tree-SHA512: be9d728831a97ce89fa28efd88f919e3e4be454b4b8e0d2ab165b22a60c02c5c1bf62a5f36a690f88da17e41f2beef624775a6fbdb710868f97c130fc2917f57
On my machine running Mint I wasn't able to run the install.sh without getting the error ``configure.ac:451: error: possibly undefined macro: LT_SYS_SYMBOL_USCORE``. This was due to a missing dependency (libltdl-dev) which I hereby added to the installation process.
Since ConfigParser does not sufficiently support comments
in config objects, in order to support dynamic update of
the config from within a run, this PR edits the config
file at the same time as updating the config object, so
as to prevent the earlier problem that all comments in the
config file were lost whenever Qt updated the file with
the new config object.
5c0b9eb Remove txfee_default: used as user estimation for initial tx_fee estimate, but removing this option and replacing it by the existing estimation (using tx_fee config setting) makes more sense. (AlexCato)
Tree-SHA512: 47790b27ba81e0e4b832a739bafde936852c6e85158dc06bcb7aa1117f7c8ee9a97df45c7c6e7b6050e33135e93457f705ab67f77f3008735f70f6112ebde3af
0ab5b65 Redefine cli-option --txfee: Treat it as txfee to be used in the JM TX's instead of just for preliminary estimations. Now it is a way to temporarily override the tx_fees setting in joinmarket.cfg and behaves exactly the same way as describes there. (AlexCato)
Tree-SHA512: 9343bfbd3bf016de24d7e1cb74bf8aa50f0ad4921c1376f4ca8744f572b4e5393ad39b104d80bc3227b2a109dd7edf6a02f1737106f14e71dab961ac2941671f
in the JM TX's instead of just for preliminary
estimations. Now it is a way to temporarily override
the tx_fees setting in joinmarket.cfg and behaves
exactly the same way as describes there.
cf54789 Set txfee threshold to 1000 instead of 144 (chris-belcher)
Tree-SHA512: dd6f162f3b6a65ef38929b2037274cbb74dc406ce4ba8623587f91f623c796899cf9103dc264ba595d3b5c97cc96ff3763ffc011d1618b0dbba3023ec52956e7