aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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)
| * | | Move hex->bin conversion to monero copyright files and with less includesLee Clagett2020-03-091-3/+43
| | | |
* | | | Merge pull request #6346luigi11112020-04-042-5/+1
|\ \ \ \ | | | | | | | | | | | | | | | dbfa4f8 unit_tests: fix missing test names (xiphon)
| * | | | unit_tests: fix missing test namesxiphon2020-02-182-5/+1
| | |/ / | |/| |
* | | | Merge pull request #6339luigi11112020-04-042-2/+2
|\ \ \ \ | | | | | | | | | | | | | | | c61abf8 remove empty statements (shopglobal)
| * | | | remove empty statementsInterchained2020-02-172-2/+2
| |/ / / | | | | | | | | | | | | Cleaning up a little around the code base.
* | | | Merge pull request #6335luigi11112020-04-041-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | 0078ce7 wipeable_string: split - treat CR, LF and Tabs as separators (xiphon)
| * | | | wipeable_string: split - treat CR, LF and Tabs as separatorsxiphon2020-02-121-0/+1
| | | | |
* | | | | Merge pull request #6214luigi11112020-03-311-0/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | 054b4c7 protocol: request txpool contents when synced (moneromooo-monero)
| * | | | | protocol: request txpool contents when syncedmoneromooo-monero2020-03-221-0/+2
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | A newly synced Alice sends a (typically quite small) list of txids in the local tpxool to a random peer Bob, who then uses the existing tx relay system to send Alice any tx in his txpool which is not in the list Alice sent
* | | | | Fix network unit tests after epee changesLee Clagett2020-03-281-2/+2
| | | | |
* | | | | Merge pull request #6285Alexander Blair2020-03-271-22/+402
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | d0641b42 net: fix incorrect less operator for top/i2p addresses (Aaron Hook)
| * | | | | net: fix incorrect less operator for top/i2p addressesAaron Hook2020-01-181-22/+402
| | |/ / / | |/| | |
* | | | | p2p: remove old debug commandsAaron Hook2020-03-203-1/+2
| |/ / / |/| | |
* | | | Merge pull request #6273Alexander Blair2020-03-122-20/+38
|\ \ \ \ | |_|_|/ |/| | | | | | | 0f78b06e Various improvements to the ZMQ JSON-RPC handling: (Lee Clagett)
| * | | Various improvements to the ZMQ JSON-RPC handling:Lee Clagett2020-03-052-20/+38
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | - Finding handling function in ZMQ JSON-RPC now uses binary search - Temporary `std::vector`s in JSON output now use `epee::span` to prevent allocations. - Binary -> hex in JSON output no longer allocates temporary buffer - C++ structs -> JSON skips intermediate DOM creation, and instead write directly to an output stream.
* | | Merge pull request #6220Alexander Blair2020-02-281-3/+3
|\ \ \ | | | | | | | | | | | | a9bdc6e4 Improved performance for epee serialization: (Lee Clagett)