diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2011-12-19 07:25:16 -0800 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2011-12-19 07:25:16 -0800 |
commit | 1f3bc1c2399fb53eb1b2222194332aca07a31a36 (patch) | |
tree | e7afd7d6d4b892af685985f75d5b3d7b5c2330be /src/bignum.h | |
parent | cd2b8832fdb087e740e8d6da69c75f46d69b52d2 (diff) | |
parent | f8ded588a2f78ac2767a60c716a7d15c273b4fc7 (diff) |
Merge pull request #707 from gavinandresen/BIP14
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 1a2406b935..f5d545f07e 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); |