summaryrefslogtreecommitdiff
path: root/tests/unit_tests
Commit message (Collapse)AuthorAgeFilesLines
* 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)
| * | | Improved performance for epee serialization:Lee Clagett2019-11-041-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Removed copy of field names in binary deserialization - Removed copy of array values in binary deserialization - Removed copy of string values in json deserialization - Removed unhelpful allocation in json string value parsing - Removed copy of blob data on binary and json serialization
* | | | Merge pull request #6202Alexander Blair2020-02-281-9/+0
|\ \ \ \ | |_|_|/ |/| | | | | | | 02b80513 unit_tests: remove invalid bulletproofs unit test (moneromooo-monero)
| * | | unit_tests: remove invalid bulletproofs unit testmoneromooo-monero2019-12-011-9/+0
| |/ / | | | | | | | | | | | | | | | | | | It was intended to check a case which is actually valid (0 gamma), but was actually duplicating the bad amount test. Reported by WhatDo_ on IRC.
* | | wallet: do not split integrated addresses in address book apimoneromooo-monero2020-01-261-1/+0
| | |
* | | Change to Tx diffusion (Dandelion++ fluff) instead of floodingLee Clagett2019-11-041-14/+82
| |/ |/|
* | Merge pull request #6018luigi11112019-12-122-1/+51
|\ \ | | | | | | | | | | | | dce6f05 rpc: Only show version string if it matches expected pattern (ndorf) 3293780 daemon: Use rpc for 'version' command (ndorf)
| * | rpc: Only show version string if it matches expected patternNathan Dorfman2019-11-122-1/+51
| |/
* / Adding support for hidden (anonymity) txpoolLee Clagett2019-11-021-5/+6
|/
* unit_tests: fix use after freemoneromooo-monero2019-10-301-7/+16
|
* Merge pull request #5972luigi11112019-10-221-0/+37
|\ | | | | | | 9447e72 cryptonote: add function to get weight from a pruned tx (moneromooo-monero)
| * cryptonote: add function to get weight from a pruned txmoneromooo-monero2019-10-111-0/+37
| | | | | | | | | | The weight of the prunable data is deterministic from the unpruned data, so it can be determined from a pruned tx
* | Merge pull request #5966luigi11112019-10-221-0/+116
|\ \ | | | | | | | | | be82c40 Support median block size > 4 GB (moneromooo-monero)
| * | Support median block size > 4 GBmoneromooo-monero2019-10-211-0/+116
| | | | | | | | | | | | | | | add a 128/64 division routine so we can use a > 32 bit median block size in calculations
* | | unit_tests: fix build after renamemoneromooo-monero2019-10-151-4/+6
| | |
* | | p2p+rpc: don't skip p2p or rpc port bind failure by defaultxiphon2019-10-132-7/+42
| |/ |/|
* | unit_tests: fix build with boost 1.69moneromooo-monero2019-10-111-3/+6
| |