Commit Graph

37392 Commits

Author SHA1 Message Date
Luke Dashjr
a2bcbef77f Qt/Intro: Allow changing prune setting even when specified on commandline 2023-10-17 02:17:18 +00:00
Luke Dashjr
6e564fe617 Qt/Options: Update rwconf for prune changes 2023-10-17 02:17:18 +00:00
Luke Dashjr
08919b694f Bugfix: Qt/Intro: Don't claim "for full chain" when pruning 2023-10-03 02:19:37 +00:00
Luke Dashjr
42e3bc0dd8 Qt/Options: Handle manual pruning cleanly 2023-10-03 02:19:37 +00:00
Luke Dashjr
c72cb20934 Qt/Options: Switch prune setting from GB to MiB 2023-10-03 02:19:37 +00:00
Luke Dashjr
a3b0c05098 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.
2023-10-03 02:19:37 +00:00
Luke Dashjr
554b7744b5 Qt/Options: Expose peerbloomfilters in GUI using rwconf 2023-10-03 02:19:37 +00:00
Luke Dashjr
e96f4148b9 Qt/Options: Expose maxuploadtarget in GUI using rwconf 2023-10-03 02:19:37 +00:00
Luke Dashjr
6c66421cd7 Revert "net: remove SetMaxOutboundTarget"
This reverts commit 2f3f1aec1f.
2023-10-03 02:19:37 +00:00
Luke Dashjr
8288d92c0f Merge branch 'rwconf-25+knots' into rwconf_gui-25+knots 2023-10-03 02:19:28 +00:00
Luke Dashjr
beda9d864d util/system: If settings.json is enabled, store rwconf changes there too
This gets us Core (0.21+) compatibility
2023-10-03 02:18:50 +00:00
Luke Dashjr
b2ffa92131 Add new bitcoin_rw.conf file that is used for settings modified by this software itself 2023-10-03 02:18:47 +00:00
Luke Dashjr
f3b58819db util/settings: Support ArgsManager::ReadConfigStream into other targets 2023-10-03 02:18:24 +00:00
Luke Dashjr
c001c2f080 util: SelectBaseParams in ReadConfigFiles, before getting final datadir 2023-10-03 02:18:24 +00:00
Luke Dashjr
d79d84843d util/settings: Add place to put rwconf settings 2023-10-03 02:18:24 +00:00
Luke Dashjr
e1cd47c0f7 Merge commit '2c51a07c085' into rwconf-25+knots 2023-10-03 02:18:17 +00:00
Pieter Wuille
2c51a07c08
Do not use std::vector = {} to release memory
Github-Pull: #28452
Rebased-From: 3fcd7fc7ff
2023-10-02 13:09:00 +01:00
fanquake
887cbfcc93
Merge bitcoin/bitcoin#28534: [25.x] qt: 25.1rc1 translations update
88b525f93a qt: 25.1rc1 translations update (Hennadii Stepanov)

