X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Futil.h;h=d9a0841a61438e4803b87e459bbbb9af6865278c;hb=1f3bc1c2399fb53eb1b2222194332aca07a31a36;hp=7b7eaf6dbb62008fcdb1efd794d0f39ab1d07668;hpb=cd2b8832fdb087e740e8d6da69c75f46d69b52d2;p=novacoin.git diff --git a/src/util.h b/src/util.h index 7b7eaf6..d9a0841 100644 --- a/src/util.h +++ b/src/util.h @@ -204,7 +204,7 @@ void SetMockTime(int64 nMockTimeIn); int64 GetAdjustedTime(); void AddTimeData(unsigned int ip, int64 nTime); std::string FormatFullVersion(); - +std::string FormatSubVersion(const std::string& name, int nClientVersion, const std::vector& comments); @@ -558,7 +558,7 @@ inline uint256 Hash(const T1 p1begin, const T1 p1end, } template -uint256 SerializeHash(const T& obj, int nType=SER_GETHASH, int nVersion=VERSION) +uint256 SerializeHash(const T& obj, int nType=SER_GETHASH, int nVersion=PROTOCOL_VERSION) { // Most of the time is spent allocating and deallocating CDataStream's // buffer. If this ever needs to be optimized further, make a CStaticStream