mirror of
https://github.com/monero-project/monero.git
synced 2024-12-23 03:59:33 +00:00
2525200185
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. |
||
---|---|---|
.. | ||
binary_archive.h | ||
binary_utils.h | ||
CMakeLists.txt | ||
container.h | ||
containers.h | ||
crypto.h | ||
debug_archive.h | ||
difficulty_type.h | ||
json_archive.h | ||
json_object.cpp | ||
json_object.h | ||
pair.h | ||
serialization.h | ||
string.h | ||
tuple.h | ||
variant.h |