Pull request description:

  This PR pulls the recent translations from the [Transifex.com](https://www.transifex.com/bitcoin/bitcoin) using the [`bitcoin-maintainer-tools/update-translations.py`](https://github.com/bitcoin-core/bitcoin-maintainer-tools/blob/main/update-translations.py) tool.

  According to our [Release Process docs](https://github.com/bitcoin/bitcoin/blob/master/doc/release-process.md#before-every-release-candidate), it is supposed to be merged before `v25.1rc1` tagging.

  Changes in "Chinese (China) (zh_CN)" translation were manually discarded as they have too many removals (it looks like a vandalism).

ACKs for top commit:
  stickies-v:
    re-ACK 88b525f93a
  jarolrod:
    ACK 88b525f93a

Tree-SHA512: 007d3e00f92d2450f99d1a84b53dc929fd80b7ebb7939271b67969bf99bb3b0ae7426428f6c63f1dbdfa88b90cb237e7614f7b2239f9773b84424b544bf106af
2023-10-02 10:47:32 +02:00
Hennadii Stepanov
88b525f93a
qt: 25.1rc1 translations update 2023-09-28 15:50:04 +01:00
fanquake
ecc74cd4f3
Merge bitcoin/bitcoin#28047: [25.x] Further backports for 25.1
494f1afa5a depends: xcb-proto 1.15.2 (fanquake)
513ca0a711 test: wallet, add coverage for watch-only raw sh script migration (furszy)
6d5a510dcd descriptor: InferScript, do not return top-level only func as sub descriptor (furszy)
37d9cc657c test: wallet, add coverage for addressbook migration (furszy)
4b16650c10 wallet: migration bugfix, persist empty labels (furszy)
59b06b696a wallet: migration bugfix, clone 'send' record label to all wallets (furszy)

Pull request description:

  Currently backports:
  * #28038
  * #28067 2nd & 3rd commits.
  * #28097

ACKs for top commit:
  stickies-v:
    ACK 494f1afa5a

Tree-SHA512: cea134cfa72950d8428191adce79c0881302ca54488f64d3d4a5f9070bb2445d8074e58fa31a482481c4eabb74c852a025f53597540fc646dc20f33b21cf0a06
2023-09-06 15:55:51 +01:00
Luke Dashjr
5c98f8c10d Merge branch 'intro_dont_change_user_prune' into rwconf_gui-25+knots 2023-08-10 18:55:50 +00:00
Luke Dashjr
b7daee6daf Merge branch 'qtnetworkport-25+knots' into rwconf_gui-25+knots 2023-08-10 18:55:47 +00:00
Luke Dashjr
75a06d8f02 Merge branch 'walletnotify_w_win-25+knots' into rwconf-25+knots 2023-08-05 20:31:15 +00:00
Hampus Sjöberg
1f5f7db944 Qt: Ask user to use standard port on startup if specified port is in use
If the port (specified by -port or GUI setting) is already in use when
starting the GUI client, and it's not the standard port, ask the user if
they want to listen via the standard network port instead.

Github-Pull: #7107
Rebased-From: 1f37c87d8f2fbb7113c38674d1cc65933a222ccb
2023-08-01 01:06:08 +00:00
Luke Dashjr
904d0053ba ArgsManager: ForceSetArg with int64_t 2023-08-01 01:06:08 +00:00
Luke Dashjr
5a4664604e Qt/Options: Allow an "invalid" network port if it is the current value already 2023-08-01 01:06:08 +00:00
Luke Dashjr
eaf3ddd918 Qt/Options: Actually check validator acceptability for network port 2023-08-01 01:06:08 +00:00
Luke Dashjr
9ca2e3b52e Qt/Options: Don't allow setting a port below 1024 2023-08-01 01:06:08 +00:00
Luke Dashjr
ff34d6275e Qt/Options: Avoid changing names of unrelated widgets 2023-08-01 01:06:08 +00:00
Hampus Sjöberg
84749bfb48 [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
2023-08-01 01:06:07 +00:00
Luke Dashjr
07bbeb1521 Merge branch 'qt_fontsel_qrcodes-25+knots' into qtnetworkport-25+knots 2023-08-01 00:40:29 +00:00
Luke Dashjr
c22e5eac0e Merge branch 'gui_init_walleterror_cont' into qtnetworkport-25+knots 2023-08-01 00:40:18 +00:00
João Barbosa
a03bca904f wallet: Support %w in -walletnotify script, on Windows 2023-07-31 19:42:32 +00:00
Luke Dashjr
8942ca67c5 Merge branch 'ignoredconf_err_def0-25' into walletnotify_w_win-25+knots 2023-07-31 19:42:07 +00:00
Luke Dashjr
a8f9470082 Merge branch 'multinotify' into walletnotify_w_win-25+knots 2023-07-31 19:14:05 +00:00
Luke Dashjr
d32c3f2b62 GUI: Change default QR Code font to embedded
Rebased-From: 3bfdd05fcfdcc69b20381f43a1a2f0ba2878f455
2023-07-21 17:53:49 +00:00
Luke Dashjr
c15587936b GUI: Enable customisation of QR Code font 2023-07-21 17:53:46 +00:00
Luke Dashjr
2eb21136c8 Merge branch 'qt_fontsel-25+knots' into qt_fontsel_qrcodes-25+knots 2023-07-21 17:53:41 +00:00
Luke Dashjr
c339168f5c Merge branch 'qt_qrcode_sizefixes' into qt_fontsel_qrcodes-25+knots 2023-07-21 17:53:33 +00:00
Luke Dashjr
61887d5ecf Merge branch 'qt_fontsel' into qt_fontsel-25+knots 2023-07-21 17:52:04 +00:00
Luke Dashjr
eaff767135 Merge branch 'gui_peers_rowcolouropt' into qt_fontsel-25+knots 2023-07-21 17:49:23 +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
fanquake
494f1afa5a
depends: xcb-proto 1.15.2
Resolves build failures under Python 3.12, i.e building on rawhide:
```bash
make[3]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/bitcoin/depends/work/staging/aarch64-unknown-linux-gnu/xcb_proto/1.14.1-4a91ac9dc41/bitcoin/depends/aarch64-unknown-linux-gnu/lib/python3.12/site-packages/xcbgen'
 /usr/bin/install -c -m 644 __init__.py error.py expr.py align.py matcher.py state.py xtypes.py '/bitcoin/depends/work/staging/aarch64-unknown-linux-gnu/xcb_proto/1.14.1-4a91ac9dc41/bitcoin/depends/aarch64-unknown-linux-gnu/lib/python3.12/site-packages/xcbgen'
Traceback (most recent call last):
  File "<string>", line 2, in <module>
ModuleNotFoundError: No module named 'imp'
make[3]: *** [Makefile:271: install-pkgpythonPYTHON] Error 1
```

`imp` was removed in 3.12: https://docs.python.org/3/library/imp.html.

Github-Pull: #28097
Rebased-From: 7cb88c8b46
2023-07-21 09:57:59 +01:00
furszy
513ca0a711
test: wallet, add coverage for watch-only raw sh script migration
Github-Pull: #28067
Rebased-From: dd9633b516
2023-07-21 09:39:15 +01:00
furszy
6d5a510dcd
descriptor: InferScript, do not return top-level only func as sub descriptor
e.g. sh(addr(ADDR)) or sh(raw(HEX)) are invalid descriptors.

Making sh and wsh top level functions to return addr/raw descriptors when
the subscript inference fails.

Github-Pull: #28067
Rebased-From: cc781a2180
2023-07-21 09:38:35 +01:00
Luke Dashjr
2c4cbac933 Support multiple -*notify commands 2023-07-20 15:13:30 +00:00