aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge pull request #8228luigi11112022-04-061-64/+71
|\ \ | | | | | | | | | 1ce9e9c Remove dead code from parserse_base_utils and fix unit tests (Jeffrey)
| * | Remove dead code from parserse_base_utils and fix unit testsJeffrey2022-03-301-64/+71
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove `match_string()`, `match_number()`, and `match_word()` * Remove `match_word_with_extrasymb()` and `match_word_til_equal_mark()` * Adapt unit test for `match_number()` to `match_number2()` * Adapt unit test for `match_string()` to `match_string2()` Note: the unit tests were testing for the old version of the functions, and the interfaces for these functions changed slightly, so I had to also edit the tests. As of writing, this PR has no merge conflicts with #8211 Additional changes during review: * Explicitly set up is_[float/signed]_val to be changed before each call * Structify the tests and fix uninitialized variables
* | Merge pull request #8197luigi11112022-04-0673-73/+94
|\ \ | | | | | | | | | da9aa1f Copyright: Update to 2022 (mj-xmr)
| * | Copyright: Update to 2022mj-xmr2022-03-0473-73/+94
| |/
* | plug bulletproofs plus into consensusmoneromooo-monero2022-04-051-1/+1
| |
* | Bulletproofs+Sarang Noether2022-04-042-0/+170
|/
* Merge pull request #7877luigi11112022-03-021-31/+201
|\ | | | | | | e08abaa multisig key exchange update and refactor (koe)
| * multisig key exchange update and refactorkoe2022-02-221-31/+201
| |
* | tx_pool: full tx revalidation on fork boundariesmoneromooo-monero2021-11-011-5/+10
| | | | | | | | | | | | avoids mining txes after a fork that are invalid by this fork's rules, but were valid by the previous fork rules at the time they were verified and added to the txpool.
* | Merge pull request #7874luigi11112021-10-112-36/+337
|\ \ | |/ |/| | | | | 9154883 node_server: fix race condition (anon) 8922f96 node_server: add race condition demo (anon)
| * node_server: fix race conditionanon2021-09-201-36/+77
| |
| * node_server: add race condition demoanon2021-09-201-0/+260
| |
* | Merge pull request #7923luigi11112021-09-231-2/+4
|\ \ | | | | | | | | | 5eaedb5 unit_tests: fix use after free in serialization test (moneromooo-monero)
| * | unit_tests: fix use after free in serialization testmoneromooo-monero2021-09-081-2/+4
| |/
* | Mac: UT node server fix IP localhost by aliasingmj-xmr2021-09-121-0/+3
| |
* | Merge pull request #7828luigi11112021-09-091-0/+7
|\ \ | |/ |/| | | b2c59af EasyLogging++: new anti-UB test and propagating exception (mj-xmr)
| * EasyLogging++: new anti-UB test and propagating exceptionmj-xmr2021-08-031-0/+7
| |
* | Merge pull request #7818luigi11112021-08-112-8/+8
|\ \ | | | | | | | | | 9c8e3e8 unit_tests: fix broken tests (anon)
| * | unit_tests: fix broken testsanon2021-07-282-8/+8
| |/ | | | | | | | | boosted_tcp_server: check condition before sleep too cryptonote_protocol_handler: each instance of BlockchainLMDB requires separate thread due to private thread local fields
* | Merge pull request #7809luigi11112021-08-111-0/+1
|\ \ | |/ |/| | | 7354ffb p2p: remove blocked addresses/hosts from peerlist (moneromooo-monero)
| * p2p: remove blocked addresses/hosts from peerlistmoneromooo-monero2021-08-051-0/+1
| |
* | EasyLogging++: Add UTests, that protect against regressionsmj-xmr2021-07-061-0/+13
|/
* unit_tests: check for ge_frombytes_vartime failuremoneromooo-monero2021-06-112-4/+4
| | | | CID 1446559
* Merge pull request #7661luigi11112021-06-102-7/+75
|\ | | | | | | 08e4497 Improve cryptonote (block and tx) binary read performance (Lee Clagett)
| * Improve cryptonote (block and tx) binary read performanceLee Clagett2021-01-232-7/+75
| |
* | Merge pull request #7690luigi11112021-05-121-1/+2
|\ \ | | | | | | | | | 3cc4428 clang: fix -Wpessimizing-move warning (selsta)
| * | clang: fix -Wpessimizing-move warningselsta2021-04-281-1/+2
| |/
* / clang: fix -Wrange-loop-analysis warningsselsta2021-04-271-1/+1
|/
* Merge pull request #7669luigi11112021-04-224-40/+124
|\ | | | | | | 679d055 Remove payload copy in all outgoing p2p messages (Lee Clagett)
| * Remove payload copy in all outgoing p2p messagesLee Clagett2021-01-194-40/+124
| |
* | Split epee/string_tools.h and encapsulate boost::lexical_castmj-xmr2021-04-161-0/+1
|/
* Revert "Merge pull request #7136"luigi11112021-04-163-118/+24
| | | | | This reverts commit 63c7ca07fba2f063c760f786a986fb3e02fb040e, reversing changes made to 2218e23e84a89e9a1e4c0be5d50f891ab836754f.
* Merge pull request #7653luigi11112021-04-161-1/+1
|\ | | | | | | 73d3b00 unit_tests: fix boost 1.58 compatibility (anon)
| * unit_tests: fix boost 1.58 compatibilityanon2021-04-081-1/+1
| |
* | Merge pull request #7136luigi11112021-04-163-24/+118
|\ \ | |/ |/| | | 23aae55 Remove payload copy in all outgoing p2p messages (Lee Clagett)
| * Remove payload copy in all outgoing p2p messagesLee Clagett2021-01-163-24/+118
| |
* | Merge pull request #7646luigi11112021-04-061-0/+12
|\ \ | | | | | | | | | 176cea0 Tests: Fix test node_server.bind_same_p2p_port from randomly crashing (mj-xmr)
| * | Tests: Fix test node_server.bind_same_p2p_port from randomly crashingmj-xmr2021-04-051-0/+12
| | |
* | | Merge pull request #7639luigi11112021-04-061-1/+4
|\ \ \ | |/ / |/| | | | | 53683d7 Warnings: fix ut/levin.cpp missing braces (mj-xmr)
| * | Warnings: fix ut/levin.cpp missing bracesmj-xmr2021-03-271-1/+4
| | |
* | | Merge pull request #7620luigi11112021-03-291-0/+592
|\ \ \ | | | | | | | | | | | | | | | | fe63256 cryptonote_protocol_handler: fix race condition (anon) ded2f3a cryptonote_protocol_handler: add race condition demo (anon)
| * | | cryptonote_protocol_handler: add race condition demoanon2021-03-221-0/+592
| |/ /
* | | Merge pull request #7460luigi11112021-03-291-0/+110
|\ \ \ | |/ / |/| | | | | | | | 2935a0c async_protocol_handler_config: fix deadlock (anon) c877705 async_protocol_handler_config: add deadlock demo (anon)
| * | async_protocol_handler_config: add deadlock demoanon2021-03-121-0/+110
| |/
* | Merge pull request #7005luigi11112021-03-201-1/+3
|\ \ | | | | | | | | | 249eae5 Allow byte_stream->byte_slice conversion to shrink unused buffer space (Lee Clagett)
| * | Allow byte_stream->byte_slice conversion to shrink unused buffer spaceLee Clagett2020-10-131-1/+3
| | |
* | | Merge pull request #6810luigi11112021-03-201-0/+213
|\ \ \ | |_|/ |/| | | | | 19b2283 New add_aux_pow RPC to support merge mining (moneromooo-monero)
| * | New add_aux_pow RPC to support merge miningmoneromooo-monero2021-02-091-0/+213
| | |
* | | async_protocol_handler_config: add segfault demoanon2021-02-191-2/+73
| | |
* | | Merge pull request #7355luigi11112021-02-181-8/+8
|\ \ \ | | | | | | | | | | | | | | | | bd12984 Remove copies from foreach loops (thanks to Clang) (Lee Clagett) 1572df9 Removing unused namespace alias (Lee Clagett)