monero/src/serialization
jeffro256 2525200185
serialization: remove container wrappers and serialize directly
Some downstream code (most notably PR https://github.com/UkoeHB/monero/pull/25) wants to use the src/serialization lib
for storing information persistently. When one builds classes/machines wishing to serialize containers, they must use
the `serializable_*` container classes. In this case, this makes the Seraphis library code unnecessarily tightly coupled
with the src/serialization code since one cannot swap out their type of storage format without major refactoring of class
field types. By serializing STL containers directly, we can abstract the serialization details away, making for much
cleaner design. Also small bonus side effect of this change is that STL containers with custom Comparators, Allocators,
and Hashers are serializable. `std::multimap` is added to the list of serializable containers.

Depends upon https://github.com/monero-project/monero/pull/9069.
2023-11-28 14:06:24 -06:00
..
binary_archive.h Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
binary_utils.h Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
CMakeLists.txt Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
container.h serialization: remove container wrappers and serialize directly 2023-11-28 14:06:24 -06:00
containers.h serialization: remove container wrappers and serialize directly 2023-11-28 14:06:24 -06:00
crypto.h Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
debug_archive.h serialization: fix infinite loops and clean up dispatching 2023-11-18 03:47:55 -06:00
difficulty_type.h serialization: fix infinite loops and clean up dispatching 2023-11-18 03:47:55 -06:00
json_archive.h Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
json_object.cpp Add CLSAG serialization to ZMQ code 2023-06-10 11:55:48 -04:00
json_object.h Add CLSAG serialization to ZMQ code 2023-06-10 11:55:48 -04:00
pair.h serialization: fix infinite loops and clean up dispatching 2023-11-18 03:47:55 -06:00
serialization.h serialization: fix infinite loops and clean up dispatching 2023-11-18 03:47:55 -06:00
string.h Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
tuple.h serialization: fix infinite loops and clean up dispatching 2023-11-18 03:47:55 -06:00
variant.h serialization: fix infinite loops and clean up dispatching 2023-11-18 03:47:55 -06:00