aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | 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
| |
* | Merge pull request #5915luigi11112019-10-081-4/+6
|\ \ | | | | | | | | | 8330e77 monerod can now sync from pruned blocks (moneromooo-monero)
| * | monerod can now sync from pruned blocksmoneromooo-monero2019-09-271-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the peer (whether pruned or not itself) supports sending pruned blocks to syncing nodes, the pruned version will be sent along with the hash of the pruned data and the block weight. The original tx hashes can be reconstructed from the pruned txes and theur prunable data hash. Those hashes and the block weights are hashes and checked against the set of precompiled hashes, ensuring the data we received is the original data. It is currently not possible to use this system when not using the set of precompiled hashes, since block weights can not otherwise be checked for validity. This is off by default for now, and is enabled by --sync-pruned-blocks
* | | Merge pull request #5960luigi11112019-10-081-5/+11
|\ \ \ | | | | | | | | | | | | ae34e1b unit_tests: fix ringdb unit tests (moneromooo-monero)
| * | | unit_tests: fix ringdb unit testsmoneromooo-monero2019-10-041-5/+11
| | |/ | |/|
* | | Merge pull request #5921luigi11112019-10-081-12/+85
|\ \ \ | |/ / |/| | | | | 2a7d915 Fixed i2p/tor tx flooding bug (white noise disabled) (vtnerd)
| * | Fixed i2p/tor tx flooding bug (white noise disabled)Lee Clagett2019-07-291-12/+85
| | |
* | | Merge pull request #5895luigi11112019-09-302-9/+9
|\ \ \ | | | | | | | | | | | | fdc00d0 unit tests: replace global var with lambda returning static local var (stoffu)
| * | | unit tests: replace global var with lambda returning static local varstoffu2019-09-092-9/+9
| | |/ | |/| | | | | | | Fixes assertion failure (curstate == 1) in random.c in debug mode
* | | Merge pull request #5916luigi11112019-09-241-2/+20
|\ \ \ | | | | | | | | | | | | 7b076d5 p2p: fix bans taking port into account (moneromooo-monero)
| * | | p2p: fix bans taking port into accountmoneromooo-monero2019-09-161-2/+20
| | |/ | |/|
* | | Merge pull request #5878luigi11112019-09-241-8/+1
|\ \ \ | | | | | | | | | | | | f9b3f6e Removed Berkeley DB and db switching logic (JesusRami)
| * | | Removed Berkeley DB and db switching logicJesus Ramirez2019-09-161-8/+1
| | | |
* | | | Merge pull request #5877luigi11112019-09-241-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | 2cd4fd8 Changed the use of boost:value_initialized for C++ list initializer (JesusRami) 4ad191f Removed unused boost/value_init header (whyamiroot) 928f4be Make null hash constants constexpr (whyamiroot)
| * | | | Changed the use of boost:value_initialized for C++ list initializerJesus Ramirez2019-09-021-1/+1
| |/ / /
* | / / Properly format multiline logsmoneromooo-monero2019-09-161-0/+17
| |/ / |/| | | | | | | | | | | As a side effect, colouring on Windows should now work regardless of version
* | | Merge pull request #5818luigi11112019-09-142-1/+132
|\ \ \ | |_|/ |/| | | | | f91a06c Dropping cppzmq dependency; adding some zmq utils (vtnerd)
| * | Dropping cppzmq dependency; adding some zmq utilsLee Clagett2019-07-222-1/+132
| |/
* | Merge pull request #5876luigi11112019-09-081-6/+12
|\ \ | | | | | | | | | a5c7eeb unit_tests: fix build with CLANG 8 and boost 1.69 (moneromooo-monero)
| * | unit_tests: fix build with CLANG 8 and boost 1.69moneromooo-monero2019-08-301-6/+12
| |/
* | Merge pull request #5856luigi11112019-09-081-1/+1
|\ \ | | | | | | | | | f56e160 unit_tests: Fix uninitialized values (liptakmatyas)
| * | unit_tests: Fix uninitialized valuesMatyas Liptak2019-08-271-1/+1
| | | | | | | | | | | | | | | | | | - Initialize the `hash` in the `get_block_hash()` function of the `output_distribution` unit test explicitly, to silence `valgrind` warnings.
* | | unit_tests: fix levin unit test on big endianmoneromooo-monero2019-09-041-23/+23
| | |
* | | difficulty: fix check_hash on big endianmoneromooo-monero2019-09-041-4/+10
| |/ |/|
* | Merge pull request #5793luigi11112019-08-295-3/+1524
|\ \ | | | | | | | | | | | | bdfc63a Add ref-counted buffer byte_slice. Currently used for sending TCP data. (vtnerd) 3b24b1d Added support for 'noise' over I1P/Tor to mask Tx transmission. (vtnerd)
| * | Added support for "noise" over I1P/Tor to mask Tx transmission.Lee Clagett2019-07-174-0/+1088
| | |
| * | Add ref-counted buffer byte_slice. Currently used for sending TCP data.Lee Clagett2019-07-162-3/+436
| |/
* | Merge pull request #5707luigi11112019-08-281-1/+14
|\ \ | |/ |/| | | 3a0451a MLSAG speedup and additional checks (SarangNoether)
| * MLSAG speedup and additional checksSarang Noether2019-08-271-1/+14
| |
* | Merge pull request #5748luigi11112019-08-211-1/+2
|\ \ | | | | | | | | | b350726 boost: update obsolete usage of endian API (moneromooo-monero)
| * | boost: update obsolete usage of endian APImoneromooo-monero2019-07-091-1/+2
| |/
* | Merge pull request #5727luigi11112019-08-192-3/+3
|\ \ | | | | | | | | | 7b9a420 Replace std::random_shuffle with std::shuffle (tomsmeding)
| * | Replace std::random_shuffle with std::shuffleTom Smeding2019-08-152-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to [1], std::random_shuffle is deprecated in C++14 and removed in C++17. Since std::shuffle is available since C++11 as a replacement and monero already requires C++11, this is a good replacement. A cryptographically secure random number generator is used in all cases to prevent people from perhaps copying an insecure std::shuffle call over to a place where a secure one would be warranted. A form of defense-in-depth. [1]: https://en.cppreference.com/w/cpp/algorithm/random_shuffle
* | | Merge pull request #5718luigi11112019-08-191-2/+2
|\ \ \ | | | | | | | | | | | | | | | | c8709fe wallet: do not print log settings when unset (moneromooo-monero) 7b18e83 unit_tests: check return values on test data parsing (moneromooo-monero)
| * | | unit_tests: check return values on test data parsingmoneromooo-monero2019-07-011-2/+2
| | |/ | |/| | | | | | | | | | | | | Won't trigger in practice, but you never know when that code changes Coverity 199723, 199685