aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | tests: add unit tests for get_output_distributionmoneromooo-monero2018-11-164-87/+325
| | | |
* | | | Merge pull request #4803Riccardo Spagni2018-11-161-2/+2
|\ \ \ \ | | | | | | | | | | | | | | | fa3f756b unit_tests: fix leak when the test check fails (moneromooo-monero)
| * | | | unit_tests: fix leak when the test check failsmoneromooo-monero2018-11-051-2/+2
| | | | | | | | | | | | | | | | | | | | Coverity 189527
* | | | | Merge pull request #4795Riccardo Spagni2018-11-161-0/+19
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | 5d7c2316 rct: add a zeroCommit cache for common pre-rct case (moneromooo-monero)
| * | | | | rct: add a zeroCommit cache for common pre-rct casemoneromooo-monero2018-11-041-0/+19
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | This is called for every pre-rct output at blockchain sync time, and a lot of them wil hit the cache, saving a scalarmult each.
* | | | | Merge pull request #4769Riccardo Spagni2018-11-141-1/+1
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5808530f blockchain: remove unused output_scan_worker parameter (moneromooo-monero) 1426209a blockchain: don't run threads if we have just one function to run (moneromooo-monero) 6f7a5fd4 db_lmdb: slight speedup getting array data from the blockchain (moneromooo-monero) 99fbe100 db_lmdb: save some string copies for readonly db keys/values (moneromooo-monero) bf31447e tx_pool: speed up take_tx for transactions from blocks (moneromooo-monero) 4f005a77 tx_pool: remove unnecessary get_transaction_hash (moneromooo-monero) 593ef598 perf_timer: call reserve on new timer array (moneromooo-monero) 6ecc99ad core: avoid unnecessary tx/blob conversions (moneromooo-monero) 00cc1a16 unit_tests: notify test special case for the usual weirdo (moneromooo-monero)
| * | | | core: avoid unnecessary tx/blob conversionsmoneromooo-monero2018-11-011-1/+1
| | | | |
| * | | | unit_tests: notify test special case for the usual weirdomoneromooo-monero2018-11-011-1/+5
| | | | |
* | | | | Merge pull request #4739Riccardo Spagni2018-11-061-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | 9c1c92db tests: fix MSYS2 gcc 7.3.0 warning -Wtype-limits (xiphon)
| * | | | | tests: fix MSYS2 gcc 7.3.0 warning -Wtype-limitsxiphon2018-10-291-1/+1
| | |/ / / | |/| | |
* | | | | simplewallet: print the number of show/all transfersmoneromooo-monero2018-11-041-1/+0
| | | | |
* | | | | wallet2: only export necessary outputs and key imagesmoneromooo-monero2018-11-041-1/+13
| |_|/ / |/| | | | | | | | | | | | | | | and disable annoying test that requires ridiculous amounts of skullduggery every time some format changes
* | | | unit_tests: fix notify unit test when /tmp does not existmoneromooo-monero2018-10-271-1/+9
|/ / /
* | | Merge pull request #4721Riccardo Spagni2018-10-261-1/+5
|\ \ \ | |/ / |/| | | | | a9f9406c unit_tests: notify test special case for the usual weirdo (moneromooo-monero)
| * | unit_tests: notify test special case for the usual weirdomoneromooo-monero2018-10-241-1/+5
| | |
* | | Merge pull request #4613Riccardo Spagni2018-10-261-0/+10
|\ \ \ | | | | | | | | | | | | 45a6880d unit_tests: call umask before mkstemp (moneromooo-monero)
| * | | unit_tests: call umask before mkstempmoneromooo-monero2018-10-161-0/+10
| | | | | | | | | | | | | | | | Coverity 188788
* | | | Merge pull request #4308Riccardo Spagni2018-10-261-0/+84
|\ \ \ \ | |_|/ / |/| | | | | | | 9907ea06 cryptonote: sort tx_extra fields (moneromooo-monero)
| * | | cryptonote: sort tx_extra fieldsmoneromooo-monero2018-10-071-0/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes some small amount of fingerprinting entropy. There is no consensus rule to require this since this field is technically free form, and a transaction is free to have custom data in it.
* | | | Merge pull request #4640Riccardo Spagni2018-10-231-1/+1
|\ \ \ \ | |_|_|/ |/| | | | | | | 11415128 unit_tests: fix notify test when run from make *test (moneromooo-monero)
| * | | unit_tests: fix notify test when run from make *testmoneromooo-monero2018-10-171-1/+1
| | |/ | |/|
* | | Merge pull request #4521Riccardo Spagni2018-10-201-0/+21
|\ \ \ | | | | | | | | | | | | 6653062e unit_tests: add unit test for alloc alignment being a power of 2 (moneromooo-monero)
| * | | unit_tests: add unit test for alloc alignment being a power of 2moneromooo-monero2018-10-081-0/+21
| | | |
* | | | Rename "blackball" for claritymoneromooo-monero2018-10-181-5/+5
| |/ / |/| | | | | | | | Apparently some people seem to think it's a censorship list...
* | | Merge pull request #4481Riccardo Spagni2018-10-153-1/+117
|\ \ \ | |/ / |/| | | | | 98c92258 unit_tests: add a notifier test (moneromooo-monero)
| * | unit_tests: add a notifier testmoneromooo-monero2018-10-013-1/+117
| | |
* | | 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)
| * | | Arbitrary M/N multisig schemes:naughtyfox2018-10-011-96/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | | | Merge pull request #4464Riccardo Spagni2018-10-021-1/+1
|\ \ \ \ | |_|/ / |/| | | | | | | bef1750f unit_tests: fix longstanding DNS related unit test (moneromooo-monero)
| * | | unit_tests: fix longstanding DNS related unit testmoneromooo-monero2018-09-281-1/+1
| |/ /
* | | 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)
* | | Merge pull request #4424Riccardo Spagni2018-09-292-6/+6
| | | | | | | | | | | | 92d1da28 unit_tests: fix build with GCC 5.4.0 on ubuntu (moneromooo-monero)
* | | Merge pull request #4407Riccardo Spagni2018-09-291-0/+24
|/ / | | | | | | 43a06350 ringdb: use cursors to be a bit faster (moneromooo-monero)
* | 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
| | | |