Added support for upcoming Haven fork.

This commit is contained in:
XMRig
2020-07-16 23:28:43 +07:00
parent 6a29ff191c
commit 7920baa28c
2 changed files with 5 additions and 3 deletions

View File

@@ -45,7 +45,9 @@ class Job
public:
// Max blob size is 84 (75 fixed + 9 variable), aligned to 96. https://github.com/xmrig/xmrig/issues/1 Thanks fireice-uk.
// SECOR increase requirements for blob size: https://github.com/xmrig/xmrig/issues/913
static constexpr const size_t kMaxBlobSize = 128;
// Haven (XHV) offshore increases requirements by adding pricing_record struct (192 bytes) to block_header.
// Round it up to 408 (136*3) for a convenient keccak calculation in OpenCL
static constexpr const size_t kMaxBlobSize = 408;
static constexpr const size_t kMaxSeedSize = 32;
Job() = default;

View File

@@ -28,14 +28,14 @@
#define APP_ID "xmrig-proxy"
#define APP_NAME "xmrig-proxy"
#define APP_DESC "XMRig Stratum proxy"
#define APP_VERSION "6.2.0"
#define APP_VERSION "6.3.0-dev"
#define APP_DOMAIN "xmrig.com"
#define APP_SITE "www.xmrig.com"
#define APP_COPYRIGHT "Copyright (C) 2016-2020 xmrig.com"
#define APP_KIND "proxy"
#define APP_VER_MAJOR 6
#define APP_VER_MINOR 2
#define APP_VER_MINOR 3
#define APP_VER_PATCH 0
#ifdef _MSC_VER