From bf7cf3253655b553af0ecdabdbd70e599dacc3d3 Mon Sep 17 00:00:00 2001 From: joetom Date: Sun, 17 May 2026 17:17:51 +0000 Subject: [PATCH 1/2] increase tx per tick 1024>4096 --- defines.h | 2 +- node_utils.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/defines.h b/defines.h index 112efe53..44123543 100644 --- a/defines.h +++ b/defines.h @@ -8,7 +8,7 @@ #define DEFAULT_SCHEDULED_TICK_OFFSET 8 #define DEFAULT_NODE_PORT 21841 #define DEFAULT_NODE_IP "127.0.0.1" -#define NUMBER_OF_TRANSACTIONS_PER_TICK 1024 +#define NUMBER_OF_TRANSACTIONS_PER_TICK 4096 #define SIGNATURE_SIZE 64 #define MAX_INPUT_SIZE 1024ULL #define MAX_TRANSACTION_SIZE (MAX_INPUT_SIZE + sizeof(Transaction) + SIGNATURE_SIZE) diff --git a/node_utils.cpp b/node_utils.cpp index c5f2c939..8bdf4ef1 100644 --- a/node_utils.cpp +++ b/node_utils.cpp @@ -2065,7 +2065,7 @@ void getVoteCounterTransaction(const char* nodeIp, const int nodePort, unsigned auto extraData = std::make_unique>(); extraData->reserve(NUMBER_OF_TRANSACTIONS_PER_TICK); - getTickTransactions(qc, requestedTick, 1024, *txs, /*hashes=*/nullptr, extraData.get(), /*sigs=*/nullptr); + getTickTransactions(qc, requestedTick, NUMBER_OF_TRANSACTIONS_PER_TICK, *txs, /*hashes=*/nullptr, extraData.get(), /*sigs=*/nullptr); auto td = std::make_unique(); getTickData(qc, requestedTick, *td); From c16f246e0130a6b62077f6210a97347c22cb9a59 Mon Sep 17 00:00:00 2001 From: cyber-pc <165458555+cyber-pc@users.noreply.github.com> Date: Fri, 22 May 2026 10:49:00 +0700 Subject: [PATCH 2/2] Update core submodule --- submodules/core | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/core b/submodules/core index 57bf1abe..74b0180f 160000 --- a/submodules/core +++ b/submodules/core @@ -1 +1 @@ -Subproject commit 57bf1abed06aba42f309ec8d8163e6f595c03782 +Subproject commit 74b0180f0fad9e4bb350e7eca0fa383f88c3d0ba