This is part of the libbitcoinkernel
project: #24303, https://github.com/bitcoin/bitcoin/projects/18
This PR is NOT dependent on any other PRs.
a.k.a. “Stop calling gArgs.GetIntArg("-maxsigcachesize")
from validation code”
This PR introduces the ValidationCacheSizes
struct and its corresponding ApplyArgsManOptions
function, removing the need to call gArgs
from Init{Signature,ScriptExecution}Cache()
. This serves to further decouple ArgsManager
from libbitcoinkernel
code.
More context can be gleaned from the commit messages.