Cleanup
authoralex <alex@alex-VirtualBox.(none)>
Fri, 23 Aug 2013 18:21:00 +0000 (22:21 +0400)
committeralex <alex@alex-VirtualBox.(none)>
Fri, 23 Aug 2013 18:21:00 +0000 (22:21 +0400)
src/main.h

index 0ed1777..3711793 100644 (file)
@@ -856,7 +856,6 @@ public:
 
     // memory only
     mutable std::vector<uint256> vMerkleTree;
-    uint256 hashBlock;
 
     // Denial-of-service detection:
     mutable int nDoS;
@@ -902,7 +901,6 @@ public:
         vchBlockSig.clear();
         vMerkleTree.clear();
         nDoS = 0;
-        hashBlock = 0;
     }
 
     bool IsNull() const
@@ -910,7 +908,7 @@ public:
         return (nBits == 0);
     }
 
-    uint256 GetHash(bool fRehash=false) const
+    uint256 GetHash() const
     {
         return scrypt_blockhash(CVOIDBEGIN(nVersion));
     }