From 4eb5643e3538863c9d2ff261f49a9a1b248de243 Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Wed, 11 Mar 2020 09:35:50 -0700 Subject: Convert everything except wallet/qt to new serialization --- src/bloom.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/bloom.h') diff --git a/src/bloom.h b/src/bloom.h index 68e76a0258..f5221b5329 100644 --- a/src/bloom.h +++ b/src/bloom.h @@ -66,15 +66,7 @@ public: CBloomFilter(const unsigned int nElements, const double nFPRate, const unsigned int nTweak, unsigned char nFlagsIn); CBloomFilter() : isFull(true), isEmpty(false), nHashFuncs(0), nTweak(0), nFlags(0) {} - ADD_SERIALIZE_METHODS; - - template - inline void SerializationOp(Stream& s, Operation ser_action) { - READWRITE(vData); - READWRITE(nHashFuncs); - READWRITE(nTweak); - READWRITE(nFlags); - } + SERIALIZE_METHODS(CBloomFilter, obj) { READWRITE(obj.vData, obj.nHashFuncs, obj.nTweak, obj.nFlags); } void insert(const std::vector& vKey); void insert(const COutPoint& outpoint); -- cgit v1.2.3