aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | epee: adaptive connection timeout systemmoneromooo-monero2018-06-101-0/+1
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | a connection's timeout is halved for every extra connection from the same host. Also keep track of when we don't need to use a connection anymore, so we can close it and free the resource for another connection. Also use the longer timeout for non routable local addresses.
* | | Merge pull request #3938luigi11112018-06-201-0/+10
|\ \ \ | | | | | | | | | | | | 01cc978 ringct: remove an unnecessary scalarmultBase in zeroCommit (moneromooo-monero)
| * | | ringct: remove an unnecessary scalarmultBase in zeroCommitmoneromooo-monero2018-06-061-0/+10
| |/ /
* | | Merge pull request #3902luigi11112018-06-201-0/+32
|\ \ \ | | | | | | | | | | | | | | | | f8dd433 epee: fix detection of 172.16.0.0/172.31.255.255 local IP range (moneromooo-monero) 5db9e3c unit_tests: add tests for local IP range detection (moneromooo-monero)
| * | | unit_tests: add tests for local IP range detectionmoneromooo-monero2018-06-011-0/+32
| |/ /
* | | Merge pull request #3691luigi11112018-06-172-0/+102
|\ \ \ | | | | | | | | | | | | | | | | | | | | db55263 threadpool: allow constructing an object, and misc tweaks (moneromooo-monero) ce173cb core: remove threadpool dependency from header (moneromooo-monero) 3147468 unit_tests: add threadpool unit test (moneromooo-monero)
| * | | unit_tests: add threadpool unit testmoneromooo-monero2018-05-202-0/+102
| | | |
* | | | Merge pull request #3450luigi11112018-06-081-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | 3b941be core: add get_earliest_ideal_height_for_version() (stoffu)
| * | | | core: add get_earliest_ideal_height_for_version()stoffu2018-03-211-0/+1
| | |_|/ | |/| |
* | | | Merge pull request #3444luigi11112018-06-081-0/+127
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | a79fc21 hardfork: fix get_earliest_ideal_height_for_version() to support non-existent versions (stoffu) 7e30ead unit_tests/hardfork: add tests for check_for_height() (stoffu) 98cf62c hardfork: fix get_next_version() (stoffu) 0321d1a unit_tests/hardfork: add tests for get_voting_info() (stoffu)
| * | | unit_tests/hardfork: add tests for get_voting_info()stoffu2018-05-301-0/+49
| | | |
| * | | hardfork: fix get_next_version()stoffu2018-05-301-0/+29
| | | |
| * | | unit_tests/hardfork: add tests for check_for_height()stoffu2018-05-301-0/+24
| | | |
| * | | hardfork: fix get_earliest_ideal_height_for_version() to support ↵stoffu2018-05-301-0/+25
| | | | | | | | | | | | | | | | non-existent versions
* | | | Merge pull request #3592luigi11112018-05-312-1/+166
|\ \ \ \ | |/ / / |/| | | | | | | | | | | 90a16b1 crypto: fix initialization order issue with random mutex (moneromooo-monero) 6a61f52 unit_tests: add ringdb unit tests (moneromooo-monero)
| * | | unit_tests: add ringdb unit testsmoneromooo-monero2018-04-112-1/+166
| |/ /
* | | Merge pull request #3251luigi11112018-05-291-2/+4
|\ \ \ | | | | | | | | | | | | b9389e5 db_lmdb: save pruned and prunable tx data separately (moneromooo-monero)
| * | | db_lmdb: save pruned and prunable tx data separatelymoneromooo-monero2018-05-231-2/+4
| | | | | | | | | | | | | | | | This bumps DB version to 2, migration code will run for v1 DBs
* | | | unit_tests: fix build after get_output_didstribution signature changemoneromooo-monero2018-05-211-1/+1
|/ / /
* | | speed up get_output_distribution (and precalc common case)moneromooo-monero2018-05-211-0/+1
| | |
* | | Merge pull request #3809Riccardo Spagni2018-05-212-8/+5
|\ \ \ | | | | | | | | | | | | b88c9a00 unit_tests: set default data dir to the source tree at build time (moneromooo-monero)
| * | | unit_tests: set default data dir to the source tree at build timemoneromooo-monero2018-05-152-8/+5
| | |/ | |/|
* / | Revert "Merge pull request #3775"Riccardo Spagni2018-05-211-1/+1
|/ / | | | | | | | | This reverts commit 20ef37bbcac7715d5299dd77d401583420e07ced, reversing changes made to 40070a661fd2ff503e07f4ed48dfe9fe67cfa297.
* | unit_tests: fix build after get_output_didstribution signature changemoneromooo-monero2018-04-281-1/+1
| |
* | Only log an error if fork version is higher AND is not known.Thaer Khawaja2018-04-221-0/+1
|/
* add RPC to get a histogram of outputs of a given amountmoneromooo-monero2018-03-161-1/+2
|
* Merge pull request #3277Riccardo Spagni2018-03-055-28/+28
|\ | | | | | | | | | | | | | | | | 0e7ad2e2 Wallet API: generalize 'bool testnet' to 'NetworkType nettype' (stoffu) af773211 Stagenet (stoffu) cc9a0bee command_line: allow args to depend on more than one args (stoffu) 55f8d917 command_line::get_arg: remove 'required' for dependent args as they're always optional (stoffu) 450306a0 command line: allow has_arg to handle arg_descriptor<bool,false,true> #3318 (stoffu) 9f9e095a Use `genesis_tx` parameter in `generate_genesis_block`. #3261 (Jean Pierre Dudey)
| * Stagenetstoffu2018-03-055-28/+28
| |
* | Correct spelling mistakes.Edward Betts2018-03-051-1/+1
|/
* Code modifications to integrate Ledger HW device into monero-wallet-cli.cslashm2018-03-042-15/+17
| | | | | | | | | | | | | | | | | | | The basic approach it to delegate all sensitive data (master key, secret ephemeral key, key derivation, ....) and related operations to the device. As device has low memory, it does not keep itself the values (except for view/spend keys) but once computed there are encrypted (with AES are equivalent) and return back to monero-wallet-cli. When they need to be manipulated by the device, they are decrypted on receive. Moreover, using the client for storing the value in encrypted form limits the modification in the client code. Those values are transfered from one C-structure to another one as previously. The code modification has been done with the wishes to be open to any other hardware wallet. To achieve that a C++ class hw::Device has been introduced. Two initial implementations are provided: the "default", which remaps all calls to initial Monero code, and the "Ledger", which delegates all calls to Ledger device.
* Merge pull request #3245Riccardo Spagni2018-02-202-17/+28
|\ | | | | | | | | 54c256bc unit_tests.serialization: refactored with ASSERT_EQ_MAP (stoffu) e6a60938 unit_tests: added gtest utility ASSERT_EQ_MAP for easily testing key-value map (stoffu)
| * unit_tests.serialization: refactored with ASSERT_EQ_MAPstoffu2018-02-121-17/+21
| |
| * unit_tests: added gtest utility ASSERT_EQ_MAP for easily testing key-value mapstoffu2018-02-121-0/+7
| |
* | dns: change default DNS to a worldwide selectionmoneromooo-monero2018-02-081-13/+15
|/ | | | DNSSEC aware servers picked from https://wiki.ipfire.org/dns/public-servers
* Merge pull request #3151Riccardo Spagni2018-01-271-5/+5
|\ | | | | | | ab2e9953 unit_tests: do not ASSERT_TRUE(decodeRct(...)) (moneromooo-monero)
| * unit_tests: do not ASSERT_TRUE(decodeRct(...))moneromooo-monero2018-01-181-5/+5
| | | | | | | | decodeRct returns the amount, which may be zero
* | Readd copyright starting datexmr-eric2018-01-2610-10/+10
| |
* | Update 2018 copyrightxmr-eric2018-01-2644-44/+44
| |
* | Merge pull request #3082Riccardo Spagni2018-01-251-1/+1
|\ \ | | | | | | | | | 8b50209c fix for warning (Onur Altun)
| * | fix for warningOnur Altun2018-01-081-1/+1
| | | | | | | | | | | | monero/tests/unit_tests/memwipe.cpp:50:8: Warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (wipe) ASSERT_TRUE(memcmp(quux, "bar", 3));
* | | Merge pull request #3057Riccardo Spagni2018-01-251-1/+2
|\ \ \ | |_|/ |/| | | | | 9ffa97fe Factor the monero donation address (Maxithi)
| * | Factor the monero donation addressMaxithi2018-01-051-1/+2
| |/ | | | | | | Signed-off-by: Maxithi <34792056+Maxithi@users.noreply.github.com>
* | Merge pull request #2990Riccardo Spagni2018-01-102-2/+0
|\ \ | | | | | | | | | 2d17feb0 factor STL container serialization (moneromooo-monero)
| * | factor STL container serializationmoneromooo-monero2017-12-222-2/+0
| | |
* | | Merge pull request #2985Riccardo Spagni2018-01-102-9/+15
|\ \ \ | | | | | | | | | | | | | | | | | | | | 6d8b29ef fix some link errors in debug mode for macos (stoffu) fdd4c5e5 move memwipe to epee to avoid common<->crypto circular dependencies (moneromooo-monero) 40ab12a7 epee: remove dependency on common (moneromooo-monero)
| * | | move memwipe to epee to avoid common<->crypto circular dependenciesmoneromooo-monero2018-01-101-1/+1
| | | |
| * | | epee: remove dependency on commonmoneromooo-monero2018-01-101-8/+14
| | |/ | |/|
* | | Merge pull request #2971Riccardo Spagni2018-01-101-1/+1
|\ \ \ | |/ / |/| | | | | ae860230 Fix exceptions not finding txpool txes when relaying (moneromooo-monero)
| * | Fix exceptions not finding txpool txes when relayingmoneromooo-monero2017-12-201-1/+1
| |/
* | Merge pull request #2964Riccardo Spagni2018-01-021-24/+0
|\ \ | | | | | | | | | 3ed1a74c tests: remove unused/unfinished keccak bits (moneromooo-monero)