diff --git a/CMakeLists.txt b/CMakeLists.txt index f905e265..d0320a68 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -89,7 +89,7 @@ add_custom_target(docker COMMAND cp ./build/hpcore ./test/local-cluster/bin/ COMMAND cp ./test/bin/libblake3.so ./test/bin/hpws ./test/bin/hpfs ./test/local-cluster/bin/ COMMAND cp ./evernode-license.pdf ./test/local-cluster/bin/ - COMMAND docker build -t hpcore:latest -t hpcore:0.6.4 -f ./test/local-cluster/Dockerfile ./test/local-cluster/bin/ + COMMAND docker build -t hpcore:latest -t hpcore:0.6.5 -f ./test/local-cluster/Dockerfile ./test/local-cluster/bin/ ) set_target_properties(docker PROPERTIES EXCLUDE_FROM_ALL TRUE) add_dependencies(docker hpcore) diff --git a/evernode-license.pdf b/evernode-license.pdf index 65964575..da4688fc 100644 Binary files a/evernode-license.pdf and b/evernode-license.pdf differ diff --git a/src/comm/comm_session.cpp b/src/comm/comm_session.cpp index cd6738b4..9fd8d2bf 100644 --- a/src/comm/comm_session.cpp +++ b/src/comm/comm_session.cpp @@ -10,7 +10,7 @@ namespace comm { constexpr uint32_t INTERVALMS = 60000; constexpr uint32_t UNVERIFIED_INACTIVE_TIMEOUT = 5000; // Time threshold ms for unverified inactive connections. - constexpr uint16_t MAX_IN_MSG_QUEUE_SIZE = 255; // Maximum in message queue size, The size passed is rounded to next number in binary sequence 1(1),11(3),111(7),1111(15),11111(31).... + constexpr uint16_t MAX_IN_MSG_QUEUE_SIZE = 4095; // Maximum in message queue size, The size passed is rounded to next number in binary sequence 1(1),11(3),111(7),1111(15),11111(31).... comm_session::comm_session(corebill::tracker &violation_tracker, std::string_view host_address, hpws::client &&hpws_client, const bool is_ipv4, const bool is_inbound, const uint64_t (&metric_thresholds)[5], const bool corebill_enabled) @@ -409,4 +409,4 @@ namespace comm { } -} // namespace comm \ No newline at end of file +} // namespace comm diff --git a/src/sc/sc.hpp b/src/sc/sc.hpp index 7ef679b6..8ea05ef8 100644 --- a/src/sc/sc.hpp +++ b/src/sc/sc.hpp @@ -16,8 +16,8 @@ */ namespace sc { - constexpr uint16_t MAX_NPL_MSG_QUEUE_SIZE = 255; // Maximum npl message queue size, The size passed is rounded to next number in binary sequence 1(1),11(3),111(7),1111(15),11111(31).... - constexpr uint16_t MAX_CONTROL_MSG_QUEUE_SIZE = 255; // Maximum out message queue size, The size passed is rounded to next number in binary sequence 1(1),11(3),111(7),1111(15),11111(31).... + constexpr uint16_t MAX_NPL_MSG_QUEUE_SIZE = 1023; // Maximum npl message queue size, The size passed is rounded to next number in binary sequence 1(1),11(3),111(7),1111(15),11111(31).... + constexpr uint16_t MAX_CONTROL_MSG_QUEUE_SIZE = 1023; // Maximum out message queue size, The size passed is rounded to next number in binary sequence 1(1),11(3),111(7),1111(15),11111(31).... struct fd_pair { @@ -216,4 +216,4 @@ namespace sc } // namespace sc -#endif \ No newline at end of file +#endif diff --git a/src/usr/read_req.cpp b/src/usr/read_req.cpp index 9bd93867..2af0e85c 100644 --- a/src/usr/read_req.cpp +++ b/src/usr/read_req.cpp @@ -13,7 +13,7 @@ namespace read_req { constexpr uint16_t LOOP_WAIT = 100; // Milliseconds. - constexpr uint16_t MAX_QUEUE_SIZE = 255; // Maximum read request queue size, The size passed is rounded up to the next multiple of the block size (32). + constexpr uint16_t MAX_QUEUE_SIZE = 1024; // Maximum read request queue size, The size passed is rounded up to the next multiple of the block size (32). bool is_shutting_down = false; bool init_success = false; @@ -240,4 +240,4 @@ namespace read_req } } -} // namespace read_req \ No newline at end of file +} // namespace read_req diff --git a/src/util/version.hpp b/src/util/version.hpp index 2a0e4bc4..417bebdf 100644 --- a/src/util/version.hpp +++ b/src/util/version.hpp @@ -6,7 +6,7 @@ namespace version { // HotPocket version. Written to new configs and p2p/user messages. - constexpr const char *HP_VERSION = "0.6.4"; + constexpr const char *HP_VERSION = "0.6.5"; // Minimum compatible config version (this will be used to validate configs). constexpr const char *MIN_CONFIG_VERSION = "0.6.3"; diff --git a/test/bin/hpws b/test/bin/hpws index 9aca1fdb..35547d0b 100755 Binary files a/test/bin/hpws and b/test/bin/hpws differ diff --git a/test/local-cluster/cluster-start.sh b/test/local-cluster/cluster-start.sh index 5c09c737..f52e75eb 100755 --- a/test/local-cluster/cluster-start.sh +++ b/test/local-cluster/cluster-start.sh @@ -14,7 +14,7 @@ fi clusterloc=$(pwd)/hpcluster n=$1 -hpversion=0.6.4 +hpversion=0.6.5 let pubport=8080+$n let peerport=22860+$n diff --git a/test/local-cluster/consensus-test-continuous.sh b/test/local-cluster/consensus-test-continuous.sh index 07e701d5..b6716c41 100644 --- a/test/local-cluster/consensus-test-continuous.sh +++ b/test/local-cluster/consensus-test-continuous.sh @@ -5,7 +5,7 @@ WINDOWSIZE=60 # size of window in seconds to examine for successful consensus ro PIPE=concon.pipe clusterloc=$(pwd)/hpcluster n=1 -hpversion=0.6.4 +hpversion=0.6.5 let pubport=8080+$n while true; do diff --git a/test/local-cluster/consensus-test-loop.sh b/test/local-cluster/consensus-test-loop.sh index 9d5782f6..793fe5a2 100644 --- a/test/local-cluster/consensus-test-loop.sh +++ b/test/local-cluster/consensus-test-loop.sh @@ -3,7 +3,7 @@ clusterloc=$(pwd)/hpcluster n=1 -hpversion=0.6.4 +hpversion=0.6.5 let pubport=8080+$n while true; do CONSENSUS="0" diff --git a/test/local-cluster/rundir.sh b/test/local-cluster/rundir.sh index e95c9058..7a9e0512 100755 --- a/test/local-cluster/rundir.sh +++ b/test/local-cluster/rundir.sh @@ -15,7 +15,7 @@ fi dir=$(realpath $1) dirname=$(basename $dir) n=$1 -hpversion=0.6.4 +hpversion=0.6.5 let pubport=8080