oxen-core/tests/core_tests
Jason Rhinelander e7d056edf1 boost::variant -> std::variant
A huge amount of this is repetitive:

- `boost::get<T>(variant)` becomes `std::get<T>(variant)`
- `boost::get<T>(variant_ptr)` becomes `std::get_if<T>(variant_ptr)`
- `variant.type() == typeid(T)` becomes `std::holds_alternative<T>(variant)`

There are also some simplifications to visitors using simpler stl
visitors, or (simpler still) generic lambdas as visitors.

Also adds boost serialization serializers for std::variant and
std::optional.
2020-07-02 12:52:12 -03:00
..
block_reward.cpp boost::variant -> std::variant 2020-07-02 12:52:12 -03:00
block_reward.h Clean up core tests (#830) 2019-09-11 16:04:58 +10:00
block_validation.cpp boost::variant -> std::variant 2020-07-02 12:52:12 -03:00
block_validation.h core_tests: gen_block_invalid_binary_format = working 2019-12-04 15:17:55 +11:00
bulletproofs.cpp Fix core_tests for upstream merge 2020-06-02 12:09:22 +10:00
bulletproofs.h core_tests: gen_bp* change to always test against the latest HF 2019-12-04 15:17:55 +11:00
chain_split_1.cpp boost::variant -> std::variant 2020-07-02 12:52:12 -03:00
chain_split_1.h Update 2019 copyright 2019-03-05 22:05:34 +01:00
chain_switch_1.cpp boost::variant -> std::variant 2020-07-02 12:52:12 -03:00
chain_switch_1.h Update 2019 copyright 2019-03-05 22:05:34 +01:00
chaingen.cpp boost::variant -> std::variant 2020-07-02 12:52:12 -03:00
chaingen.h boost::variant -> std::variant 2020-07-02 12:52:12 -03:00
chaingen001.cpp boost::variant -> std::variant 2020-07-02 12:52:12 -03:00
chaingen_main.cpp Replace boost::regex with std::regex 2020-07-02 12:52:12 -03:00
chaingen_tests_list.h Clean up core tests (#830) 2019-09-11 16:04:58 +10:00
CMakeLists.txt cmake modernization 2020-03-06 00:36:57 -04:00
double_spend.cpp boost::optional -> std::optional 2020-07-02 12:52:12 -03:00
double_spend.h core_tests: gen_double-spend_in_alt_chain* = work 2019-12-04 15:17:55 +11:00
double_spend.inl boost::variant -> std::variant 2020-07-02 12:52:12 -03:00
integer_overflow.cpp boost::variant -> std::variant 2020-07-02 12:52:12 -03:00
integer_overflow.h Fix the overflow test for fee and block_reward in blocks (#869) 2019-10-04 15:01:03 +10:00
loki_tests.cpp boost::variant -> std::variant 2020-07-02 12:52:12 -03:00
loki_tests.h Merge pull request #1051 from Doy-lee/LokiNameServiceGranularUpdateTX 2020-03-11 22:59:45 +11:00
multisig.cpp boost::variant -> std::variant 2020-07-02 12:52:12 -03:00
multisig.h Merge commit '45a4145' into LokiMergeUpstream 2019-05-01 18:11:56 +10:00
rct.cpp boost::variant -> std::variant 2020-07-02 12:52:12 -03:00
rct.h Loki: Fix tests and bugs introduced in merging 2020-05-22 16:32:42 +10:00
ring_signature_1.cpp boost::variant -> std::variant 2020-07-02 12:52:12 -03:00
ring_signature_1.h Update 2019 copyright 2019-03-05 22:05:34 +01:00
transaction_tests.cpp boost::variant -> std::variant 2020-07-02 12:52:12 -03:00
transaction_tests.h Update 2019 copyright 2019-03-05 22:05:34 +01:00
tx_validation.cpp boost::variant -> std::variant 2020-07-02 12:52:12 -03:00
tx_validation.h Update 2019 copyright 2019-03-05 22:05:34 +01:00
v2_tests.cpp boost::variant -> std::variant 2020-07-02 12:52:12 -03:00
v2_tests.h Merge commit '55305559c1ce10ec5d5d5a1c5d31e5056b8a9dd6' into LokiMergeUpstream 2019-04-09 18:57:11 +10:00
wallet_tools.cpp boost::variant -> std::variant 2020-07-02 12:52:12 -03:00
wallet_tools.h boost::optional -> std::optional 2020-07-02 12:52:12 -03:00