Separated from #8994 as suggested by MarcoFalke and Sjors in #8994 (comment)
You can’t really test the qt changes on their own, so to test them, use #8994 .
Separated from #8994 as suggested by MarcoFalke and Sjors in #8994 (comment)
You can’t really test the qt changes on their own, so to test them, use #8994 .
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
Reviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
16@@ -17,6 +17,7 @@ const std::string CBaseChainParams::REGTEST = "regtest";
17
18 void SetupChainParamsBaseOptions()
19 {
20+ gArgs.AddArg("-chain=<chain>", "Use the chain <chain> (default: main). Allowed values: main, testnet, regtest", ArgsManager::ALLOW_ANY, OptionsCategory::CHAINPARAMS);
I don’t think testnet
is an allowed value
0 gArgs.AddArg("-chain=<chain>", "Use the chain <chain> (default: main). Allowed values: main, test, regtest", ArgsManager::ALLOW_ANY, OptionsCategory::CHAINPARAMS);
Alternatively, you can use
0Join({
1 CBaseChainParams::MAIN,
2 CBaseChainParams::TESTNET,
3 CBaseChainParams::REGTEST,
4}, ", ");
ACK dba00d2
It was fairly easy to cherry-pick these commits onto the signet PR (https://github.com/Sjors/bitcoin/commit/df1846c8ae97f28165c0d0b44c6cd7ae6b1fcbba & https://github.com/bitcoin/bitcoin/commit/124ee3786802b19e81351808f3145ed4e80dc32c, cc @kallewoof). By dropping the signet
lines from the QT commit, I indeed get a purple client.
87@@ -85,8 +88,8 @@ const NetworkStyle *NetworkStyle::instantiate(const QString &networkId)
88 network_styles[x].appName,
89 network_styles[x].iconColorHueShift,
90 network_styles[x].iconColorSaturationReduction,
91- network_styles[x].titleAddText);
92+ titleAddText.c_str());
93 }
94 }
95- return nullptr;
96+ return new NetworkStyle(strprintf("%s-%s", QAPP_APP_NAME_CUSTOM, networkId).c_str(), 250, 30, titleAddText.c_str());
in commit dba00d2b04c3bf0fd4d31cca662d262c459f2ebb:
This is dead code and I’d prefer if the “default purple” and “custom chain” concept were left for the testchains pull request. This is not required for signet and is only adding dead code.
I am fine with the titleAddText
change in this commit, though. So you can either remove the commit or strip it of the concept of a custom chain.
I guess my idea was for signet to reuse this color, perhaps change the tittle from custom to signet if it comes first, and if not just reuse the custom name for all custom chains signet or not.
EDIT: I mean, or if it’s about the color, we can change to the signet one, I couldn’t care less. Or I can separate it as you sasy, it shouldn’t take long.
ACK 36f9573e82d370af76fed0789fe3d671546e6e85 (also run the test to verify that only error messages are responsible for change the hash)
Signature:
0-----BEGIN PGP SIGNED MESSAGE-----
1Hash: SHA512
2
3ACK 36f9573e82d370af76fed0789fe3d671546e6e85 (also run the test to verify that only error messages are responsible for change the hash)
4-----BEGIN PGP SIGNATURE-----
5
6iQGzBAEBCgAdFiEE+rVPoUahrI9sLGYTzit1aX5ppUgFAlwqrYAACgkQzit1aX5p
7pUga+Av/Y3yW/KQZwNdF7hYFnrmx2Oi6tYorQ3duhA1xTtkkNMZJn6VHS2qDDoOL
88OApQqJa8AQOQO+Ds1kkXQMq7PJzxaxh0kw31YvmQblZGKPsUUqziCbHF1GjFHWo
92GhY3x+sBuNhHyTXgS6EqiyEmEAE0B+1fb4xvAC7cna5RkexOR4JDu6n6I5PZDxu
105upGAB55q1014wUc1aNbEqFHwDmqiwAzIMIKgWSpaQoFKNOUsNl0MS/XpSTeNG7u
1154LHuSoTyLJi+luhY0I+wqDMZuzgJeSZySlQFKDMzC0pVLoMYfO0qqcpDD4pkSkW
12cg55tpewD4W/ljq4lFYTATtHzAy6mi3s/AN09TM/GE7DOyYdnSxPRyBrKaA039Ii
13HCTUZtS1hv/gbs7l6aqUgWlNFwicSvqRSHWJ7IXmbqIS26E5R+e9i4II6mfcZsoD
14GQXjYagSkdta8xydIaWDTHt6x2hXzYHXxtUyI6reJ+ObrCgsPjiWG6eA3aUoaaYv
15iEIzcc2c
16=ubtk
17-----END PGP SIGNATURE-----
Timestamp of file with hash fe315895de9bcfebf0a22dee8eb70c8cd08dd7ba0736e8d0c931542ea93a4bd7 -
ACK 3bf9d8cac09fc88727ef2f2a2bea33b90b625e50
Signature:
0-----BEGIN PGP SIGNED MESSAGE-----
1Hash: SHA512
2
3ACK 3bf9d8cac09fc88727ef2f2a2bea33b90b625e50
4-----BEGIN PGP SIGNATURE-----
5
6iQGzBAEBCgAdFiEE+rVPoUahrI9sLGYTzit1aX5ppUgFAlwqrYAACgkQzit1aX5p
7pUhhSgv/d0tNdJAcYe5izbrwgb32bUYpXXLrk7KdCxauZoGCVKsPxbK+iGx5nhZg
8OcUun64mGXA9L6fMLFyByXZe1FND1CVNHF/b/5mxobmpaE5RqFq7DWhpcVNoXwe3
97CukYbaPMcqajlIsr1KHgetHQrs5Z7HQO4qC4+vvcVLTBd+X0LB61AKbEaDwVldp
10oFKk4C7B9wNDfnUxGqjyBr671tfMgGVi+rDlmra4xedUd93PTRJ12fudf1pp9OcI
11hvr8ablChiTG1EKbbfbXPcScpfsfjGc1ZI0z2wvKXKRSpe1pmoWLje9ySt0TUBN9
12B8wRdozzk4Q63v+6X2+JvNzT7gIEJYi7wNgERipkTJAckWgwZ+jU3WgcB+yHkfrf
13Kun/DULfIusSIqSJBKU8UKe3zCxH2ykhRJT3tzd7zB5k+QHGgWLq9ojLpBdfi/jm
14hkhxq1TIqrMmwC3jXWnTH4P1Qtvx5Fiq4KB7RmXjuZ43EIIHMlet8gewhZRBH0X+
15DXnwuC7C
16=omI2
17-----END PGP SIGNATURE-----
Timestamp of file with hash 9eb4317ea08a354e0ed72ca0faed34267277bab19a079787f864956aa279387d -