X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fserialize.h;h=e3c3210e02bc0a121830aa0c34c4ea65efd26d09;hb=58ac600b2c94f12309fc5e18933891590dc1eb4c;hp=491169ff58bd9c5aac9ee19c6bd5cdc9cdc9c0ed;hpb=ffef16404d16678d54e767dda6c301ad51fb82a7;p=novacoin.git diff --git a/src/serialize.h b/src/serialize.h index 491169f..e3c3210 100644 --- a/src/serialize.h +++ b/src/serialize.h @@ -1,7 +1,7 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying -// file license.txt or http://www.opensource.org/licenses/mit-license.php. +// file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_SERIALIZE_H #define BITCOIN_SERIALIZE_H @@ -59,7 +59,7 @@ class CDataStream; class CAutoFile; static const unsigned int MAX_SIZE = 0x02000000; -static const int VERSION = 40500; +static const int VERSION = 40700; static const char* pszSubVer = ""; static const bool VERSION_IS_BETA = true; @@ -1244,8 +1244,6 @@ public: int nType; int nVersion; - typedef FILE element_type; - CAutoFile(FILE* filenew=NULL, int nTypeIn=SER_DISK, int nVersionIn=VERSION) { file = filenew;