monero/tests/unit_tests
moneromooo-monero 7175dcb107
replace most boost serialization with existing monero serialization
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-08-17 16:23:58 +00:00
..
account.cpp Use domain-separated ChaCha20 for in-memory key encryption 2020-08-09 19:11:54 -04:00
address_from_url.cpp Update copyright year to 2020 2020-05-06 22:36:54 -04:00
aligned.cpp unit_tests: add unit test for alloc alignment being a power of 2 2018-10-08 11:36:42 +00:00
apply_permutation.cpp Update copyright year to 2020 2020-05-06 22:36:54 -04:00
base58.cpp Update copyright year to 2020 2020-05-06 22:36:54 -04:00
block_queue.cpp Update copyright year to 2020 2020-05-06 22:36:54 -04:00
block_reward.cpp Update copyright year to 2020 2020-05-06 22:36:54 -04:00
blockchain_db.cpp Update copyright year to 2020 2020-05-06 22:36:54 -04:00
bootstrap_node_selector.cpp daemon: auto public nodes - cache and prioritize most stable nodes 2020-02-28 08:06:43 +00:00
bulletproofs.cpp Update copyright year to 2020 2020-05-06 22:36:54 -04:00
canonical_amounts.cpp Update copyright year to 2020 2020-05-06 22:36:54 -04:00
chacha.cpp Update copyright year to 2020 2020-05-06 22:36:54 -04:00
checkpoints.cpp Update copyright year to 2020 2020-05-06 22:36:54 -04:00
CMakeLists.txt Merge pull request #6329 2020-08-16 12:37:43 -07:00
command_line.cpp Update copyright year to 2020 2020-05-06 22:36:54 -04:00
crypto.cpp Update copyright year to 2020 2020-05-06 22:36:54 -04:00
decompose_amount_into_digits.cpp Update copyright year to 2020 2020-05-06 22:36:54 -04:00
device.cpp ringct: remove unused senderPk from ecdhTuple 2019-01-22 23:17:42 +00:00
difficulty.cpp Update copyright year to 2020 2020-05-06 22:36:54 -04:00
dns_resolver.cpp Update copyright year to 2020 2020-05-06 22:36:54 -04:00
epee_boosted_tcp_server.cpp Update copyright year to 2020 2020-05-06 22:36:54 -04:00
epee_levin_protocol_handler_async.cpp Update copyright year to 2020 2020-05-06 22:36:54 -04:00
epee_utils.cpp Merge pull request #6559 2020-07-08 17:07:50 -05:00
expect.cpp Adding expect<T> - a value-or-error implementation 2018-09-12 22:44:34 +00:00
fee.cpp Update copyright year to 2020 2020-05-06 22:36:54 -04:00
get_xtype_from_string.cpp Update copyright year to 2020 2020-05-06 22:36:54 -04:00
hardfork.cpp Update copyright year to 2020 2020-05-06 22:36:54 -04:00
hashchain.cpp Update copyright year to 2020 2020-05-06 22:36:54 -04:00
hmac_keccak.cpp unit_tests: fix missing test names 2020-02-18 23:56:21 +00:00
http.cpp Update copyright year to 2020 2020-05-06 22:36:54 -04:00
is_hdd.cpp Merge pull request #4424 2018-09-29 22:19:44 +02:00
json_serialization.cpp Merge pull request #6603 2020-08-16 12:43:38 -07:00
json_serialization.h Adding ZMQ/Pub support for txpool_add and chain_main events 2020-05-04 02:06:35 +00:00
keccak.cpp unit_tests: fix missing test names 2020-02-18 23:56:21 +00:00
levin.cpp Merge pull request #6354 2020-08-09 06:42:49 -07:00
lmdb.cpp Adding classes, functions, and utilities for common LMDB operations. 2019-03-19 17:52:26 +00:00
logging.cpp Update copyright year to 2020 2020-05-06 22:36:54 -04:00
long_term_block_weight.cpp Update copyright year to 2020 2020-05-06 22:36:54 -04:00
main.cpp Update copyright year to 2020 2020-05-06 22:36:54 -04:00
memwipe.cpp Update copyright year to 2020 2020-05-06 22:36:54 -04:00
mlocker.cpp Merge pull request #4459 2018-09-29 22:20:38 +02:00
mnemonics.cpp Merge pull request #6516 2020-07-19 03:34:28 -07:00
mul_div.cpp Update copyright year to 2020 2020-05-06 22:36:54 -04:00
multiexp.cpp unit tests: replace global var with lambda returning static local var 2019-09-09 11:44:06 +09:00
multisig.cpp wallet2_api: implement runtime proxy configuration 2020-07-20 13:45:12 +00:00
net.cpp Use byte_slice for sending zmq messages - removes data copy within zmq 2020-04-03 01:56:17 +00:00
node_server.cpp Update copyright year to 2020 2020-05-06 22:36:54 -04:00
notify.cpp unit_tests: remove leftover debug print 2019-02-01 19:14:55 +00:00
output_distribution.cpp unit_tests: Fix uninitialized values 2019-08-27 09:17:34 +02:00
output_selection.cpp Update copyright year to 2020 2020-05-06 22:36:54 -04:00
parse_amount.cpp Update copyright year to 2020 2020-05-06 22:36:54 -04:00
pruning.cpp Pruning 2019-01-22 20:30:51 +00:00
random.cpp crypto: remove slight bias in key generation due to modulo 2018-07-05 09:18:01 +01:00
ringct.cpp Update copyright year to 2020 2020-05-06 22:36:54 -04:00
ringdb.cpp unit_tests: fix ringdb unit tests 2019-10-04 21:11:46 +00:00
rolling_median.cpp Fix overflow issue in epee:misc_utils::rolling_median_t and median(), with unit test 2020-07-23 03:36:05 -05:00
rpc_version_str.cpp Update copyright year to 2020 2020-05-06 22:36:54 -04:00
serialization.cpp replace most boost serialization with existing monero serialization 2020-08-17 16:23:58 +00:00
sha256.cpp Update copyright year to 2020 2020-05-06 22:36:54 -04:00
slow_memmem.cpp Update copyright year to 2020 2020-05-06 22:36:54 -04:00
subaddress.cpp Update copyright year to 2020 2020-05-06 22:36:54 -04:00
test_notifier.cpp unit_tests: add a notifier test 2018-10-01 09:14:20 +00:00
test_peerlist.cpp Update copyright year to 2020 2020-05-06 22:36:54 -04:00
test_protocol_pack.cpp Update copyright year to 2020 2020-05-06 22:36:54 -04:00
test_tx_utils.cpp Update copyright year to 2020 2020-05-06 22:36:54 -04:00
threadpool.cpp threadpool: allow leaf functions to run concurrently 2018-06-26 22:15:22 +01:00
tx_proof.cpp Updates InProofV1, OutProofV1, and ReserveProofV1 to new V2 variants that include all public proof parameters in Schnorr challenges, along with hash function domain separators. Includes new randomized unit tests. 2020-08-09 18:42:15 -04:00
unbound.cpp Update copyright year to 2020 2020-05-06 22:36:54 -04:00
unit_tests_utils.h Update copyright year to 2020 2020-05-06 22:36:54 -04:00
uri.cpp Update copyright year to 2020 2020-05-06 22:36:54 -04:00
varint.cpp replace most boost serialization with existing monero serialization 2020-08-17 16:23:58 +00:00
vercmp.cpp Update copyright year to 2020 2020-05-06 22:36:54 -04:00
wipeable_string.cpp wipeable_string: split - treat CR, LF and Tabs as separators 2020-02-12 21:16:07 +00:00
zmq_rpc.cpp Fix pruned tx for ZMQ's GetBlocksFast 2020-08-14 19:46:33 +00:00