I'd like to query the Bitcoin daemon (bitcoind) to find out which startup flags (command-line options) were sent to it at startup (or change the current state if it's changed, such as the startup flag).
server = 0/1 To change).
For example, I might like to know if
-uacomment = or another flag has been set.
For Namecoin it would be very useful to know if
-History was set.
Is there an RPC or other method to find out?
Or to put the question differently …
src / bitcoind.cpp's
bool AppInit (int argc, char * argv.)) method calls
ParseParameters (argc, argv);which is located in src / util.cpp.
In src / util.cpp we have:
mapArgs; static map <string, vector > _mapMultiArgs; const map <string, vector > & mapMultiArgs = _mapMultiArgs;
Save flags / options / arguments.
Basically, I just want to get through bitcoind, which is in these variables.