From a37b130798ffa5b40b891885d0081e4f4b2f9cef Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Thu, 26 Dec 2019 20:23:00 -0500 Subject: [PATCH] Revert "Sacrifice to the CPOSNonce gods, will they accept?" This sacrifice was in vein. This reverts commit f4c95fea7c34a58a0de20968d71933c47c063be5. --- src/primitives/block.h | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/src/primitives/block.h b/src/primitives/block.h index ac73c8292..d19981def 100644 --- a/src/primitives/block.h +++ b/src/primitives/block.h @@ -28,15 +28,6 @@ #include "uint256.h" #include "arith_uint256.h" -class CPOSNonce : public uint256 -{ -public: - CPOSNonce() : uint256() { } - CPOSNonce(const base_blob<256> &b) : uint256(b) { } - CPOSNonce(const std::vector &vch) : uint256(vch) { } -}; - - /** Nodes collect new transactions into a block, hash them into a hash tree, * and scan through nonce values to make the block's hash satisfy proof-of-work * requirements. When they solve the proof-of-work, they broadcast the block @@ -59,8 +50,8 @@ public: uint256 hashFinalSaplingRoot; uint32_t nTime; uint32_t nBits; - CPOSNonce nNonce; - //uint256 nNonce; + //CPOSNonce nNonce; + uint256 nNonce; std::vector nSolution;