/// </summary>
public const uint nMaxBlockSize = 1000000;
+ /// <summary>
+ /// Sanity threshold for amount of sigops.
+ /// </summary>
+ public const uint nMaxSigOps = 20000;
+
/// <summary>
/// Block header.
/// </summary>
}
// Reject block if validation would consume too much resources.
- if (nSigOps > 50000)
+ if (nSigOps > nMaxSigOps)
{
return false;
}