Hmm works too ,,, but a i kinda like short changes.
and b when edit with Qt designer the ui file, the default is to have at least a
<property name="geometry">
So for now i like to stay a bit conservative, since i can not test easy outside my cruft.
so how about this?
0diff --git a/src/qt/forms/debugwindow.ui b/src/qt/forms/debugwindow.ui
1index 8b7080083..1217ca3e2 100644
2--- a/src/qt/forms/debugwindow.ui
3+++ b/src/qt/forms/debugwindow.ui
4@@ -1078,12 +1078,6 @@
5 <height>426</height>
6 </rect>
7 </property>
8- <property name="minimumSize">
9- <size>
10- <width>300</width>
11- <height>0</height>
12- </size>
13- </property>
14 <layout class="QGridLayout" name="gridLayout_2" columnstretch="0,1">
15 <item row="0" column="0">
16 <widget class="QLabel" name="label_30">
17
18
19I have written a shorty test script to test long flag lists, by spawn up 2 connected
20 regtest nodes.
21
22``` bash
23#!/bin/bash
24params="-regtest -debug=1"
25makeflags=-j4
26dir=/tmp/bitcoin-test
27baseport=1234
28testfix=0 #if 1 auto git pull the gui fix from Saibato PR [#6](/bitcoin-core-gui/6/) https://github.com/bitcoin-core/gui/commit/099defc58975e2ec0e8069b84cf852f7673122dd
29
30if [ $testfix = 1 ]; then git pull --no-edit https://github.com/Saibato/gui fix-qt-disp-flags ;fi
31
32t=$(echo "")
33for i in {1..8} # number of flags to set active ( max 64 )
34 do t+=$(echo "|(1<<$i)")
35done
36
37#Next change init.cpp to set many flags
38
39sed -i "s/ServiceFlags(NODE_NETWORK | NODE_NETWORK_LIMITED);/ServiceFlags(NODE_NETWORK | NODE_NETWORK_LIMITED $t);/g" ./src/init.cpp
40#Now recompile the the code
41make $makeflags
42
43printf "######\n\n now wait for-torcontrol=127.0.0.1:9151 the nodes to spun up ...\ntest with window>Network Traffic>Peers\n######"
44
45# now revert the set many node flags in init.cpp
46sed -i "s/ServiceFlags(NODE_NETWORK | NODE_NETWORK_LIMITED $t)/ServiceFlags(NODE_NETWORK | NODE_NETWORK_LIMITED)/g" ./src/init.cpp
47if [ $testfix = 1 ]; then git reset --hard HEAD~1 ;fi
48
49for i in 1 2
50do port2=$((3-$i))
51 rm -rf $dir$i && mkdir $dir$i
52 ./src/qt/bitcoin-qt $params -bind=127.0.0.1 $(if [ $i = 1 ]; then echo -server;fi) -wallet=test -listen -port=$(echo $baseport$i) -datadir=$dir$i -connect=127.0.0.1:$(echo $baseport$port2) &
53done