mirror of
https://github.com/EvernodeXRPL/hpcore.git
synced 2026-07-23 15:10:38 +00:00
Bump to v0.6.5, increase message queue sizes, update hpws binary (#417)
This commit is contained in:
@@ -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)
|
||||
|
||||
Binary file not shown.
@@ -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
|
||||
} // namespace comm
|
||||
|
||||
@@ -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
|
||||
#endif
|
||||
|
||||
@@ -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
|
||||
} // namespace read_req
|
||||
|
||||
@@ -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";
|
||||
|
||||
BIN
test/bin/hpws
BIN
test/bin/hpws
Binary file not shown.
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -15,7 +15,7 @@ fi
|
||||
dir=$(realpath $1)
|
||||
dirname=$(basename $dir)
|
||||
n=$1
|
||||
hpversion=0.6.4
|
||||
hpversion=0.6.5
|
||||
|
||||
let pubport=8080
|
||||
|
||||
|
||||
Reference in New Issue
Block a user