From b370164b319df1a500b70694b077f92265a777fb Mon Sep 17 00:00:00 2001 From: Carl Dong Date: Mon, 25 Jul 2022 16:07:56 -0400 Subject: validationcaches: Abolish arbitrary limit 1. -maxsigcachesize is a DEBUG_ONLY option 2. Almost 7 years has passed since its semantics change in 830e3f3d027ba5c8121eed0f6a9ce99961352572 from "number of entries" to "number of mebibytes" 3. A std::new_handler was added to the codebase after the original PR which introduced this limit, which will terminate immediately instead of causing trouble by being caught somewhere unexpected. --- src/script/sigcache.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/script/sigcache.h') diff --git a/src/script/sigcache.h b/src/script/sigcache.h index edcba2543c..0e3f900acf 100644 --- a/src/script/sigcache.h +++ b/src/script/sigcache.h @@ -16,8 +16,6 @@ // systems). Due to how we count cache size, actual memory usage is slightly // more (~32.25 MB) static const unsigned int DEFAULT_MAX_SIG_CACHE_SIZE = 32; -// Maximum sig cache size allowed -static const int64_t MAX_MAX_SIG_CACHE_SIZE = 16384; class CPubKey; -- cgit v1.2.3