This continues some of the great work that @benma has been doing.
More work towards a CConnman with no globals, so that we can test instances against themselves.
Also, rather than adding to the existing unused parameters
(threadGroup, scheduler), remove them and their header dependencies.
This also allows the port-less AddLocal overload to be removed.
The global test is removed because it's no longer relevant. Overriding via the
-port config option is tested extensively via python tests.
@jonasschnelli Any suggestion where to stick this? The qt build fails because the global accessor has been removed. I’d hate to add the global back just for qt.
Is it possible to add a QSettings value from gArgs without it ending up stored in the config file?
guiutil.cpp/h
. Or just pass it around (to bitcoingui.cpp
, etc., but I guess that will lead to a lot of code)
This seems to be the only option that changes operations on the fly. We could just not do that (setRestartRequired(true)
).
Otherwise, a clean option might be to register a callback in qt, called when non-restart settings are changed. Could hook up the dataChanged
signal to a slot somewhere closer in qt to where the callback can be passed.
theuni
jonasschnelli
benma
DrahtBot
MarcoFalke
Labels
P2P