diff options
| author | Jeff Garzik <[email protected]> | 2012-04-12 12:23:58 -0400 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2012-04-12 12:23:58 -0400 |
| commit | b87c0fc4403040185b625d1b21bbff0cb7c828d7 (patch) | |
| tree | 087f87f514d5b0af5ec7b0b73b875fe4086e926e /src/serialize.h | |
| parent | BIP 0031: pong message (diff) | |
| download | discoin-b87c0fc4403040185b625d1b21bbff0cb7c828d7.tar.xz discoin-b87c0fc4403040185b625d1b21bbff0cb7c828d7.zip | |
version.h: separate client, net sections. Move more constants to this file.
* move PROTOCOL_VERSION to version.h
* move CLIENT_VERSION* to version.h, make available past cpp stage
* clearly separate client, network version portions of version.h
Diffstat (limited to 'src/serialize.h')
| -rw-r--r-- | src/serialize.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/serialize.h b/src/serialize.h index 2d4aaba6a..d34f3e557 100644 --- a/src/serialize.h +++ b/src/serialize.h @@ -20,6 +20,7 @@ #include <boost/tuple/tuple_io.hpp> #include "allocators.h" +#include "version.h" typedef long long int64; typedef unsigned long long uint64; @@ -29,8 +30,6 @@ class CDataStream; class CAutoFile; static const unsigned int MAX_SIZE = 0x02000000; -static const int PROTOCOL_VERSION = 60000; - // Used to bypass the rule against non-const reference to temporary // where it makes sense with wrappers such as CFlatData or CTxDB template<typename T> |