I was curious about this while perusing through setup_common.cpp
. It seems to me that:
m_node.args
is an alias togArgs
m_args
is its own thing- Extra arguments supplied to
*TestingSetup
ctors are parsed intom_node.args
/gArgs
,m_args
is left alone - The only usage of
m_args
is in the chainstate loading sequence I added and in various tests where only itsGetDataDirBase()
member is called
Therefore it seems that the current uses of m_args
in the chainstate loading sequence in TestingSetup::TestingSetup
is incorrect, and we should likely remove m_args
to avoid further confusion since it’s not serving any useful purpose.
Would love some context here!