diff --git a/defines.h b/defines.h index 112efe5..4412354 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 c5f2c93..8bdf4ef 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); diff --git a/submodules/core b/submodules/core index 57bf1ab..74b0180 160000 --- a/submodules/core +++ b/submodules/core @@ -1 +1 @@ -Subproject commit 57bf1abed06aba42f309ec8d8163e6f595c03782 +Subproject commit 74b0180f0fad9e4bb350e7eca0fa383f88c3d0ba