summaryrefslogtreecommitdiff
path: root/tests/unit_tests
Commit message (Collapse)AuthorAgeFilesLines
* Switch to Dandelion++ fluff mode if no out connections for stem modeLee Clagett2020-10-061-0/+109
|
* Dandelion++: skip desynced peers in stem phasexiphon2020-10-121-34/+41
|
* Merge pull request #6757luigi11112020-09-031-20/+20
|\ | | | | | | 6a37da8 threadpool: guard against exceptions in jobs, and armour plating (moneromooo-monero)
| * threadpool: guard against exceptions in jobs, and armour platingmoneromooo-monero2020-09-011-20/+20
| | | | | | | | | | Those would, if uncaught, exit run and leave the waiter to wait indefinitely for the number of active jobs to reach 0
* | Merge pull request #6769Alexander Blair2020-08-271-0/+41
|\ \ | | | | | | | | | b641e0a2c Add clear method to byte_stream (Lee Clagett)
| * | Add clear method to byte_streamLee Clagett2020-08-171-0/+41
| | |
* | | CLSAG optimizationsSarang Noether2020-08-271-83/+81
| | |
* | | Integrate CLSAGs into moneromoneromooo-monero2020-08-272-1/+185
| | | | | | | | | | | | They are allowed from v12, and MLSAGs are rejected from v13.
* | | unit_tests: add ge_triple_scalarmult_base_vartime testmoneromooo-monero2020-08-271-0/+62
| | |
* | | Merge pull request #6690Alexander Blair2020-08-272-2/+2
|\ \ \ | |/ / |/| | | | | 7175dcb10 replace most boost serialization with existing monero serialization (moneromooo-monero)
| * | replace most boost serialization with existing monero serializationmoneromooo-monero2020-08-172-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Revert "Use domain-separated ChaCha20 for in-memory key encryption"luigi11112020-08-172-74/+0
|/ / | | | | | | This reverts commit 921dd8dde5d381052d0aa2936304a3541a230c55.
* | Merge pull request #6718Alexander Blair2020-08-161-0/+11
|\ \ | | | | | | | | | 85efc88c1 Fix overflow issue in epee:misc_utils::rolling_median_t and median(), with unit test (koe)
| * | Fix overflow issue in epee:misc_utils::rolling_median_t and median(), with ↵koe2020-07-231-0/+11
| |/ | | | | | | unit test
* | Merge pull request #6716Alexander Blair2020-08-161-1/+1
|\ \ | | | | | | | | | 76c16822d wallet2_api: implement runtime proxy configuration (xiphon)
| * | wallet2_api: implement runtime proxy configurationxiphon2020-07-201-1/+1
| |/
* | Merge pull request #6603Alexander Blair2020-08-161-1/+16
|\ \ | | | | | | | | | 4e2377995 Change ZMQ-JSON txextra to hex and remove unnecessary base fields (Lee Clagett)
| * | Change ZMQ-JSON txextra to hex and remove unnecessary base fieldsLee Clagett2020-08-141-1/+16
| | |
* | | Merge pull request #6601Alexander Blair2020-08-161-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | 98c151ecb Optimize ZMQ-JSON vector reading; GetBlocksFast reads 24%+ faster (Lee Clagett) 60627c9f2 Switch to insitu parsing for ZMQ-JSON; GetBlocksFast reads 13%+ faster (Lee Clagett) fe96e66eb Fix pruned tx for ZMQ's GetBlocksFast (Lee Clagett)
| * | | Fix pruned tx for ZMQ's GetBlocksFastLee Clagett2020-08-141-1/+1
| | | |
* | | | Merge pull request #6493Alexander Blair2020-08-162-0/+74
|\ \ \ \ | | | | | | | | | | | | | | | 921dd8dde Use domain-separated ChaCha20 for in-memory key encryption (Sarang Noether)
| * | | | Use domain-separated ChaCha20 for in-memory key encryptionSarang Noether2020-08-092-0/+74
| | |_|/ | |/| |
* | | | Merge pull request #6329Alexander Blair2020-08-162-0/+131
|\ \ \ \ | |_|/ / |/| | | | | | | 6bfcd3101 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. (Sarang Noether)
| * | | Updates InProofV1, OutProofV1, and ReserveProofV1 to new V2 variants that ↵Sarang Noether2020-08-092-0/+131
| |/ / | | | | | | | | | include all public proof parameters in Schnorr challenges, along with hash function domain separators. Includes new randomized unit tests.
* | | Merge pull request #6354Alexander Blair2020-08-091-8/+246
|\ \ \ | | | | | | | | | | | | 67ade8005 Add randomized delay when forwarding txes from i2p/tor -> ipv4/6 (Lee Clagett)
| * | | Add randomized delay when forwarding txes from i2p/tor -> ipv4/6Lee Clagett2020-05-151-8/+246
| | | |
* | | | Adding ZMQ/Pub support for txpool_add and chain_main eventsLee Clagett2020-05-044-8/+776
| |/ / |/| |
* | | Merge pull request #6516Alexander Blair2020-07-191-2/+0
|\ \ \ | | | | | | | | | | | | 8656a8c9f remove double includes (sumogr)
| * | | remove double includessumogr2020-05-111-2/+0
| | | |
* | | | Merge pull request #6512Alexander Blair2020-07-1950-50/+50
|\ \ \ \ | | | | | | | | | | | | | | | 5ef0607da Update copyright year to 2020 (SomaticFanatic)
| * | | | Update copyright year to 2020SomaticFanatic2020-05-0650-50/+50
| | |_|/ | |/| | | | | | | | | | Update copyright year to 2020
* | | | Merge pull request #6559luigi11112020-07-081-0/+23
|\ \ \ \ | | | | | | | | | | | | | | | 15538f7 ByteSlice: Fix persisting ptr to std::moved SSO buffer (Doy-lee)
| * | | | ByteSlice: Fix persisting ptr to std::moved SSO bufferDoyle2020-05-201-0/+23
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | The Bug: 1. Construct `byte_slice.portion_` with `epee::span(buffer)` which copies a pointer to the SSO buffer to `byte_slice.portion_` 2. It constructs `byte_slice.storage_` with `std::move(buffer)` (normally this swap pointers, but SSO means a memcpy and clear on the original SSO buffer) 3. `slice.data()` returns a pointer from `slice.portion_` that points to the original SSO cleared buffer, `slice.storage_` has the actual string.
* / / / Fixed bugs for take_slice and byte_stream->byte_sliceLee Clagett2020-05-121-0/+31
|/ / /
* | | Add byte_stream for zero-copy serialization, and add support in ZMQ-JSON.Lee Clagett2020-04-112-5/+259
| | |
* | | Merge pull request #6451luigi11112020-05-021-0/+8
|\ \ \ | | | | | | | | | | | | 4ed60b6 Bulletproofs: verification speedup (SarangNoether)
| * | | Bulletproofs: verification speedupSarang Noether2020-04-141-0/+8
| | | |
* | | | Merge pull request #6460luigi11112020-05-011-0/+4
|\ \ \ \ | | | | | | | | | | | | | | | f8b1480 unit_tests: fix gcc+ warning (sumogr)
| * | | | unit_tests: fix gcc+ warningSumo Gr2020-04-181-0/+4
| | |/ / | |/| |
* | | | Use byte_slice for sending zmq messages - removes data copy within zmqLee Clagett2020-04-031-0/+39
| |_|/ |/| |
* | | Merge pull request #6359luigi11112020-04-211-0/+3
|\ \ \ | |/ / |/| | | | | f9441c5 Fixed string_ref usage bug in epee::from_hex::vector (vtnerd)
| * | Fixed string_ref usage bug in epee::from_hex::vectorLee Clagett2020-03-301-0/+3
| |/
* / Adding Dandelion++ support to public networks:Lee Clagett2020-03-261-27/+1074
|/ | | | | | - New flag in NOTIFY_NEW_TRANSACTION to indicate stem mode - Stem loops detected in tx_pool.cpp - Embargo timeout for a blackhole attack during stem phase
* Merge pull request #6381luigi11112020-04-041-8/+12
|\ | | | | | | e719760 Fix receive order leakage with tx fluffing (vtnerd)
| * Fix receive order leakage with tx fluffingLee Clagett2020-03-101-8/+12
| |
* | Merge pull request #6361luigi11112020-04-042-1/+58
|\ \ | | | | | | | | | 68a6507 Fixed bug in ZMQ JSON-RPC method field (vtnerd)
| * | Fixed bug in ZMQ JSON-RPC method fieldLee Clagett2019-11-182-1/+58
| | |
* | | Merge pull request #6357luigi11112020-04-042-0/+173
|\ \ \ | | | | | | | | | | | | 42a7a4d daemon: auto public nodes - cache and prioritize most stable nodes (xiphon)
| * | | daemon: auto public nodes - cache and prioritize most stable nodesxiphon2020-02-282-0/+173
| |/ /
* | | Merge pull request #6351luigi11112020-04-041-3/+43
|\ \ \ | | | | | | | | | | | | | | | | | | | | 81c5943 Remove temporary std::string creation in some hex->bin calls (vtnerd) 5fcc23a Move hex->bin conversion to monero copyright files and with less includes (vtnerd) 3387f0e Reduce template bloat in hex->bin for ZMQ json (vtnerd)