aboutsummaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge pull request #4075luigi11112018-07-191-1/+0
|\ \ | | | | | | | | | 438d52d remove epee from link lines where it's redundant (moneromooo-monero)
| * | remove epee from link lines where it's redundantmoneromooo-monero2018-06-281-1/+0
| |/ | | | | | | | | | | For some reason, this confuses and kills ASAN on startup as it thinks const uint8_t ipv4_network_address::ID is defined multiple times.
* | Merge pull request #4073luigi11112018-07-191-0/+4
|\ \ | | | | | | | | | 3474154 gtest: use -fPIC with CLANG too (moneromooo-monero)
| * | gtest: use -fPIC with CLANG toomoneromooo-monero2018-06-281-0/+4
| |/
* | Merge pull request #4061luigi11112018-07-191-4/+18
|\ \ | | | | | | | | | e6f4d4a unit_tests: do not recreate the same base rct sig all the time (moneromooo-monero)
| * | unit_tests: do not recreate the same base rct sig all the timemoneromooo-monero2018-06-271-4/+18
| | | | | | | | | | | | Helps a bit when running with valgrind
* | | Merge pull request #4045luigi11112018-07-191-1/+1
|\ \ \ | | | | | | | | | | | | 7cdd147 Changed URLs to HTTPS (einsteinsfool)
| * | | Changed URLs to HTTPSeinsteinsfool2018-06-231-1/+1
| | | |
* | | | Merge pull request #4013luigi11112018-07-191-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | e5592c4 rpc: add blockchain disk size to getinfo (moneromooo-monero)
| * | | | rpc: add blockchain disk size to getinfomoneromooo-monero2018-06-201-0/+1
| |/ / / | | | | | | | | | | | | | | | | This should help new nodes predict how much disk space will be needed for a full sync
* | | | Merge pull request #3981luigi11112018-07-191-18/+20
|\ \ \ \ | | | | | | | | | | | | | | | 45e419b db: store cumulative rct output distribution in the db for speed (moneromooo-monero)
| * | | | db: store cumulative rct output distribution in the db for speedmoneromooo-monero2018-07-131-18/+20
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This gets rid of the temporary precalc cache. Also make the RPC able to send data back in binary or JSON, since there can be a lot of data This bumps the LMDB database format to v3, with migration.
* | | | Merge pull request #3854luigi11112018-07-198-0/+479
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 149da42 db_lmdb: enable batch transactions by default (stoffu) 34cb6b4 add --regtest and --fixed-difficulty for regression testing (vicsn) 9e1403e update get_info RPC and bump RPC version (vicsn) 207b66e first new functional tests (vicsn)
| * | | | first new functional testsvictorsintnicolaas2018-06-297-0/+478
| | | | |
| * | | | add --regtest and --fixed-difficulty for regression testingvictorsintnicolaas2018-06-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | on_generateblocks RPC call combines functionality from the on_getblocktemplate and on_submitblock RPC calls to allow rapid block creation. Difficulty is set permanently to 1 for regtest. Makes use of FAKECHAIN network type, but takes hard fork heights from mainchain Default reserve_size in generate_blocks RPC call is now 1. If it is 0, the following error occurs 'Failed to calculate offset for'. Queries hard fork heights info of other network types
* | | | | Merge pull request #3617luigi11112018-07-192-0/+132
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | 4c00a4d unit_tests: add device unit tests (moneromooo-monero)
| * | | | unit_tests: add device unit testsmoneromooo-monero2018-04-122-0/+132
| | | | | | | | | | | | | | | | | | | | | | | | | Annoyingly, its locking semantics are borked since it does not do any locking
* | | | | Merge pull request #3998luigi11112018-06-271-7/+7
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | 8db23df wallet: on first refresh, start off with a quantized height (moneromooo-monero)
| * | | | | wallet: on first refresh, start off with a quantized heightmoneromooo-monero2018-06-131-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for privacy reasons, so an untrusted node can't easily track wallets from IP address to IP address, etc. The granularity is 1024 blocks, which is about a day and a half.
* | | | | | Merge pull request #3716luigi11112018-06-2711-35/+80
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | | | | | | | a2b557f 6795bd0 209ec96 ed2c81e a830db2 57ea902 31a895e ba8331c f7f1917 41be339 f025ae9 ef2cb63 dcfd299 5d3e702 2704624 2771a18 0e4c7d0 (moneromooo-monero)
| * | | | | threadpool: allow leaf functions to run concurrentlymoneromooo-monero2018-06-261-6/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Decrease the number of worker threads by one to account for the fact the calling thread acts as a worker thread now
| * | | | | replace std::list with std::vector on some hot pathsmoneromooo-monero2018-06-2610-29/+29
| | |_|_|/ | |/| | | | | | | | | | | | | also use reserve where appropriate
* | | | | Merge pull request #3962luigi11112018-06-252-0/+2
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | 55c7fb8 epee: adaptive connection timeout system (moneromooo-monero)
| * | | | epee: adaptive connection timeout systemmoneromooo-monero2018-06-102-0/+2
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 #3604luigi11112018-06-082-5/+2
|\ \ \ \ | | | | | | | | | | | | | | | 54d9fff gtest: Fix compilation on MinGW with pthread /googletest#621 (stoffu)
| * | | | gtest: Fix compilation on MinGW with pthread /googletest#621stoffu2018-04-112-5/+2
| | |_|/ | |/| |
* | | | Merge pull request #3450luigi11112018-06-082-0/+2
|\ \ \ \ | | | | | | | | | | | | | | | 3b941be core: add get_earliest_ideal_height_for_version() (stoffu)
| * | | | core: add get_earliest_ideal_height_for_version()stoffu2018-03-212-0/+2
| |/ / /
* | | | 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 #3504luigi11112018-05-301-1/+1
|\ \ \ \ | |_|/ / |/| | | | | | | a0a810c performance_tests: fix subaddress expansion test not expanding (moneromooo-monero)
| * | | performance_tests: fix subaddress expansion test not expandingmoneromooo-monero2018-03-271-1/+1
| |/ /
* | | 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.