diff options
| author | Gavin Andresen <[email protected]> | 2011-12-16 16:26:14 -0500 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2011-12-19 10:24:23 -0500 |
| commit | f8ded588a2f78ac2767a60c716a7d15c273b4fc7 (patch) | |
| tree | f8bb01303f5feb0bf04a8fb01ada04b58304a207 /src/bignum.h | |
| parent | Bump version 0.5.99 (prep for pulling for version 0.6) (diff) | |
| download | discoin-f8ded588a2f78ac2767a60c716a7d15c273b4fc7.tar.xz discoin-f8ded588a2f78ac2767a60c716a7d15c273b4fc7.zip | |
Implement BIP 14 : separate protocol version from client version
Diffstat (limited to 'src/bignum.h')
| -rw-r--r-- | src/bignum.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bignum.h b/src/bignum.h index 1a2406b93..f5d545f07 100644 --- a/src/bignum.h +++ b/src/bignum.h @@ -338,19 +338,19 @@ public: return ToString(16); } - unsigned int GetSerializeSize(int nType=0, int nVersion=VERSION) const + unsigned int GetSerializeSize(int nType=0, int nVersion=PROTOCOL_VERSION) const { return ::GetSerializeSize(getvch(), nType, nVersion); } template<typename Stream> - void Serialize(Stream& s, int nType=0, int nVersion=VERSION) const + void Serialize(Stream& s, int nType=0, int nVersion=PROTOCOL_VERSION) const { ::Serialize(s, getvch(), nType, nVersion); } template<typename Stream> - void Unserialize(Stream& s, int nType=0, int nVersion=VERSION) + void Unserialize(Stream& s, int nType=0, int nVersion=PROTOCOL_VERSION) { std::vector<unsigned char> vch; ::Unserialize(s, vch, nType, nVersion); |