aboutsummaryrefslogtreecommitdiff
path: root/src/node
diff options
context:
space:
mode:
authorPieter Wuille <pieter@wuille.net>2020-03-11 09:35:50 -0700
committerPieter Wuille <pieter@wuille.net>2020-03-30 16:10:30 -0700
commit4eb5643e3538863c9d2ff261f49a9a1b248de243 (patch)
tree377437ffee20c67fa7e0611c31be6b2490a4483c /src/node
parent2b1f85e8c52c8bc5a17eae4c809eaf61d724af98 (diff)
Convert everything except wallet/qt to new serialization
Diffstat (limited to 'src/node')
-rw-r--r--src/node/utxo_snapshot.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/node/utxo_snapshot.h b/src/node/utxo_snapshot.h
index 702a0cbe53..c8b4d60fd0 100644
--- a/src/node/utxo_snapshot.h
+++ b/src/node/utxo_snapshot.h
@@ -35,16 +35,7 @@ public:
m_coins_count(coins_count),
m_nchaintx(nchaintx) { }
- ADD_SERIALIZE_METHODS;
-
- template <typename Stream, typename Operation>
- inline void SerializationOp(Stream& s, Operation ser_action)
- {
- READWRITE(m_base_blockhash);
- READWRITE(m_coins_count);
- READWRITE(m_nchaintx);
- }
-
+ SERIALIZE_METHODS(SnapshotMetadata, obj) { READWRITE(obj.m_base_blockhash, obj.m_coins_count, obj.m_nchaintx); }
};
#endif // BITCOIN_NODE_UTXO_SNAPSHOT_H