Commit Graph

223 Commits

Author SHA1 Message Date
Luke Dashjr
4dff308dc7 Qt/Options: Configure maxorphantx using rwconf 2025-03-05 23:30:13 +00:00
Luke Dashjr
0892562e43 Qt/Options: Configure mempoolreplacement using rwconf 2025-03-05 23:30:13 +00:00
Luke Dashjr
39668f3647 Merge 5861 via gui_restore_addresses 2025-03-05 03:27:08 +00:00
Luke Dashjr
fe176fa702 Merge 929 via tbc 2025-03-05 03:27:08 +00:00
Luke Dashjr
3c18bc835f Merge 7510 via rwconf_gui-28+knots 2025-03-05 03:27:08 +00:00
Luke Dashjr
c90495c624 Merge 11082 via rwconf-27+knots 2025-03-05 03:27:08 +00:00
Luke Dashjr
77f2e52bf2 Merge 7107 via qtnetworkport-28+knots 2025-03-05 03:27:08 +00:00
Luke Dashjr
ce83807084 Merge g820 via qt_fontsel_qrcodes-27+knots 2025-03-05 03:27:08 +00:00
Luke Dashjr
86efc23e6b Merge g307 via gui_peers_rowcolouropt 2025-03-05 03:27:08 +00:00
Luke Dashjr
88243053a1 Merge g836 via fix_qt_opts_proxy_ipv6-24 2025-03-05 03:27:08 +00:00
Luke Dashjr
c089a0d22f Bugfix: GUI/optionsmodel: Mention if addresstype, maxuploadtarget, peer{bloom,block}filters are overridden options 2025-01-26 00:51:48 +00:00
Luke Dashjr
8cfe0ad8fb Bugfix: GUI/Options: Correctly set prune-prev
(true becomes Qt::PartiallyChecked or Qt::Unchecked)
2025-01-26 00:51:48 +00:00
Luke Dashjr
55dc9e1847 Qt: Reformat name for OutputType::P2SH_SEGWIT 2025-01-26 00:51:47 +00:00
Luke Dashjr
d046ac37d9 GUI: Re-word OutputType descriptions to give better advice 2025-01-26 00:51:47 +00:00
Luke Dashjr
db5c972ef3 GUI: Move OutputType descriptions to map in optionsmodel 2025-01-26 00:51:47 +00:00
Luke Dashjr
7dd21f4e9d GUI: When addresstype is changed, apply to all open receive dialogs immediately 2025-01-26 00:51:47 +00:00
Luke Dashjr
857523fc33 Qt/Options: When changing peerblockfilters, also set peercfilters for better downgrade compatibility
Only in bitcoin_rw.conf
2025-01-26 00:51:47 +00:00
Luke Dashjr
7dce75e5f8 Qt/Options: Expose peerblockfilters in GUI using rwconf
For now, enables basic block filters permanently (can't be disabled)
2025-01-26 00:51:47 +00:00
Luke Dashjr
6c0b49cbc2 Qt/Options: When resetting options, re-assign prune if it was configured via rwconf 2025-01-26 00:51:47 +00:00
Luke Dashjr
3b16582612 Qt/Intro: Allow changing prune setting even when specified on commandline 2025-01-26 00:51:47 +00:00
Luke Dashjr
6be499d8ee Qt/Options: Update rwconf for prune changes 2025-01-26 00:51:47 +00:00
Luke Dashjr
32c3f975b4 Qt/Options: Handle manual pruning cleanly 2025-01-26 00:51:47 +00:00
Luke Dashjr
a28c48bc4c Qt/Options: Switch prune setting from GB to MiB 2025-01-26 00:51:46 +00:00
Luke Dashjr
3a2e18081a Qt/Options: Expose addresstype in GUI using rwconf
NOTE: This doesn't update the receive dialog's "Generate Bech32 address" checkbox at all.
That's okay for Bitcoin Knots since it just affects the default checked state, but Core hides the checkbox entirely when addresstype=legacy, so you would want to show/hide it as necessary.
2025-01-26 00:51:24 +00:00
Luke Dashjr
fa7fcf5725 Qt/Options: Expose peerbloomfilters in GUI using rwconf 2025-01-26 00:51:24 +00:00
Luke Dashjr
8518a3e56e Qt/Options: Expose maxuploadtarget in GUI using rwconf 2025-01-26 00:51:24 +00:00
Luke Dashjr
7238a9088e Merge branch 'rwconf-27+knots' into rwconf_gui-28+knots 2025-01-25 23:48:42 +00:00
Hampus Sjöberg
497584d947 [Qt] Adding network port to GUI settings, fixes #7039
Adds Network port input box to the Network tab in the Options dialog.
-port takes priority over the GUI setting.
If left blank, it will default to the default port
2025-01-17 18:36:12 +00:00
Luke Dashjr
87dbf38e9e Merge branch 'qt_fontsel_qrcodes-27+knots' into qtnetworkport-28+knots 2025-01-17 18:35:57 +00:00
pablomartin4btc
5e1c728cf1 gui: Fix proxy details display in Options Dialog
- Ensured that the proxy IP is displayed correctly in the UI when using an IPv6 address.

No functionality impact; changes only affect UI display.

Github-Pull: gui#836
Rebased-From: fee4cba484
2024-11-10 19:56:34 +00:00
Luke Dashjr
5a311113ca Add new bitcoin_rw.conf file that is used for settings modified by this software itself 2024-05-31 17:57:33 +00:00
Luke Dashjr
52ecf5b65e GUI: Enable customisation of QR Code font 2024-05-16 00:34:35 +00:00
Hennadii Stepanov
9166bb76d5 qt: Add "Alternating Row Color" settings for the Peers Tab
Github-Pull: gui#307
Rebased-From: b124c2fe600b343a2bc66ff8eb0aaf43aa99f4db
2024-05-15 23:48:12 +00:00
MarcoFalke
dddd40ba82
scripted-diff: Add IWYU pragma keep to bitcoin-config.h includes
-BEGIN VERIFY SCRIPT-
 perl -0777 -pi -e 's/#if defined\(HAVE_CONFIG_H\)\n#include <config\/bitcoin-config.h>.*\n#endif.*\n/#include <config\/bitcoin-config.h> \/\/ IWYU pragma: keep\n/g' $( git grep -l '#include <config/bitcoin-config.h>' )
-END VERIFY SCRIPT-
2024-05-01 08:33:04 +02:00
dergoegge
78407b99ed [clang-tidy] Enable the misc-no-recursion check
Co-authored-by: stickies-v <stickies-v@protonmail.com>
Co-authored-by: Gloria Zhao <gloriajzhao@gmail.com>
2024-04-07 14:04:45 +01:00
Hennadii Stepanov
60ac503800
Merge bitcoin-core/gui#497: Enable users to configure their monospace font specifically
a17fd33edd GUI: OptionsDialog: Replace verbose two-option font selector with simple combobox with Custom... choice (Luke Dashjr)
98e9ac5199 GUI: Use FontChoice type in OptionsModel settings abstraction (Luke Dashjr)
3a6757eed9 GUI: Load custom FontForMoney from QSettings (Luke Dashjr)
49eb97eff9 GUI: Add possibility for an explicit QFont for FontForMoney in OptionsModel (Luke Dashjr)
f2dfde80b8 GUI: Move "embedded font or not" decision into new OptionsModel::getFontForMoney method (Luke Dashjr)

Pull request description:

  This replaces the overly-verbose radio-button font setting (which only allows embedded or autodetected from system) with a simple combobox providing both existing options as well as a custom option to allow the user to select any font of their choice/style.

ACKs for top commit:
  pablomartin4btc:
    tested ACK  a17fd33edd
  hebasto:
    ACK a17fd33edd, I have reviewed the code and tested it on Ubuntu 22.04. This is a UX improvement. https://github.com/bitcoin-core/gui/pull/497#issuecomment-1341222673 might be addressed in a follow-up.

Tree-SHA512: 2f0a8bc1242a374c4b7dc6e34014400428b6d36063fa0b01c9f62a8bd6078adfbbca93d95c87e4ccb580d982fe10173e1d9a28bcec586591dd3f966c7b90fc5d
2024-02-07 19:28:37 +00:00
Luke Dashjr
bbd4c9ad42 GUI: Update nDisplayUnit to keep old versions in sync 2023-10-17 02:19:22 +00:00
Luke Dashjr
134d72187b GUI: If new DisplayBitcoinUnit is missing, migrate nDisplayUnit 2023-10-17 02:19:22 +00:00
Luke Dashjr
5145e1efeb GUI: Save any TBC settings in a parallel setting key 2023-10-17 02:19:22 +00:00
Hennadii Stepanov
5b3ea5fa2e
refactor: Move {MAX,DEFAULT}_SCRIPTCHECK_THREADS constants 2023-10-03 10:52:17 +01:00
Luke Dashjr
3ad197c5c6 Restore ability to display addresses in GUI
This reverts commit bdba2dd000.
2023-08-08 22:53:59 +00:00
Luke Dashjr
a17fd33edd GUI: OptionsDialog: Replace verbose two-option font selector with simple combobox with Custom... choice 2023-07-21 17:47:17 +00:00
Luke Dashjr
98e9ac5199 GUI: Use FontChoice type in OptionsModel settings abstraction 2023-07-21 17:45:36 +00:00
Luke Dashjr
3a6757eed9 GUI: Load custom FontForMoney from QSettings 2023-07-21 17:45:36 +00:00
Luke Dashjr
49eb97eff9 GUI: Add possibility for an explicit QFont for FontForMoney in OptionsModel 2023-07-21 17:45:36 +00:00
Luke Dashjr
f2dfde80b8 GUI: Move "embedded font or not" decision into new OptionsModel::getFontForMoney method 2023-07-21 17:45:21 +00:00
TheCharlatan
db77f87c63
scripted-diff: move settings to common namespace
-BEGIN VERIFY SCRIPT-
sed -i 's/namespace\ util/namespace\ common/g' src/common/settings.cpp src/common/settings.h
sed -i 's/util\:\:GetSetting/common\:\:GetSetting/g' $( git grep -l 'util\:\:GetSetting')
sed -i 's/util\:\:Setting/common\:\:Setting/g' $( git grep -l 'util\:\:Setting')
sed -i 's/util\:\:FindKey/common\:\:FindKey/g' $( git grep -l 'util\:\:FindKey')
sed -i 's/util\:\:ReadSettings/common\:\:ReadSettings/g' $( git grep -l 'util\:\:ReadSettings')
sed -i 's/util\:\:WriteSettings/common\:\:WriteSettings/g' $( git grep -l 'util\:\:WriteSettings')
-END VERIFY SCRIPT-
2023-05-30 17:26:51 +02:00
TheCharlatan
be55f545d5
move-only: Extract common/args and common/config.cpp from util/system
This is an extraction of ArgsManager related functions from util/system
into their own common file.

Config file related functions are moved to common/config.cpp.

The background of this commit is an ongoing effort to decouple the
libbitcoinkernel library from the ArgsManager. The ArgsManager belongs
into the common library, since the kernel library should not depend on
it. See doc/design/libraries.md for more information on this rationale.
2023-04-19 10:48:30 +02:00
Andrew Chow
27772d8009
Merge bitcoin/bitcoin#26889: refactor: wallet, remove global 'ArgsManager' dependency
52f4d567d6 refactor: remove <util/system.h> include from wallet.h (furszy)
6c9b342c30 refactor: wallet, remove global 'ArgsManager' access (furszy)
d8f5fc4462 wallet: set '-walletnotify' script instead of access global args manager (furszy)
3477a28dd3 wallet: set keypool_size instead of access global args manager (furszy)

Pull request description:

  Structurally, the wallet class shouldn't access the global `ArgsManager` class, its internal behavior shouldn't be coupled to a global command line args parsing object.

  So this PR migrates the only two places where we depend on it: (1) the keypool size, and (2) the "-walletnotify" script. And cleans up the, now unneeded, wallet `ArgsManager` ref member.

  Extra note:
  In the process of removing the args ref member, discovered and fixed files that were invalidly depending on the wallet header including `util/system.h`.

ACKs for top commit:
  achow101:
    ACK 52f4d567d6
  TheCharlatan:
    Re-ACK 52f4d567d6
  hebasto:
    re-ACK 52f4d567d6

Tree-SHA512: 0cffd99b4dd4864bf618aa45aeaabbef2b6441d27b6dbb03489c4e013330877682ff17b418d07aa25fbe1040bdf2c67d7559bdeb84128c5437bf0e6247719016
2023-02-17 12:47:52 -05:00
furszy
52f4d567d6
refactor: remove <util/system.h> include from wallet.h
Since we no longer store a ref to the global `ArgsManager`
inside the wallet, we can move the util/system.h
include to the cpp.

This dependency removal opened a can of worms, as few
other places were, invalidly, depending on the wallet's
header including it.
2023-02-15 15:49:45 -03:00