aboutsummaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* | crypto: fix non zero scalar being 0 after reducingmoneromooo-monero2020-12-041-551/+540
| |
* | Merge pull request #7018luigi11112020-11-293-3/+10
|\ \ | | | | | | | | | a9cd5d9 cryptonote_core: dandelion - use local height or median height if syncing (xiphon)
| * | cryptonote_core: dandelion - use local height or median height if syncingxiphon2020-11-253-3/+10
| | |
* | | Merge pull request #6973luigi11112020-11-291-0/+109
|\ \ \ | | | | | | | | | | | | be84f67 Switch to Dandelion++ fluff mode if no out connections for stem mode (Lee Clagett)
| * | | Switch to Dandelion++ fluff mode if no out connections for stem modeLee Clagett2020-11-031-0/+109
| | | |
* | | | Merge pull request #6937luigi11112020-11-2915-32/+32
|\ \ \ \ | | | | | | | | | | | | | | | 8a282f6 Add RELINK_TARGETS, monero_add_target_no_relink and use monero_add_executable/monero_add_library where possible (mj-xmr) Add monero_add_minimal_executable and use in tests (mj-xmr)
| * | | | Add RELINK_TARGETS, monero_add_target_no_relink and use ↵mj-xmr2020-10-2815-32/+32
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | monero_add_executable/monero_add_library where possible (mj-xmr) Add monero_add_minimal_executable and use in tests This is done in order not to have to relink targets, when just an .so changed, but not its interface.
* | | | Merge pull request #6856luigi11112020-11-281-18/+0
|\ \ \ \ | |_|/ / |/| | | | | | | db70af1 Unit Tests: Remove block reward upper bound size checks (TheCharlatan)
| * | | Unit Tests: Remove block reward upper bound size checksTheCharlatan2020-10-031-18/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tests running after being compiled with `make debug-test` failed with ``` [ FAILED ] block_reward_and_current_block_weight.fails_on_huge_median_size [ FAILED ] block_reward_and_current_block_weight.fails_on_huge_block_weight ``` With the introduction of the patch in https://github.com/monero-project/monero/commit/be82c40703d267184ee07bf7be71002122c86656#diff-1a57d4e6013984c420da98d1adde0eafL113 the assertions checking the weight of the median and current block against a size limit were removed. Since the limit is now enforced by a long divisor and a uint64_t type, checking in a separate test makes little sense, so they are removed here.
* | | | Better log message for unusable anon networksHoward Chu2020-11-161-1/+2
| |_|/ |/| |
* | | functional_tests: inrease mining timeoutselsta2020-10-221-1/+1
| |/ |/|
* | Dandelion++: skip desynced peers in stem phasexiphon2020-10-121-34/+41
| |
* | Merge pull request #6840Alexander Blair2020-09-271-1/+1
|\ \ | | | | | | | | | 6ee9f1260 fuzz_tests: fix build error in signature fuzz test (moneromooo-monero)
| * | fuzz_tests: fix build error in signature fuzz testmoneromooo-monero2020-09-241-1/+1
| |/
* / functional_tests: rewrite mining code, clearer timeout infoiamamyth2020-09-241-12/+11
|/
* Merge pull request #6798luigi11112020-09-072-10/+32
|\ | | | | | | 4e44306 enable CLSAG support for Trezor client (ph4r05)
| * enable CLSAG support for Trezor clientDusan Klinec2020-09-042-10/+32
| |
* | Merge pull request #6111Riccardo Spagni2020-09-064-3/+139
|\ \ | | | | | | | | | | | | | | | d20ff4f64 functional_tests: add a large (many randomx epochs) p2p reorg test (moneromooo-monero) 6a0b3b1f8 functional_tests: add randomx tests (moneromooo-monero) 9d42649d5 core: fix mining from a block that's not the current top (moneromooo-monero)
| * | functional_tests: add a large (many randomx epochs) p2p reorg testmoneromooo-monero2020-08-271-0/+19
| | |
| * | functional_tests: add randomx testsmoneromooo-monero2020-08-272-0/+117
| | |
| * | core: fix mining from a block that's not the current topmoneromooo-monero2020-08-271-3/+3
| | |
* | | Merge pull request #6757luigi11112020-09-031-20/+20
|\ \ \ | |_|/ |/| | | | | 6a37da8 threadpool: guard against exceptions in jobs, and armour plating (moneromooo-monero)
| * | threadpool: guard against exceptions in jobs, and armour platingmoneromooo-monero2020-09-011-20/+20
| | | | | | | | | | | | | | | Those would, if uncaught, exit run and leave the waiter to wait indefinitely for the number of active jobs to reach 0
* | | Bind signature to full address and signing modeSarang Noether2020-08-281-0/+2
| | |
* | | wallet: allow signing a message with spend or view keymoneromooo-monero2020-08-282-7/+12
| | |
* | | core_tests: fix failures after v13moneromooo-monero2020-08-284-13/+21
| | | | | | | | | | | | | | | v13 enforces claiming the full block reward, so we need to keep track of tx fees to add them to the coinbase
* | | core_tests: remove hardcoded hf versionmoneromooo-monero2020-08-281-1/+1
| | |
* | | Merge pull request #6769Alexander Blair2020-08-271-0/+41
|\ \ \ | | | | | | | | | | | | b641e0a2c Add clear method to byte_stream (Lee Clagett)
| * | | Add clear method to byte_streamLee Clagett2020-08-171-0/+41
| | | |
* | | | Added balance check to MLSAG/CLSAG performance testsSarang Noether2020-08-273-119/+257
| | | |
* | | | Updated MLSAG and CLSAG tests for consistencySarang Noether2020-08-273-31/+63
| | | |
* | | | CLSAG verification performance testSarang Noether2020-08-272-22/+40
| | | |
* | | | CLSAG optimizationsSarang Noether2020-08-272-85/+81
| | | |
* | | | Integrate CLSAGs into moneromoneromooo-monero2020-08-2715-85/+656
| | | | | | | | | | | | | | | | They are allowed from v12, and MLSAGs are rejected from v13.
* | | | unit_tests: add ge_triple_scalarmult_base_vartime testmoneromooo-monero2020-08-271-0/+62
| | | |
* | | | CLSAG signaturesSarang Noether2020-08-274-4/+196
| |_|/ |/| |
* | | Merge pull request #6760Alexander Blair2020-08-273-0/+30
|\ \ \ | | | | | | | | | | | | 844fb4e94 enforce claiming maximum coinbase amount (moneromooo-monero)
| * | | enforce claiming maximum coinbase amountmoneromooo-monero2020-08-213-0/+30
| | |/ | |/| | | | | | | | | | Claiming a slightly lesser amount does not yield the size gains that were seen pre rct, so this closes a fingerprinting vector
* | | Merge pull request #6690Alexander Blair2020-08-2710-12/+10
|\ \ \ | | | | | | | | | | | | 7175dcb10 replace most boost serialization with existing monero serialization (moneromooo-monero)
| * | | replace most boost serialization with existing monero serializationmoneromooo-monero2020-08-1710-12/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reduces the attack surface for data that can come from malicious sources (exported output and key images, multisig transactions...) since the monero serialization is already exposed to the outside, and the boost lib we were using had a few known crashers. For interoperability, a new load-deprecated-formats wallet setting is added (off by default). This allows loading boost format data if there is no alternative. It will likely go at some point, along with the ability to load those. Notably, the peer lists file still uses the boost serialization code, as the data it stores is define in epee, while the new serialization code is in monero, and migrating it was fairly hairy. Since this file is local and not obtained from anyone else, the marginal risk is minimal, but it could be migrated later if needed. Some tests and tools also do, this will stay as is for now.
* | | | Merge pull request #6660Alexander Blair2020-08-272-8/+193
|\ \ \ \ | |_|_|/ |/| | | | | | | 839e1f4ba functional_tests: add p2p functional tests (moneromooo-monero)
| * | | functional_tests: add p2p functional testsmoneromooo-monero2020-08-262-8/+193
| | | | | | | | | | | | | | | | Tests tx/block propagation and reorgs
* | | | Revert "Use domain-separated ChaCha20 for in-memory key encryption"luigi11112020-08-172-74/+0
| |/ / |/| | | | | | | | This reverts commit 921dd8dde5d381052d0aa2936304a3541a230c55.
* | | Merge pull request #6718Alexander Blair2020-08-161-0/+11
|\ \ \ | | | | | | | | | | | | 85efc88c1 Fix overflow issue in epee:misc_utils::rolling_median_t and median(), with unit test (koe)
| * | | Fix overflow issue in epee:misc_utils::rolling_median_t and median(), with ↵koe2020-07-231-0/+11
| | |/ | |/| | | | | | | unit test
* | | Merge pull request #6716Alexander Blair2020-08-164-4/+4
|\ \ \ | | | | | | | | | | | | 76c16822d wallet2_api: implement runtime proxy configuration (xiphon)
| * | | wallet2_api: implement runtime proxy configurationxiphon2020-07-204-4/+4
| |/ /
* | | Merge pull request #6603Alexander Blair2020-08-161-1/+16
|\ \ \ | | | | | | | | | | | | 4e2377995 Change ZMQ-JSON txextra to hex and remove unnecessary base fields (Lee Clagett)
| * | | Change ZMQ-JSON txextra to hex and remove unnecessary base fieldsLee Clagett2020-08-141-1/+16
| | | |
* | | | Merge pull request #6601Alexander Blair2020-08-161-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | 98c151ecb Optimize ZMQ-JSON vector reading; GetBlocksFast reads 24%+ faster (Lee Clagett) 60627c9f2 Switch to insitu parsing for ZMQ-JSON; GetBlocksFast reads 13%+ faster (Lee Clagett) fe96e66eb Fix pruned tx for ZMQ's GetBlocksFast (Lee Clagett)