summaryrefslogtreecommitdiff
path: root/tests/unit_tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #4036Riccardo Spagni2018-10-071-96/+67
| | | | | 9acf42d3 Multisig M/N functionality core tests added (naughtyfox) 9f3963e8 Arbitrary M/N multisig schemes: * support in wallet2 * support in monero-wallet-cli * support in monero-wallet-rpc * support in wallet api * support in monero-gen-trusted-multisig * unit tests for multisig wallets creation (naughtyfox)
* Merge pull request #4464Riccardo Spagni2018-10-021-1/+1
| | | | bef1750f unit_tests: fix longstanding DNS related unit test (moneromooo-monero)
* Merge pull request #4459Riccardo Spagni2018-09-292-34/+39
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bcf3f6af fuzz_tests: catch unhandled exceptions (moneromooo-monero) 3ebd05d4 miner: restore stream flags after changing them (moneromooo-monero) a093092e levin_protocol_handler_async: do not propagate exception through dtor (moneromooo-monero) 1eebb82b net_helper: do not propagate exceptions through dtor (moneromooo-monero) fb6a3630 miner: do not propagate exceptions through dtor (moneromooo-monero) 2e2139ff epee: do not propagate exception through dtor (moneromooo-monero) 0749a8bd db_lmdb: do not propagate exceptions in dtor (moneromooo-monero) 1b0afeeb wallet_rpc_server: exit cleanly on unhandled exceptions (moneromooo-monero) 418a9936 unit_tests: catch unhandled exceptions (moneromooo-monero) ea7f9543 threadpool: do not propagate exceptions through the dtor (moneromooo-monero) 6e855422 gen_multisig: nice exit on unhandled exception (moneromooo-monero) 53df2deb db_lmdb: catch error in mdb_stat calls during migration (moneromooo-monero) e67016dd blockchain_blackball: catch failure to commit db transaction (moneromooo-monero) 661439f4 mlog: don't remove old logs if we failed to rename the current file (moneromooo-monero) 5fdcda50 easylogging++: test for NULL before dereference (moneromooo-monero) 7ece1550 performance_test: fix bad last argument calling add_arg (moneromooo-monero) a085da32 unit_tests: add check for page size > 0 before dividing (moneromooo-monero) d8b1ec8b unit_tests: use std::shared_ptr to shut coverity up about leaks (moneromooo-monero) 02563bf4 simplewallet: top level exception catcher to print nicer messages (moneromooo-monero) c57a65b2 blockchain_blackball: fix shift range for 32 bit archs (moneromooo-monero)
| * unit_tests: catch unhandled exceptionsmoneromooo-monero2018-09-271-0/+4
| | | | | | | | Coverity 182560
| * unit_tests: add check for page size > 0 before dividingmoneromooo-monero2018-09-271-0/+1
| | | | | | | | Coverity 188426
| * unit_tests: use std::shared_ptr to shut coverity up about leaksmoneromooo-monero2018-09-271-34/+34
| | | | | | | | | | | | Coverity 188436, 188433, 188428, 188415, 188416, 188410, 188400, 188298, 188299, 188321, 188342, 188343, 188355, 188357, 188361, 188366, 188374
* | Merge pull request #4424Riccardo Spagni2018-09-292-6/+6
|\ \ | | | | | | | | | 92d1da28 unit_tests: fix build with GCC 5.4.0 on ubuntu (moneromooo-monero)
| * | unit_tests: fix build with GCC 5.4.0 on ubuntumoneromooo-monero2018-09-232-6/+6
| |/
* | Merge pull request #4407Riccardo Spagni2018-09-291-0/+24
|\ \ | |/ |/| | | 43a06350 ringdb: use cursors to be a bit faster (moneromooo-monero)
| * ringdb: use cursors to be a bit fastermoneromooo-monero2018-09-201-0/+24
| |
* | Merge pull request #4385Riccardo Spagni2018-09-211-0/+32
|\ \ | | | | | | | | | 6dbbc690 unit_tests: sanity check on transaction weight (moneromooo-monero)
| * | unit_tests: sanity check on transaction weightmoneromooo-monero2018-09-151-0/+32
| | |
* | | Merge pull request #4371Riccardo Spagni2018-09-212-0/+916
|\ \ \ | | | | | | | | | | | | 55c7cd14 Adding expect<T> - a value-or-error implementation (Lee Clagett)
| * | | Adding expect<T> - a value-or-error implementationLee Clagett2018-09-122-0/+916
| | | |
* | | | Merge pull request #4209Riccardo Spagni2018-09-211-1/+56
|\ \ \ \ | |_|_|/ |/| | | | | | | 26a42fe5 Added features to epee::span<T> : - Support for classes - Added `remove_prefix` function - Added `to_mut_span` and `as_mut_byte_span` (Lee Clagett)
| * | | Added features to epee::span<T> :Lee Clagett2018-08-031-1/+56
| | | | | | | | | | | | | | | | | | | | | | | | - Support for classes - Added `remove_prefix` function - Added `to_mut_span` and `as_mut_byte_span`
* | | | Merge pull request #4306Riccardo Spagni2018-09-181-0/+7
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 56b50faa wallet: use wipeable_string in more places where a secret is used (moneromooo-monero) 07ec748c wipeable_string: add hex_to_pod function (moneromooo-monero)
| * | | | wipeable_string: add hex_to_pod functionmoneromooo-monero2018-09-121-0/+7
| | | | |
* | | | | api/wallet: properly disable key encryptionstoffu2018-09-171-1/+1
| |_|_|/ |/| | |
* | | | Merge pull request #4260Riccardo Spagni2018-09-141-4/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a54dbaee blockchain_blackball: add --force-chain-reaction-pass flag (moneromooo-monero) 44439c32 record blackballs as amount/offset, and add export ability (moneromooo-monero) 4bce935b blockchain_blackball: more optimizations (moneromooo-monero) b66ba783 blockchain_blackball: do not process duplicate blockchains parts (moneromooo-monero) 639a3c01 blockchain_blackball: make it clear secondary passes are not incremental (moneromooo-monero) eb8a51be blockchain_blackball: detect spent outputs by partial ring reuse (moneromooo-monero) d6d276c6 blockchain_blackball: fix chain reaction phase in incremental mode (moneromooo-monero) 2b2a681b blockchain_blackball: avoid false positives for different amounts (moneromooo-monero) 80e4fef3 blockchain_blackball: set transaction looping txn to read only (moneromooo-monero) 4801d6b5 blockchain_blackball: add stats (moneromooo-monero) 846190fd blockchain_blackball: support pre-v2 databases (moneromooo-monero) daa6cc7d blockchain_blackball: use LMDB for the cache (moneromooo-monero) 50cb370d ringdb: allow blackballing many outputs at once (moneromooo-monero)
| * | | | record blackballs as amount/offset, and add export abilitymoneromooo-monero2018-09-101-4/+4
| | |_|/ | |/| |
* | | | bulletproofs: speed up the latest changes a bitmoneromooo-monero2018-09-111-0/+7
| | | |
* | | | unit_tests: add a few more multiexp unit testsmoneromooo-monero2018-09-111-2/+52
| | | |
* | | | v8: per byte fee, pad bulletproofs, fixed 11 ring sizemoneromooo-monero2018-09-115-73/+73
| | | |
* | | | bulletproofs: a few fixes from the Kudelski reviewmoneromooo-monero2018-09-111-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - fix integer overflow in n_bulletproof_amounts - check input scalars are in range - remove use of environment variable to tweak straus performance - do not use implementation defined signed shift for signum
* | | | bulletproofs: reject points not in the main subgroupmoneromooo-monero2018-09-111-0/+61
| | | |
* | | | add pippenger unit testsmoneromooo-monero2018-09-111-0/+55
| | | |
* | | | 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.