aboutsummaryrefslogtreecommitdiff
path: root/src/serialization/serialization.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2020-08-17replace most boost serialization with existing monero serializationmoneromooo-monero1-0/+22
This reduces the attack surface for data that can come from malicious sources (exported output and key images, multisig transactions...) since the monero serialization is already exposed to the outside, and the boost lib we were using had a few known crashers. For interoperability, a new load-deprecated-formats wallet setting is added (off by default). This allows loading boost format data if there is no alternative. It will likely go at some point, along with the ability to load those. Notably, the peer lists file still uses the boost serialization code, as the data it stores is define in epee, while the new serialization code is in monero, and migrating it was fairly hairy. Since this file is local and not obtained from anyone else, the marginal risk is minimal, but it could be migrated later if needed. Some tests and tools also do, this will stay as is for now.
2020-05-06Update copyright year to 2020SomaticFanatic1-1/+1
Update copyright year to 2020
2019-06-14serialization: check stream good flag at the endmoneromooo-monero1-1/+1
just in case
2019-03-05Update 2019 copyrightbinaryFate1-1/+1
2018-10-08tx_pool: avoid parsing a whole tx if only the prefix is neededmoneromooo-monero1-6/+17
2018-01-26Update 2018 copyrightxmr-eric1-1/+1
2017-12-22factor STL container serializationmoneromooo-monero1-10/+6
2017-11-24serialization: add std::set and std::unordered_set serializationmoneromooo-monero1-0/+3
2017-09-25serialization: add deque serializationmoneromooo-monero1-0/+17
2017-02-21update copyright year, fix occasional lack of newline at line endRiccardo Spagni1-1/+1
2016-09-26serialization: add support for serializing std::pair and std::listmoneromooo-monero1-4/+23
2016-08-28serialization: add override for serializing boolmoneromooo-monero1-0/+6
2016-01-25even more typosHenning Kopp1-2/+2
2016-01-25more typos fixedHenning Kopp1-2/+2
2016-01-25fixed typoHenning Kopp1-1/+1
2015-12-31updated copyright yearRiccardo Spagni1-1/+1
2015-01-02year updated in licenseRiccardo Spagni1-1/+1
2014-10-15fixed errant >Riccardo Spagni1-1/+1
2014-10-13Commented most of src/serialization/ going to read up more on variant's and ↵jebes1-62/+205
finish off the job/add last touchs next
2014-07-23License updated to BSD 3-clausefluffypony1-3/+29
2014-05-250.8.8updatemydesktop1-1/+5
2014-05-13Update serialization.hNoodleDoodleNoodleDoodleNoodleDoodleNoo1-1/+6
1. Added VARINT_FIELD_N(t,f) macro required for tx_extra_merge_mining_tag serialization.
2014-05-03initial [broken] updatemydesktop1-1/+1
2014-03-03moved all stuff to githubAntonio Juarez1-0/+146