mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-04 10:07:27 -05:00
818dc74ba2
This adds a READWRITEAS(type, obj) macro which serializes obj as if it were casted to (const type&) when const, and to (type&) when non-const. This makes it usable in serialization code that uses a single implementation for both serialization and deserializing, which doesn't know the constness of the object involved. |
||
---|---|---|
.. | ||
bitcoinconsensus.cpp | ||
bitcoinconsensus.h | ||
interpreter.cpp | ||
interpreter.h | ||
ismine.cpp | ||
ismine.h | ||
script.cpp | ||
script.h | ||
script_error.cpp | ||
script_error.h | ||
sigcache.cpp | ||
sigcache.h | ||
sign.cpp | ||
sign.h | ||
standard.cpp | ||
standard.h |