From 98a5a298ed98b43c72dbbea7c9df52a8762ea7e9 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 18 Apr 2018 22:35:24 +0300 Subject: [PATCH] Test --- src/miner.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/miner.cpp b/src/miner.cpp index 177df1fb7..6a3451084 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -905,7 +905,9 @@ void static BitcoinMiner() // (x_1, x_2, ...) = A(I, V, n, k) LogPrint("pow", "Running Equihash solver \"%s\" with nNonce = %s\n",solver, pblock->nNonce.ToString()); arith_uint256 hashTarget = HASHTarget; - //fprintf(stderr,"running solver\n"); + for (z=31; z>=0; z--) + fprintf(stderr,"%02x",((uint8_t *)&hashTarget)[z]); + fprintf(stderr," running solver\n"); std::function)> validBlock = #ifdef ENABLE_WALLET [&pblock, &hashTarget, &pwallet, &reservekey, &m_cs, &cancelSolver, &chainparams]