aboutsummaryrefslogtreecommitdiff
path: root/tests/performance_tests (follow)
AgeCommit message (Collapse)AuthorFilesLines
2024-05-21copyright: bump to 2024copyCat35-35/+35
2024-05-20Merge pull request #9151luigi11114-6/+6
ff49444 @tobtoht: undo rebase changes tx.dsts -> tx_dsts (jeffro256) 38f354e Enforce Tx unlock_time is Zero by Relay Rule (jeffro256)
2024-05-20Merge pull request #8920luigi11111-7/+6
236e5d4 update TimingsDatabase to support csv format and incremental updating (koe)
2024-02-24Enforce Tx unlock_time is Zero by Relay Rulejeffro2564-6/+6
Related to https://github.com/monero-project/research-lab/issues/78 Added a relay rule that enforces the `unlock_time` field is equal to 0 for non-coinbase transactions. UIs changed: * Removed `locked_transfer` and `locked_sweep_all` commands from `monero-wallet-cli` APIs changed: * Removed `unlock_time` parameters from `wallet2` transfer methods * Wallet RPC transfer endpoints send error codes when requested unlock time is not 0 * Removed `unlock_time` parameters from `construct_tx*` cryptonote core functions
2023-09-10add seraphis_crypto directorykoe1-0/+1
2023-09-10update TimingsDatabase to support csv format and incremental updatingkoe1-7/+6
2023-06-27Merge pull request #8659luigi11112-30/+81
5c505bd performance test framework updates: allow custom test parameters, better error reporting (koe)
2023-01-16Copyright: Update to 2023mj-xmr35-35/+35
Co-authored-by: plowsof <plowsof@protonmail.com> extra files
2022-12-01performance test framework updates: allow custom test parameters, better ↵koe2-30/+81
error reporting
2022-06-30multisig: fix critical vulnerabilities in signinganon3-4/+4
2022-04-29Update copyright to 2022 for Hardfork filesAkrit3-3/+3
Update Makefile and LICENSE
2022-04-18Add view tags to outputs to reduce wallet scanning timej-berman5-2/+175
Implements view tags as proposed by @UkoeHB in MRL issue https://github.com/monero-project/research-lab/issues/73 At tx construction, the sender adds a 1-byte view tag to each output. The view tag is derived from the sender-receiver shared secret. When scanning for outputs, the receiver can check the view tag for a match, in order to reduce scanning time. When the view tag does not match, the wallet avoids the more expensive EC operations when deriving the output public key using the shared secret.
2022-04-06Merge pull request #8197luigi111132-32/+34
da9aa1f Copyright: Update to 2022 (mj-xmr)
2022-04-05plug bulletproofs plus into consensusmoneromooo-monero1-1/+0
2022-04-04Bulletproofs+Sarang Noether3-0/+122
2022-03-04Copyright: Update to 2022mj-xmr32-32/+34
2021-02-09Remove unused variables in monero codebaseKevin Barbour1-1/+0
There are quite a few variables in the code that are no longer (or perhaps never were) in use. These were discovered by enabling compiler warnings for unused variables and cleaning them up. In most cases where the unused variables were the result of a function call the call was left but the variable assignment removed, unless it was obvious that it was a simple getter with no side effects.
2020-10-28Add RELINK_TARGETS, monero_add_target_no_relink and use ↵mj-xmr1-1/+1
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.
2020-08-27Added balance check to MLSAG/CLSAG performance testsSarang Noether3-144/+282
2020-08-27Updated MLSAG and CLSAG tests for consistencySarang Noether3-31/+63
2020-08-27CLSAG verification performance testSarang Noether2-22/+40
2020-08-27CLSAG optimizationsSarang Noether1-2/+0
2020-08-27Integrate CLSAGs into moneromoneromooo-monero1-2/+2
They are allowed from v12, and MLSAGs are rejected from v13.
2020-08-27CLSAG signaturesSarang Noether4-4/+196
2020-07-19Merge pull request #6512Alexander Blair28-28/+28
5ef0607da Update copyright year to 2020 (SomaticFanatic)
2020-07-19Merge pull request #6497Alexander Blair2-2/+2
db8563cb performance_tests: some windows fixes (moneromooo-monero)
2020-05-06Update copyright year to 2020SomaticFanatic28-28/+28
Update copyright year to 2020
2020-05-03performance_tests: some windows fixesmoneromooo-monero2-2/+2
Too many iterations cause std::bad_alloc for the timings vector, and the micro prefix displays as some other character, so use u. Reported by iDunk
2020-04-14Bulletproofs: verification speedupSarang Noether2-0/+3
2019-09-30Merge pull request #5893luigi11111-1/+1
Coverity fixes [3a81639, 1bd962d, 2825f07, d099658, d46f701, cd57a10] (anonimal)
2019-09-07tests: rct_mlsag: resolve CID 203914 (UNINIT_CTOR)anonimal1-1/+1
2019-09-04difficulty: fix check_hash on big endianmoneromooo-monero1-4/+10
2019-08-27MLSAG speedup and additional checksSarang Noether2-24/+8
2019-05-01fix wide difficulty conversion with some versions of boostmoneromooo-monero1-4/+4
2019-03-24Make difficulty 128 bit instead of 64 bitmoneromooo-monero3-0/+76
Based on Boolberry work by: jahrsg <jahr@jahr.me> cr.zoidberg <crypto.zoidberg@gmail.com>
2019-03-17Merge pull request #5192Riccardo Spagni1-2/+2
d0e07b3d performance_tests: fix NetBSD build (moneromooo-monero) 7d88d8f2 discontinue use of alloca (moneromooo-monero)
2019-03-05Update 2019 copyrightbinaryFate27-27/+27
2019-03-04Merge pull request #5102Riccardo Spagni2-62/+59
1eef0565 performance_tests: better stats, and keep track of timing history (moneromooo-monero)
2019-03-04performance_tests: add tests for new Cryptonight variantsmoneromooo-monero2-10/+10
2019-02-25performance_tests: fix NetBSD buildmoneromooo-monero1-2/+2
2019-01-28performance_tests: better stats, and keep track of timing historymoneromooo-monero2-62/+59
2019-01-22add a bulletproof version, new bulletproof type, and rct configmoneromooo-monero3-23/+25
This makes it easier to modify the bulletproof format
2018-11-16Merge pull request #4795Riccardo Spagni2-0/+6
5d7c2316 rct: add a zeroCommit cache for common pre-rct case (moneromooo-monero)
2018-11-06Merge pull request #4732Riccardo Spagni3-5/+93
3a056b73 performance_tests: add ge_p3_tobytes (moneromooo-monero) 30f728e3 performance_tests: measure ge_frombytes_vartime only (moneromooo-monero)
2018-11-04rct: add a zeroCommit cache for common pre-rct casemoneromooo-monero2-0/+6
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.
2018-10-26performance_tests: add ge_p3_tobytesmoneromooo-monero2-0/+81
2018-10-26performance_tests: measure ge_frombytes_vartime onlymoneromooo-monero1-5/+12
not an extra dynamic cast, which might be heavy
2018-10-22multiexp: handle pippenger multiexps with part precalcmoneromooo-monero1-2/+2
2018-10-22performance_tests: sc_check and ge_dsm_precompmoneromooo-monero4-0/+60
2018-09-29Merge pull request #4459Riccardo Spagni1-4/+4
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)
2018-09-11bulletproofs: speed up the latest changes a bitmoneromooo-monero2-0/+6
2018-09-11performance_tests: add padded bulletproof constructionmoneromooo-monero2-2/+14
2018-09-11v8: per byte fee, pad bulletproofs, fixed 11 ring sizemoneromooo-monero2-19/+22
2018-09-11bulletproofs: reject points not in the main subgroupmoneromooo-monero2-0/+3
2018-09-11Add Pippenger cache and limit Straus cache sizemoneromooo-monero2-9/+135
2018-09-11performance_tests: add stats and loop count multiplier optionsmoneromooo-monero2-317/+409
Stats are: min, median, standard deviation
2018-09-11performance_tests: add aggregated bulletproof tx verificationmoneromooo-monero2-0/+81
2018-09-11Pippenger multiexpmoneromooo-monero2-1/+146
Based on sarang's python code
2018-09-11performance_tests: document the tested bulletproof layoutsmoneromooo-monero1-8/+8
2018-09-11Bulletproof aggregated verification and testsmoneromooo-monero1-1/+1
Also constrains bulletproofs to simple rct, for simplicity
2018-09-11performance_tests: add signature generation/verificationmoneromooo-monero3-0/+72
2018-09-11bulletproofs: add aggregated verificationmoneromooo-monero3-0/+51
Ported from sarang's java code
2018-09-11make straus cached mode thread safe, and add tests for itmoneromooo-monero2-1/+13
2018-09-11bulletproofs: add multi output bulletproofs to rctmoneromooo-monero1-1/+1
2018-09-11performance_tests: add tx checking tests with more than 2 outputsmoneromooo-monero2-12/+23
2018-09-11performance_tests: add a --verbose flag, and default to tersemoneromooo-monero2-121/+135
2018-09-11add Straus multiexpmoneromooo-monero3-0/+97
2018-09-11performance_tests: add crypto opsmoneromooo-monero3-0/+133
2018-09-11performance_tests: add bulletproofsmoneromooo-monero3-0/+73
2018-09-11performance_tests: add RingCT MLSAG gen/ver testsmoneromooo-monero1-0/+10
2018-09-11performance_tests: add (Borromean) range proofsmoneromooo-monero3-0/+68
2018-09-11performance_tests: don't override log level to 0moneromooo-monero1-1/+0
2018-08-23add and use constant time 32 byte equality functionmoneromooo-monero2-0/+78
2018-07-07core_tests: add --filter to select which tests to runmoneromooo-monero1-20/+1
2018-03-27performance_tests: fix subaddress expansion test not expandingmoneromooo-monero1-1/+1
2018-03-14keypair::generate: always require hw::device to avoid possible mistakestoffu1-1/+1
2018-03-04Code modifications to integrate Ledger HW device into monero-wallet-cli.cslashm3-4/+5
The basic approach it to delegate all sensitive data (master key, secret ephemeral key, key derivation, ....) and related operations to the device. As device has low memory, it does not keep itself the values (except for view/spend keys) but once computed there are encrypted (with AES are equivalent) and return back to monero-wallet-cli. When they need to be manipulated by the device, they are decrypted on receive. Moreover, using the client for storing the value in encrypted form limits the modification in the client code. Those values are transfered from one C-structure to another one as previously. The code modification has been done with the wishes to be open to any other hardware wallet. To achieve that a C++ class hw::Device has been introduced. Two initial implementations are provided: the "default", which remaps all calls to initial Monero code, and the "Ledger", which delegates all calls to Ledger device.
2018-02-16Merge pull request #3226Riccardo Spagni1-1/+1
e4646379 keccak: fix mdlen bounds sanity checking (moneromooo-monero) 2e3e90ac pass large parameters by const ref, not value (moneromooo-monero) 61defd89 blockchain: sanity check number of precomputed hash of hash blocks (moneromooo-monero) 9af6b2d1 ringct: fix infinite loop in unused h2b function (moneromooo-monero) 8cea8d0c simplewallet: double check a new multisig wallet is multisig (moneromooo-monero) 9b98a6ac threadpool: catch exceptions in dtor, to avoid terminate (moneromooo-monero) 24803ed9 blockchain_export: fix buffer overflow in exporter (moneromooo-monero) f3f7da62 perf_timer: rewrite to make it clear there is no division by zero (moneromooo-monero) c6ea3df0 performance_tests: remove add_arg call stray extra param (moneromooo-monero) fa6b4566 fuzz_tests: fix an uninitialized var in setup (moneromooo-monero) 03887f11 keccak: fix sanity check bounds test (moneromooo-monero) ad11db91 blockchain_db: initialize m_open in base class ctor (moneromooo-monero) bece67f9 miner: restore std::cout precision after modification (moneromooo-monero) 1aabd14c db_lmdb: check hard fork info drop succeeded (moneromooo-monero)
2018-02-07Fix coverity issues in performance_tests/main.cpph9087141241-0/+2
2018-02-02performance_tests: remove add_arg call stray extra parammoneromooo-monero1-1/+1
Coverity 182572
2018-01-27Merge pull request #3185Riccardo Spagni1-8/+8
fccd1df1 performance_tests: fix build after merging two conflicting patches (moneromooo-monero)
2018-01-26Readd copyright starting datexmr-eric2-2/+2
2018-01-26Update 2018 copyrightxmr-eric20-20/+20
2018-01-26performance_tests: fix build after merging two conflicting patchesmoneromooo-monero1-8/+8
2018-01-25Merge pull request #3064Riccardo Spagni2-63/+108
62c45c0d performance_tests: add a --filter option to select what to run (moneromooo-monero)
2018-01-25Merge pull request #3042Riccardo Spagni2-0/+97
ed215d34 performance_tests: add RingCT MLSAG gen/ver tests (moneromooo-monero)
2018-01-04performance_tests: add a --filter option to select what to runmoneromooo-monero2-63/+108
Removes a good bit of annoyance running those
2017-12-31performance_tests: add RingCT MLSAG gen/ver testsmoneromooo-monero2-0/+97
2017-12-18performance_tests: add a test for subaddress expansionmoneromooo-monero3-0/+70
2017-12-16move includes around to lessen overall loadmoneromooo-monero1-0/+1
2017-12-08add bulletproofs from v7 on testnetmoneromooo-monero1-1/+1
2017-11-14make this build on SunOS/SolarisPavel Maryanov1-2/+2
2017-11-14Merge pull request #2696Riccardo Spagni1-0/+2
937e7f8a Initialize openssl on startup (moneromooo-monero)
2017-10-21Initialize openssl on startupmoneromooo-monero1-0/+2
2017-10-17core_tests: fix for subaddress patchkenshi841-1/+1
2017-10-16performance_tests: add master spend pubkey to subaddress hashtablekenshi841-0/+1
2017-10-15performance_tests: fix build after subaddress patchmoneromooo-monero1-1/+4
2017-10-07Subaddresseskenshi846-7/+18
2017-10-02Merge pull request #2518Riccardo Spagni2-2/+2
6a0fb301 performance_tests: adjust some iterations down a bit (moneromooo-monero)
2017-09-25performance_tests: add a test for is_out_to_acc_precompmoneromooo-monero2-0/+23
2017-09-24performance_tests: adjust some iterations down a bitmoneromooo-monero2-2/+2
2017-05-23changed crypto to cncrypto so it generated libcncryptoGentian1-1/+1
fix a cmakelist
2017-02-21update copyright year, fix occasional lack of newline at line endRiccardo Spagni16-16/+16
2017-02-12tests: fixup include paths after cryptonote_core splitmoneromooo-monero1-1/+1
2017-02-12Merge pull request #1706Riccardo Spagni4-4/+132
7403e56f performance_tests: report small time per call in microseconds (moneromooo-monero) cadada2d performance_tests: add tests for sc_reduce32 and cn_fast_hash (moneromooo-monero) 962c72b6 performance_tests: initialize logging at startup (moneromooo-monero)
2017-02-10performance_tests: report small time per call in microsecondsmoneromooo-monero1-3/+13
This is to not report quick operations as 0 milliseconds
2017-02-10performance_tests: add tests for sc_reduce32 and cn_fast_hashmoneromooo-monero3-1/+116
2017-02-10performance_tests: initialize logging at startupmoneromooo-monero1-0/+3
2017-02-08extract some basic code from libcryptonote_core into libcryptonote_basickenshi8413-25/+25
2017-01-16Change logging to easylogging++moneromooo-monero1-0/+1
This replaces the epee and data_loggers logging systems with a single one, and also adds filename:line and explicit severity levels. Categories may be defined, and logging severity set by category (or set of categories). epee style 0-4 log level maps to a sensible severity configuration. Log files now also rotate when reaching 100 MB. To select which logs to output, use the MONERO_LOGS environment variable, with a comma separated list of categories (globs are supported), with their requested severity level after a colon. If a log matches more than one such setting, the last one in the configuration string applies. A few examples: This one is (mostly) silent, only outputting fatal errors: MONERO_LOGS=*:FATAL This one is very verbose: MONERO_LOGS=*:TRACE This one is totally silent (logwise): MONERO_LOGS="" This one outputs all errors and warnings, except for the "verify" category, which prints just fatal errors (the verify category is used for logs about incoming transactions and blocks, and it is expected that some/many will fail to verify, hence we don't want the spam): MONERO_LOGS=*:WARNING,verify:FATAL Log levels are, in decreasing order of priority: FATAL, ERROR, WARNING, INFO, DEBUG, TRACE Subcategories may be added using prefixes and globs. This example will output net.p2p logs at the TRACE level, but all other net* logs only at INFO: MONERO_LOGS=*:ERROR,net*:INFO,net.p2p:TRACE Logs which are intended for the user (which Monero was using a lot through epee, but really isn't a nice way to go things) should use the "global" category. There are a few helper macros for using this category, eg: MGINFO("this shows up by default") or MGINFO_RED("this is red"), to try to keep a similar look and feel for now. Existing epee log macros still exist, and map to the new log levels, but since they're used as a "user facing" UI element as much as a logging system, they often don't map well to log severities (ie, a log level 0 log may be an error, or may be something we want the user to see, such as an important info). In those cases, I tried to use the new macros. In other cases, I left the existing macros in. When modifying logs, it is probably best to switch to the new macros with explicit levels. The --log-level options and set_log commands now also accept category settings, in addition to the epee style log levels.
2016-12-15Preliminary support for DragonFly BSDAntonio Huete Jimenez1-2/+2
- It builds but no further testing has been done.
2016-11-04performance_tests: re-enable them...moneromooo-monero1-2/+0
I think I'm the only one to review things here...
2016-10-26tests: add performance test for keypair::generatemoneromooo-monero3-0/+56
2016-10-08tests: add performance test for ge_frombytes_vartimemoneromooo-monero3-0/+73
At luigi1111's request
2016-10-08tests: add performance tests for rct signaturesmoneromooo-monero6-36/+69
2016-09-18cmake: transitive deps and remove deprecated LINK_*redfish1-2/+1
Keep the immediate direct deps at the library that depends on them, declare deps as PUBLIC so that targets that link against that library get the library's deps as transitive deps. Break dep cycle between blockchain_db <-> crytonote_core. No code refactoring, just hide cycle from cmake so that it doesn't complain (cycles are allowed only between static libs, not shared libs). This is in preparation for supproting BUILD_SHARED_LIBS cmake built-in option for building internal libs as shared.
2016-08-28New "Halfway RingCT" outputs for coinbase transactionsmoneromooo-monero1-0/+1
When RingCT is enabled, outputs from coinbase transactions are created as a single output, and stored as RingCT output, with a fake mask. Their amount is not hidden on the blockchain itself, but they are then able to be used as fake inputs in a RingCT ring. Since the output amounts are hidden, their "dustiness" is not an obstacle anymore to mixing, and this makes the coinbase transactions a lot smaller, as well as helping the TXO set to grow more slowly. Also add a new "Null" type of rct signature, which decreases the size required when no signatures are to be stored, as in a coinbase tx.
2016-08-28add rct to the protocolmoneromooo-monero1-1/+1
It is not yet constrained to a fork, so don't use on the real network or you'll be orphaned or rejected.
2016-02-22move g_test_dbg_lock_sleep from a global to a function level staticmoneromooo-monero1-2/+0
This avoids the need to define that variable in every program which uses epee.
2016-01-21OpenBSD support for Monero.me0wmix1-2/+2
2015-12-31updated copyright yearRiccardo Spagni15-15/+15
2015-02-242014 network limit 1.3 fix log/path/data +utilsrfree2monero1-0/+2
+toc -doc -drmonero Fixed the windows path, and improved logging and data (for graph) logging, fixed some locks and added more checks. Still there is a locking error, not added by my patches, but present in master version (locking of map/list of peers).
2015-01-02year updated in licenseRiccardo Spagni15-15/+15
2014-10-24cmake: fix up link linesBen Boeckel1-1/+2
2014-10-24cmake: support 2.8.7Ben Boeckel1-1/+1
Older versions of CMake support LINK_{PUBLIC,PRIVATE} while newer versions prefer PUBLIC and PRIVATE instead, but still support the LINK_ prefix.
2014-10-23cmake: put each test executable in its own directoryBen Boeckel1-0/+60
2014-09-11cpu affinity fixes in performance tests for FreeBSDfluffypony1-2/+2
2014-07-23License updated to BSD 3-clausefluffypony14-42/+406
2014-05-25extra filesmydesktop1-0/+45
2014-05-250.8.8updatemydesktop1-0/+3
2014-05-03initial [broken] updatemydesktop3-3/+3
2014-04-30mac osx building fixesmydesktop1-1/+1
2014-04-30various fixes to allow mac osx compilationmydesktop1-2/+6
2014-04-02json rpc for wallet and bugfixAntonio Juarez2-4/+2
2014-03-03moved all stuff to githubAntonio Juarez13-0/+630