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 .
<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
<!--174a7506f384e20aa4161008e828411d-->
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
gArgs.AddArg("-chain=<chain>", "Use the chain <chain> (default: main). Allowed values: main, test, regtest", ArgsManager::ALLOW_ANY, OptionsCategory::CHAINPARAMS);
Alternatively, you can use
Join({
CBaseChainParams::MAIN,
CBaseChainParams::TESTNET,
CBaseChainParams::REGTEST,
}, ", ");
Fixed @MarcoFalke 's nit and slightly improve documentation.
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.
Nice!
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.
Wouldn't that also require 2f5796504a5d984276931da974436a8a5d352f74?
hopefully fixed
ACK 36f9573e82d370af76fed0789fe3d671546e6e85 (also run the test to verify that only error messages are responsible for change the hash)
<details><summary>Show signature and timestamp</summary>
Signature:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
ACK 36f9573e82d370af76fed0789fe3d671546e6e85 (also run the test to verify that only error messages are responsible for change the hash)
-----BEGIN PGP SIGNATURE-----
iQGzBAEBCgAdFiEE+rVPoUahrI9sLGYTzit1aX5ppUgFAlwqrYAACgkQzit1aX5p
pUga+Av/Y3yW/KQZwNdF7hYFnrmx2Oi6tYorQ3duhA1xTtkkNMZJn6VHS2qDDoOL
8OApQqJa8AQOQO+Ds1kkXQMq7PJzxaxh0kw31YvmQblZGKPsUUqziCbHF1GjFHWo
2GhY3x+sBuNhHyTXgS6EqiyEmEAE0B+1fb4xvAC7cna5RkexOR4JDu6n6I5PZDxu
5upGAB55q1014wUc1aNbEqFHwDmqiwAzIMIKgWSpaQoFKNOUsNl0MS/XpSTeNG7u
54LHuSoTyLJi+luhY0I+wqDMZuzgJeSZySlQFKDMzC0pVLoMYfO0qqcpDD4pkSkW
cg55tpewD4W/ljq4lFYTATtHzAy6mi3s/AN09TM/GE7DOyYdnSxPRyBrKaA039Ii
HCTUZtS1hv/gbs7l6aqUgWlNFwicSvqRSHWJ7IXmbqIS26E5R+e9i4II6mfcZsoD
GQXjYagSkdta8xydIaWDTHt6x2hXzYHXxtUyI6reJ+ObrCgsPjiWG6eA3aUoaaYv
iEIzcc2c
=ubtk
-----END PGP SIGNATURE-----
Timestamp of file with hash fe315895de9bcfebf0a22dee8eb70c8cd08dd7ba0736e8d0c931542ea93a4bd7 -
</details>
ACK 3bf9d8cac09fc88727ef2f2a2bea33b90b625e50
<details><summary>Show signature and timestamp</summary>
Signature:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
ACK 3bf9d8cac09fc88727ef2f2a2bea33b90b625e50
-----BEGIN PGP SIGNATURE-----
iQGzBAEBCgAdFiEE+rVPoUahrI9sLGYTzit1aX5ppUgFAlwqrYAACgkQzit1aX5p
pUhhSgv/d0tNdJAcYe5izbrwgb32bUYpXXLrk7KdCxauZoGCVKsPxbK+iGx5nhZg
OcUun64mGXA9L6fMLFyByXZe1FND1CVNHF/b/5mxobmpaE5RqFq7DWhpcVNoXwe3
7CukYbaPMcqajlIsr1KHgetHQrs5Z7HQO4qC4+vvcVLTBd+X0LB61AKbEaDwVldp
oFKk4C7B9wNDfnUxGqjyBr671tfMgGVi+rDlmra4xedUd93PTRJ12fudf1pp9OcI
hvr8ablChiTG1EKbbfbXPcScpfsfjGc1ZI0z2wvKXKRSpe1pmoWLje9ySt0TUBN9
B8wRdozzk4Q63v+6X2+JvNzT7gIEJYi7wNgERipkTJAckWgwZ+jU3WgcB+yHkfrf
Kun/DULfIusSIqSJBKU8UKe3zCxH2ykhRJT3tzd7zB5k+QHGgWLq9ojLpBdfi/jm
hkhxq1TIqrMmwC3jXWnTH4P1Qtvx5Fiq4KB7RmXjuZ43EIIHMlet8gewhZRBH0X+
DXnwuC7C
=omI2
-----END PGP SIGNATURE-----
Timestamp of file with hash 9eb4317ea08a354e0ed72ca0faed34267277bab19a079787f864956aa279387d -
</details>