aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_utilities/blockchain_stats.cpp
diff options
context:
space:
mode:
authorjeffro256 <jeffro256@tutanota.com>2023-11-27 19:28:08 -0600
committerjeffro256 <jeffro256@tutanota.com>2023-11-28 14:06:24 -0600
commit2525200185e6b470c6e6cec3c3c8044a0eb0ecc0 (patch)
treea2548c11d8729e6e128ff5d1f2b6057bce4f2c1b /src/blockchain_utilities/blockchain_stats.cpp
parentserialization: fix infinite loops and clean up dispatching (diff)
downloadmonero-2525200185e6b470c6e6cec3c3c8044a0eb0ecc0.tar.xz
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.
Diffstat (limited to 'src/blockchain_utilities/blockchain_stats.cpp')
0 files changed, 0 insertions, 0 deletions