Added memory hooks for CURL

This commit is contained in:
SChernykh
2022-06-07 16:02:08 +02:00
parent 75b9a0228b
commit 8b681d6efb
5 changed files with 33 additions and 13 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ static constexpr uint64_t MIN_DIFF = 1000;
static constexpr uint64_t AUTO_DIFF_TARGET_TIME = 30;
// Use short target format (4 bytes) for diff <= 4 million
static constexpr uint64_t TARGET_4_BYTES_LIMIT = std::numeric_limits<uint64_t>::max() / 4000000 + 1;
static constexpr uint64_t TARGET_4_BYTES_LIMIT = std::numeric_limits<uint64_t>::max() / 4000001;
#include "tcp_server.inl"