25 if (
auto max_size = argsman.
GetIntArg(
"-maxsigcachesize")) {
27 std::max<int64_t>(*max_size, 0) * (1 << 20);
29 if (
auto max_size = argsman.
GetIntArg(
"-maxscriptcachesize")) {
31 std::max<int64_t>(*max_size, 0) * (1 << 20);
int64_t GetIntArg(const std::string &strArg, int64_t nDefault) const
Return integer argument or default value.
std::optional< bilingual_str > ApplyArgsManOptions(const ArgsManager &args, BlockManager::Options &opts)
size_t script_execution_cache_bytes
size_t signature_cache_bytes