ValidationCache::ValidationCache

Construct the caches with the given memory budgets.

Synopsis

Declared in <validation.h>

ValidationCache(
    size_t script_execution_cache_bytes,
    size_t signature_cache_bytes);

Parameters

NameDescription
script_execution_cache_bytesMemory budget for the script execution cache.
signature_cache_bytesMemory budget for the signature cache.