Added memory hooks for CURL
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user