This commit is contained in:
Dimitris Apostolou 2018-02-27 00:02:34 +02:00 committed by GitHub
parent be262f065f
commit 809f01ca4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ public:
{ {
// DoS prevention: limit cache size to less than 10MB // DoS prevention: limit cache size to less than 10MB
// (~200 bytes per cache entry times 50,000 entries) // (~200 bytes per cache entry times 50,000 entries)
// Since there are a maximum of 20,000 signature operations per block // Since there is a maximum of 20,000 signature operations per block
// 50,000 is a reasonable default. // 50,000 is a reasonable default.
int64_t nMaxCacheSize = GetArg("-maxsigcachesize", 50000); int64_t nMaxCacheSize = GetArg("-maxsigcachesize", 50000);
if (nMaxCacheSize <= 0) return; if (nMaxCacheSize <= 0) return;