Please describe the feature you’d like to see added.
I would like to be able to see all parameters and it’s values that bitcoind “knows” when it is running.
That are at least those parameters you can set in bitcoin.conf
file, e.g. upnp
, disablewallet
etc.
My use case is with bitcoind v26.0.0rc2
I want to test enabling v2 transport with v2transport=1
.
Since I have since then not one v2 connection (which is perfectly reasonable, I guess, since it is a new feature disabled by default), I would like to verify that bitcoind has v2transport really enabled, to be sure that the reason is not a config problem.
I think this would be generally good because users where able to verify if the running values are those that they expect (e.g. they have set them like in my use case above, or they should have their default value, so users can verify the documentation of default values)
Is your feature related to a problem, if so please describe it.
See also #15021
Describe the solution you’d like
A RPC command dumpconfig
that dumps a list of all runtime parameters as key-value-pairs.
Describe any alternatives you’ve considered
A setting in bitcoin.conf dumpconfig_file
which defaults to dumpconfig.json
(analog to existing settings
file option) that makes bitcoind dump it’s parameters in that dumpconfig.json file on startup.
Please leave any additional context
No response