summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* tests: fix cnv4-jit-test link on macmoneromooo-monero2019-03-061-1/+0
|
* blockchain: remove buggy long term block weight cachemoneromooo-monero2019-02-191-3/+3
| | | | | | It seems to be buggy on reorgs, and prevents the use of a blockchain with two nodes. We'll speed this up again if/when the need arises.
* Merge pull request #5159Riccardo Spagni2019-02-181-8/+1
|\ | | | | | | 1d628550 blockchain: fix long term weight addition on pop/init (moneromooo-monero)
| * blockchain: fix long term weight addition on pop/initmoneromooo-monero2019-02-181-8/+1
| |
* | tests: add a CNv4 JIT testmoneromooo-monero2019-02-182-0/+133
| |
* | performance_tests: add tests for new Cryptonight variantsmoneromooo-monero2019-02-182-10/+10
|/
* Build fixes for some platformsmoneromooo-monero2019-02-141-1/+1
|
* Adding cnv4-2 tweaksLee Clagett2019-02-141-10/+10
|
* Cryptonight variant 4 aka CryptonightRSChernykh2019-02-143-6/+35
| | | | It introduces random integer math into the main loop.
* ringct: the commitment mask is now deterministicmoneromooo-monero2019-02-122-36/+0
| | | | | | saves space in the tx and is safe Found by knaccc
* ringct: encode 8 byte amount, saving 24 bytes per outputmoneromooo-monero2019-02-123-6/+22
| | | | Found by knaccc
* add a bulletproof version, new bulletproof type, and rct configmoneromooo-monero2019-02-1211-78/+89
| | | | This makes it easier to modify the bulletproof format
* notify: handle arbitrary tagsmoneromooo-monero2019-02-122-0/+91
|
* ArticMine's new block weight algorithmmoneromooo-monero2019-02-129-25/+738
| | | | | | | | | | | | | | | | | | | | | | | | | | This curbs runaway growth while still allowing substantial spikes in block weight Original specification from ArticMine: here is the scaling proposal Define: LongTermBlockWeight Before fork: LongTermBlockWeight = BlockWeight At or after fork: LongTermBlockWeight = min(BlockWeight, 1.4*LongTermEffectiveMedianBlockWeight) Note: To avoid possible consensus issues over rounding the LongTermBlockWeight for a given block should be calculated to the nearest byte, and stored as a integer in the block itself. The stored LongTermBlockWeight is then used for future calculations of the LongTermEffectiveMedianBlockWeight and not recalculated each time. Define: LongTermEffectiveMedianBlockWeight LongTermEffectiveMedianBlockWeight = max(300000, MedianOverPrevious100000Blocks(LongTermBlockWeight)) Change Definition of EffectiveMedianBlockWeight From (current definition) EffectiveMedianBlockWeight = max(300000, MedianOverPrevious100Blocks(BlockWeight)) To (proposed definition) EffectiveMedianBlockWeight = min(max(300000, MedianOverPrevious100Blocks(BlockWeight)), 50*LongTermEffectiveMedianBlockWeight) Notes: 1) There are no other changes to the existing penalty formula, median calculation, fees etc. 2) There is the requirement to store the LongTermBlockWeight of a block unencrypted in the block itself. This is to avoid possible consensus issues over rounding and also to prevent the calculations from becoming unwieldy as we move away from the fork. 3) When the EffectiveMedianBlockWeight cap is reached it is still possible to mine blocks up to 2x the EffectiveMedianBlockWeight by paying the corresponding penalty.
* Rename "blackball" for claritymoneromooo-monero2018-10-181-5/+5
| | | | Apparently some people seem to think it's a censorship list...
* Merge pull request #4036Riccardo Spagni2018-10-075-138/+290
| | | | | 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 #4511Riccardo Spagni2018-10-071-562/+562
| | | | f9485a36 tests: update crypto tests data file after PRNG changes (moneromooo-monero)
* Merge pull request #4492Riccardo Spagni2018-10-061-0/+4
| | | | 7f2ad1a7 functional_tests: fix linking on Windows (iDunk5400)
* 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-294-38/+47
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
| * fuzz_tests: catch unhandled exceptionsmoneromooo-monero2018-09-271-0/+4
| | | | | | | | Coverity 175293, 175312, 175266
| * unit_tests: catch unhandled exceptionsmoneromooo-monero2018-09-271-0/+4
| | | | | | | | Coverity 182560
| * performance_test: fix bad last argument calling add_argmoneromooo-monero2018-09-271-4/+4
| | | | | | | | Coverity 182572
| * 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 #4404Riccardo Spagni2018-09-221-10/+10
|\ \ | | | | | | | | | f3cd51a1 cryptonote tweak v2.2 (Lee Clagett)
| * | cryptonote tweak v2.2Lee Clagett2018-09-221-10/+10
| | |
* | | 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 #4384Riccardo Spagni2018-09-211-0/+0
|\ \ \ | | | | | | | | | | | | 27af46c9 tests: update test wallet keys file for encrypted keys (moneromooo-monero)
| * | | tests: update test wallet keys file for encrypted keysmoneromooo-monero2018-09-151-0/+0
| |/ /
* | | 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 #4391Riccardo Spagni2018-09-181-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | e9bce045 Fix missing std::runtime_error def in difficulty.cpp (Howard Chu)
| * | | | Fix missing std::runtime_error def in difficulty.cppHoward Chu2018-09-161-0/+1
| | |_|/ | |/| |
* | | | 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-172-3/+3
| |/ / / |/| | |
* | | | Merge pull request #4253Riccardo Spagni2018-09-141-6/+6
|\ \ \ \ | | | | | | | | | | | | | | | be001326 remove obsolete daemon selection of fake outs and old tx construction (moneromooo-monero)
| * | | | remove obsolete daemon selection of fake outs and old tx constructionmoneromooo-monero2018-09-141-6/+6
| | | | |
* | | | | 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
| | |_|_|/ | |/| | |
* | | | | Merge pull request #4254Riccardo Spagni2018-09-141-0/+4
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | de905d4b fuzz_tests: use __AFL_INIT when available (moneromooo-monero)
| * | | | fuzz_tests: use __AFL_INIT when availablemoneromooo-monero2018-08-131-0/+4
| | | | | | | | | | | | | | | | | | | | alleged to speed things up