aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | precalc the ge_p3 representation of Hmoneromooo-monero2018-09-111-0/+7
| | | |
* | | | unit_tests: a couple more bulletproof unit tests for gammamoneromooo-monero2018-09-111-0/+19
| | | |
* | | | Bulletproof aggregated verification and testsmoneromooo-monero2018-09-111-12/+16
| | | | | | | | | | | | | | | | Also constrains bulletproofs to simple rct, for simplicity
* | | | aligned: aligned memory alloc/realloc/freemoneromooo-monero2018-09-112-1/+88
| | | |
* | | | bulletproofs: add aggregated verificationmoneromooo-monero2018-09-112-0/+36
| | | | | | | | | | | | | | | | Ported from sarang's java code
* | | | make straus cached mode thread safe, and add tests for itmoneromooo-monero2018-09-112-0/+150
| | | |
* | | | bulletproofs: add multi output bulletproofs to rctmoneromooo-monero2018-09-112-1/+64
| | | |
* | | | bulletproofs: multi-output bulletproofsmoneromooo-monero2018-09-111-0/+19
| | | |
* | | | Merge pull request #4293luigi11112018-09-102-1/+19
|\ \ \ \ | |/ / / |/| | | | | | | 9d65399 is_hdd update (p8p)
| * | | is_hdd updatep8p2018-08-252-1/+19
| |/ /
* | | Merge pull request #4298luigi11112018-09-041-0/+8
|\ \ \ | | | | | | | | | | | | 67666b1 unit_tests: disable mlocker tests on windows (no implementation) (moneromooo-monero)
| * | | unit_tests: disable mlocker tests on windows (no implementation)moneromooo-monero2018-08-231-0/+8
| |/ /
* | | Merge pull request #4275luigi11112018-09-042-0/+151
|\ \ \ | | | | | | | | | | | | 2a100fd unit_tests: add tests for incremental keccak (moneromooo-monero)
| * | | unit_tests: add tests for incremental keccakmoneromooo-monero2018-08-202-0/+151
| | | |
* | | | Merge pull request #4264luigi11112018-09-041-1/+1
|\ \ \ \ | |_|/ / |/| | | | | | | 0c8d8f6 unit_tests: remove std::move in return statement (moneromooo-monero)
| * | | unit_tests: remove std::move in return statementmoneromooo-monero2018-08-151-1/+1
| | | | | | | | | | | | | | | | This actually prevents copy elision
* | | | add and use constant time 32 byte equality functionmoneromooo-monero2018-08-231-0/+15
| | | |
* | | | Merge pull request #4210luigi11112018-08-222-0/+219
|\ \ \ \ | | | | | | | | | | | | | | | 4616cf2 Fixed ZMQ-RPC for transactions and GET_BLOCKS_FAST (vtnerd)
| * | | | Fixed ZMQ-RPC for transactions and GET_BLOCKS_FASTLee Clagett2018-08-022-0/+219
| | |_|/ | |/| |
* | | | Merge pull request #4200luigi11112018-08-221-1/+0
|\ \ \ \ | | | | | | | | | | | | | | | 43f7110 blockchain_db: remove unused get_output_key variant (moneromooo-monero)
| * | | | blockchain_db: remove unused get_output_key variantmoneromooo-monero2018-07-301-1/+0
| | |/ / | |/| | | | | | | | | | It was actually incorrect, as it would not return commitment
* | | | common: add a class to safely wrap mlock/munlockmoneromooo-monero2018-08-162-0/+187
| | | | | | | | | | | | | | | | | | | | | | | | This class will allow mlocking small objects, of which there may be several per page. It adds refcounting so pages are only munlocked when the last object on that page munlocks.
* | | | store secret keys encrypted where possiblemoneromooo-monero2018-08-164-2/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The secret spend key is kept encrypted in memory, and decrypted on the fly when needed. Both spend and view secret keys are kept encrypted in a JSON field in the keys file. This avoids leaving the keys in memory due to being manipulated by the JSON I/O API.
* | | | wallet: wipe seed from memory where appropriatemoneromooo-monero2018-08-163-6/+231
| |_|/ |/| |
* | | wallet2: make --restricted-rpc available for wallet RPC onlystoffu2018-08-161-2/+1
| | |
* | | Merge pull request #4186luigi11112018-08-151-5/+9
|\ \ \ | | | | | | | | | | | | c8226ad unit_tests: use valid key images, pub keys, etc (moneromooo-monero)
| * | | unit_tests: use valid key images, pub keys, etcmoneromooo-monero2018-07-281-5/+9
| |/ /
* | | Merge pull request #4165luigi11112018-08-151-4/+4
|\ \ \ | | | | | | | | | | | | 68b1197 tests: ringdb: use system's temporary dir path (radfish)
| * | | tests: ringdb: use system's temporary dir pathredfish2018-07-221-4/+4
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | Fixes failing test during Arch package build (due to attempt to write to ~/.bitmonero/...). Prefix temp dir path with "monero-" because we are not putting it on the system, so good to identify ourselves in case the dir gets left over due to crash, etc.
* | | Merge pull request #4137luigi11112018-08-151-0/+8
|\ \ \ | | | | | | | | | | | | | | | | 63e342b crypto: move null_pkey/null_skey to the cpp file (moneromooo-monero) 0496c7c crypto: do not use boost::value_initialized to init null skey/pkey (moneromooo-monero)
| * | | crypto: do not use boost::value_initialized to init null skey/pkeymoneromooo-monero2018-07-201-0/+8
| | | |
* | | | wallet: allow adjusting number of rounds for the key derivation functionstoffu2018-08-081-1/+1
| |_|/ |/| |
* | | Merge pull request #4097luigi11112018-07-272-0/+48
|\ \ \ | |_|/ |/| | | | | 61caab8 crypto: remove slight bias in key generation due to modulo (moneromooo-monero)
| * | crypto: remove slight bias in key generation due to modulomoneromooo-monero2018-07-052-0/+48
| |/
* | 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 #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 #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-191-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
| * | | | 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 #3716luigi11112018-06-272-11/+56
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | 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-261-5/+5
| | |_|/ | |/| | | | | | | | | | also use reserve where appropriate
* | | | Merge pull request #3962luigi11112018-06-251-0/+1
|\ \ \ \ | |/ / / |/| | | | | | | 55c7fb8 epee: adaptive connection timeout system (moneromooo-monero)