Skip to content
This repository was archived by the owner on Oct 28, 2021. It is now read-only.

Commit 659b221

Browse files
committed
Upgrade Hunter
Upgrades Hunter to v0.23.178. This upgrades following packages: - leveldb to 1.22, it now builds natively on Windows, - Crypto++ to 8.2.0. The ethash stays at version 0.4.4, the current default version in Hunter.
1 parent 312fff8 commit 659b221

File tree

4 files changed

+5
-10
lines changed

4 files changed

+5
-10
lines changed

CMakeLists.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ option(HUNTER_RUN_UPLOAD "Upload binaries to the cache server" ${run_upload})
3939

4040
include(HunterGate)
4141
HunterGate(
42-
URL "https://github.com/ruslo/hunter/archive/v0.23.44.tar.gz"
43-
SHA1 "c4cfcc0cd39fdae8de08f6205b7f34cab4a7ba79"
42+
URL "https://github.com/ruslo/hunter/archive/v0.23.178.tar.gz"
43+
SHA1 "3511e5f2382d43cfa92b7f2a6f316fbdd1b81a92"
4444
LOCAL
4545
)
4646

@@ -83,6 +83,8 @@ find_package(libscrypt CONFIG REQUIRED)
8383
hunter_add_package(ethash)
8484
find_package(ethash CONFIG REQUIRED)
8585

86+
message("Crypto++: ${HUNTER_cryptopp_VERSION}")
87+
8688
include(ProjectSecp256k1)
8789
include(ProjectLibFF)
8890

cmake/Hunter/config.cmake

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,3 @@ hunter_config(
1818
)
1919

2020
hunter_config(Boost VERSION 1.65.1)
21-
22-
hunter_config(ethash VERSION 0.4.4
23-
URL https://github.com/chfast/ethash/archive/v0.4.4.tar.gz
24-
SHA1 d09e4560cf7e5ea9ce9e3c1f35a98edeb46e6bb6
25-
)

libdevcrypto/CryptoPP.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
#include <libdevcore/Assertions.h>
2828
#include <libdevcore/SHA3.h>
2929

30-
static_assert(CRYPTOPP_VERSION == 565, "Wrong Crypto++ version");
30+
static_assert(CRYPTOPP_VERSION == 820, "Wrong Crypto++ version");
3131

3232
using namespace dev;
3333
using namespace dev::crypto;

libp2p/RLPXFrameCoder.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@
2828
#include "RLPxHandshake.h"
2929
#include "RLPXPacket.h"
3030

31-
static_assert(CRYPTOPP_VERSION == 565, "Wrong Crypto++ version");
32-
3331
using namespace std;
3432
using namespace dev;
3533
using namespace dev::p2p;

0 commit comments

Comments
 (0)