Commit Graph

204 Commits

Author SHA1 Message Date
Luke Dashjr
471482cabc GUI/Options: Configure maxscriptsize using settings 2023-11-16 01:14:28 +00:00
Luke Dashjr
deffdb4461 GUI/Options: Configure datacarriercost using settings 2023-11-16 01:14:28 +00:00
Luke Dashjr
1e97b0ced4 GUI/Options: Rewrite datacarriersize tooltip in light of match_more_datacarrier 2023-11-16 01:14:28 +00:00
Luke Dashjr
9c76017625 GUI/Options: Use kWU unit for blockmaxweight rather than ugly ",000" label 2023-11-16 01:14:28 +00:00
Luke Dashjr
b7eb294a25 Adjust default policy for Knots and add -corepolicy option to undo 2023-11-16 01:14:28 +00:00
Luke Dashjr
611b9aa2d1 Qt/Options: Configure spkreuse using rwconf 2023-11-16 01:14:28 +00:00
Luke Dashjr
f58d281cde Qt/Options: Configure blockmintxfee using rwconf 2023-11-16 01:14:28 +00:00
Luke Dashjr
43dc306389 Qt/Options: Configure dustrelayfee using rwconf 2023-11-16 01:14:28 +00:00
Luke Dashjr
21fb3f523a Qt/Options: Configure incrementalrelayfee using rwconf 2023-11-16 01:14:28 +00:00
Luke Dashjr
b0ed9c2b22 Qt/Options: Configure blockreconstructionextratxn using rwconf 2023-11-16 01:14:28 +00:00
Luke Dashjr
7a31573d08 Qt/Options: Configure walletrbf using rwconf 2023-11-16 01:14:28 +00:00
Luke Dashjr
b2645bf424 Qt/Options: Configure minrelaytxfee using rwconf 2023-11-16 01:14:28 +00:00
Luke Dashjr
299fc01c3b Qt/Options: Configure blockmaxsize, blockprioritysize, and blockmaxweight using rwconf 2023-11-16 01:14:28 +00:00
Luke Dashjr
1d3f35eaf6 Qt/Options: Implement Mining tab design in code 2023-11-16 01:14:28 +00:00
Luke Dashjr
f6291cf31a Qt/Options: Configure datacarrier[size] using rwconf 2023-11-16 01:14:28 +00:00
Luke Dashjr
9f09a18e82 Qt/Options: Configure permitbaremultisig using rwconf 2023-11-16 01:14:28 +00:00
Luke Dashjr
a0aeb7b065 Qt/Options: Configure limitdescendant{count,size} using rwconf 2023-11-16 01:14:28 +00:00
Luke Dashjr
2b9e07c44f Qt/Options: Configure limitancestorsize using rwconf 2023-11-16 01:14:28 +00:00
Luke Dashjr
6bc2bb3520 Qt/Options: Configure limitancestorcount using rwconf 2023-11-16 01:14:28 +00:00
Luke Dashjr
9e181c6f75 Qt/Options: Configure bytespersigopstrict using rwconf 2023-11-16 01:14:28 +00:00
Luke Dashjr
96d0355590 Qt/Options: Configure acceptnonstdtxn using rwconf 2023-11-16 01:14:28 +00:00
Luke Dashjr
4a80bf0af1 Qt/Options: Configure mempoolexpiry using rwconf 2023-11-16 01:14:28 +00:00
Luke Dashjr
3d0f771518 Qt/Options: Configure maxmempool using rwconf 2023-11-16 01:14:28 +00:00
Luke Dashjr
04ac0eb698 Qt/Options: Configure maxmempool using rwconf 2023-11-16 01:14:27 +00:00
Luke Dashjr
a46bb3410f Qt/Options: Configure maxorphantx using rwconf 2023-11-16 01:14:27 +00:00
Luke Dashjr
8c9b30de19 Qt/Options: Configure mempoolreplacement using rwconf 2023-11-16 01:14:27 +00:00
Luke Dashjr
30722fe358 Qt/Options: Implement Mempool tab design in code 2023-11-16 01:14:27 +00:00
Luke Dashjr
cf8a5b7694 Qt/Options: Helper functions to build options programatically 2023-11-16 01:14:27 +00:00
Luke Dashjr
643e6f6ba1 Merge 5861 via gui_restore_addresses 2023-11-15 23:49:11 +00:00
Luke Dashjr
c570fc7248 GUI: Options: Replace addresstype radioboxes with a combobox to match Receive dialog 2023-10-17 02:17:18 +00:00
Luke Dashjr
46875b0233 Qt/Options: Expose peerblockfilters in GUI using rwconf
For now, enables basic block filters permanently (can't be disabled)
2023-10-17 02:17:18 +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
3ad197c5c6 Restore ability to display addresses in GUI
This reverts commit bdba2dd000.
2023-08-08 22:53:59 +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
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
c15587936b GUI: Enable customisation of QR Code font 2023-07-21 17:53:46 +00:00
Luke Dashjr
61887d5ecf Merge branch 'qt_fontsel' into qt_fontsel-25+knots 2023-07-21 17:52:04 +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
Hennadii Stepanov
f6aec24062 qt: Add "Alternating Row Color" settings for the Peers Tab
Github-Pull: gui#307
Rebased-From: b124c2fe600b343a2bc66ff8eb0aaf43aa99f4db
2023-07-20 15:00:31 +00:00
Andrew Chow
35fbc97208
Merge bitcoin/bitcoin#25619: net: avoid overriding non-virtual ToString() in CService and use better naming
c9d548c91f net: remove CService::ToStringPort() (Vasil Dimov)
fd4f0f41e9 gui: simplify OptionsDialog::updateDefaultProxyNets() (Vasil Dimov)
96c791dd20 net: remove CService::ToString() use ToStringAddrPort() instead (Vasil Dimov)
944a9de08a net: remove CNetAddr::ToString() and use ToStringAddr() instead (Vasil Dimov)
043b9de59a scripted-diff: rename ToStringIP[Port]() to ToStringAddr[Port]() (Vasil Dimov)

Pull request description:

  Before this PR we had the somewhat confusing combination of methods:

  `CNetAddr::ToStringIP()`
  `CNetAddr::ToString()` (duplicate of the above)
  `CService::ToStringIPPort()`
  `CService::ToString()` (duplicate of the above, overrides a non-virtual method from `CNetAddr`)
  `CService::ToStringPort()`

  Avoid [overriding non-virtual methods](https://github.com/bitcoin/bitcoin/pull/25349/#issuecomment-1185226396).

  "IP" stands for "Internet Protocol" and while sometimes "IP addresses" are called just "IPs", it is incorrect to call Tor or I2P addresses "IPs". Thus use "Addr" instead of "IP".

  Change the above to:

  `CNetAddr::ToStringAddr()`
  `CService::ToStringAddrPort()`

  The changes touch a lot of files, but are mostly mechanical.

ACKs for top commit:
  sipa:
    utACK c9d548c91f
  achow101:
    ACK c9d548c91f
  jonatack:
    re-ACK c9d548c91f only change since my previous reviews is rebase, but as a sanity check rebased to current master and at each commit quickly re-reviewed and re-verified clean build and green unit tests
  LarryRuane:
    ACK c9d548c91f

Tree-SHA512: 633fb044bdecf9f551b5e3314c385bf10e2b78e8027dc51ec324b66b018da35e5b01f3fbe6295bbc455ea1bcd1a3629de1918d28de510693afaf6a52693f2157
2023-02-17 13:34:40 -05:00
Hennadii Stepanov
b7f6a89a3e
Merge bitcoin-core/gui#686: clang-tidy: Force checks for headers in src/qt
7b7cd11244 clang-tidy, qt: Force checks for headers in `src/qt` (Hennadii Stepanov)
69eacf2c5e clang-tidy, qt: Fix `modernize-use-default-member-init` in headers (Hennadii Stepanov)

Pull request description:

  This PR split from bitcoin/bitcoin#26705 and contains only changes in `src/qt`.

  Effectively, it fixes the clang-tidy's `modernize-use-default-member-init` errors, and forces clang-tidy checks for all headers in the `src/qt` directory.

ACKs for top commit:
  jarolrod:
    ACK 7b7cd11244

Tree-SHA512: 79525bb0f31ae7cad88c781e55091a21467c0485ddc1ed03ad62e051480fda3b3710619ea11af480437edba3c6e038f7c40edc6b373e3a37408c006d11b34686
2023-01-17 09:54:56 +00:00
Hennadii Stepanov
306ccd4927
scripted-diff: Bump copyright headers
-BEGIN VERIFY SCRIPT-
./contrib/devtools/copyright_header.py update ./
-END VERIFY SCRIPT-

Commits of previous years:
- 2021: f47dda2c58
- 2020: fa0074e2d8
- 2019: aaaaad6ac9
2022-12-24 23:49:50 +00:00
Hennadii Stepanov
69eacf2c5e
clang-tidy, qt: Fix modernize-use-default-member-init in headers
See https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-default-member-init.html
2022-12-16 11:58:38 +00:00