diff --git a/src/pow.cpp b/src/pow.cpp index f925a7b30..60818ec64 100644 --- a/src/pow.cpp +++ b/src/pow.cpp @@ -111,18 +111,31 @@ arith_uint256 RT_CST_RST_outer(int32_t height,uint32_t nTime,arith_uint256 bnTar return(bnTarget); } +arith_uint256 RT_CST_RST_target(int32_t height,uint32_t nTime,arith_uint256 bnTarget,uint32_t *ts,arith_uint256 *ct,int32_t width) +{ + int32_t i; int64_t innerK; + bnTarget = ct[0]; + for (i=1; i