From b52c2899314a452e2797a03a2dc55e3778a4a144 Mon Sep 17 00:00:00 2001 From: XMRig Date: Sat, 28 Aug 2021 12:32:57 +0700 Subject: [PATCH] Increase RANDOMX_PROGRAM_MAX_SIZE --- src/crypto/randomx/configuration.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crypto/randomx/configuration.h b/src/crypto/randomx/configuration.h index 3681a783..be344c49 100644 --- a/src/crypto/randomx/configuration.h +++ b/src/crypto/randomx/configuration.h @@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #define RANDOMX_DATASET_MAX_SIZE 2181038080 // Increase it if some configs use larger programs -#define RANDOMX_PROGRAM_MAX_SIZE 256 +#define RANDOMX_PROGRAM_MAX_SIZE 280 // Increase it if some configs use larger scratchpad #define RANDOMX_SCRATCHPAD_L3_MAX_SIZE 2097152