aboutsummaryrefslogtreecommitdiff
path: root/tests/performance_tests
Commit message (Collapse)AuthorAgeFilesLines
* keypair::generate: always require hw::device to avoid possible mistakestoffu2018-03-141-1/+1
|
* Code modifications to integrate Ledger HW device into monero-wallet-cli.cslashm2018-03-043-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.
* Merge pull request #3226Riccardo Spagni2018-02-161-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)
| * performance_tests: remove add_arg call stray extra parammoneromooo-monero2018-02-021-1/+1
| | | | | | | | Coverity 182572
* | Fix coverity issues in performance_tests/main.cpph9087141242018-02-071-0/+2
|/
* Merge pull request #3185Riccardo Spagni2018-01-271-8/+8
|\ | | | | | | fccd1df1 performance_tests: fix build after merging two conflicting patches (moneromooo-monero)
| * performance_tests: fix build after merging two conflicting patchesmoneromooo-monero2018-01-261-8/+8
| |
* | Readd copyright starting datexmr-eric2018-01-262-2/+2
| |
* | Update 2018 copyrightxmr-eric2018-01-2620-20/+20
|/
* Merge pull request #3064Riccardo Spagni2018-01-252-52/+97
|\ | | | | | | 62c45c0d performance_tests: add a --filter option to select what to run (moneromooo-monero)
| * performance_tests: add a --filter option to select what to runmoneromooo-monero2018-01-042-52/+97
| | | | | | | | Removes a good bit of annoyance running those
* | Merge pull request #3042Riccardo Spagni2018-01-252-0/+97
|\ \ | |/ |/| | | ed215d34 performance_tests: add RingCT MLSAG gen/ver tests (moneromooo-monero)
| * performance_tests: add RingCT MLSAG gen/ver testsmoneromooo-monero2017-12-312-0/+97
| |
* | performance_tests: add a test for subaddress expansionmoneromooo-monero2017-12-183-0/+70
|/
* move includes around to lessen overall loadmoneromooo-monero2017-12-161-0/+1
|
* add bulletproofs from v7 on testnetmoneromooo-monero2017-12-081-1/+1
|
* make this build on SunOS/SolarisPavel Maryanov2017-11-141-2/+2
|
* Merge pull request #2696Riccardo Spagni2017-11-141-0/+2
|\ | | | | | | 937e7f8a Initialize openssl on startup (moneromooo-monero)
| * Initialize openssl on startupmoneromooo-monero2017-10-211-0/+2
| |
* | core_tests: fix for subaddress patchkenshi842017-10-171-1/+1
| |
* | performance_tests: add master spend pubkey to subaddress hashtablekenshi842017-10-161-0/+1
|/
* performance_tests: fix build after subaddress patchmoneromooo-monero2017-10-151-1/+4
|
* Subaddresseskenshi842017-10-076-7/+18
|
* Merge pull request #2518Riccardo Spagni2017-10-022-2/+2
|\ | | | | | | 6a0fb301 performance_tests: adjust some iterations down a bit (moneromooo-monero)
| * performance_tests: adjust some iterations down a bitmoneromooo-monero2017-09-242-2/+2
| |
* | performance_tests: add a test for is_out_to_acc_precompmoneromooo-monero2017-09-252-0/+23
|/
* changed crypto to cncrypto so it generated libcncryptoGentian2017-05-231-1/+1
| | | | fix a cmakelist
* update copyright year, fix occasional lack of newline at line endRiccardo Spagni2017-02-2116-16/+16
|
* tests: fixup include paths after cryptonote_core splitmoneromooo-monero2017-02-121-1/+1
|
* Merge pull request #1706Riccardo Spagni2017-02-124-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)
| * performance_tests: report small time per call in microsecondsmoneromooo-monero2017-02-101-3/+13
| | | | | | | | This is to not report quick operations as 0 milliseconds
| * performance_tests: add tests for sc_reduce32 and cn_fast_hashmoneromooo-monero2017-02-103-1/+116
| |
| * performance_tests: initialize logging at startupmoneromooo-monero2017-02-101-0/+3
| |
* | extract some basic code from libcryptonote_core into libcryptonote_basickenshi842017-02-0813-25/+25
|/
* Change logging to easylogging++moneromooo-monero2017-01-161-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.
* Preliminary support for DragonFly BSDAntonio Huete Jimenez2016-12-151-2/+2
| | | | - It builds but no further testing has been done.
* performance_tests: re-enable them...moneromooo-monero2016-11-041-2/+0
| | | | I think I'm the only one to review things here...
* tests: add performance test for keypair::generatemoneromooo-monero2016-10-263-0/+56
|
* tests: add performance test for ge_frombytes_vartimemoneromooo-monero2016-10-083-0/+73
| | | | At luigi1111's request
* tests: add performance tests for rct signaturesmoneromooo-monero2016-10-086-32/+65
|
* cmake: transitive deps and remove deprecated LINK_*redfish2016-09-181-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.
* New "Halfway RingCT" outputs for coinbase transactionsmoneromooo-monero2016-08-281-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.
* add rct to the protocolmoneromooo-monero2016-08-281-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.
* move g_test_dbg_lock_sleep from a global to a function level staticmoneromooo-monero2016-02-221-2/+0
| | | | | This avoids the need to define that variable in every program which uses epee.
* OpenBSD support for Monero.me0wmix2016-01-211-2/+2
|
* updated copyright yearRiccardo Spagni2015-12-3115-15/+15
|
* 2014 network limit 1.3 fix log/path/data +utilsrfree2monero2015-02-241-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).
* year updated in licenseRiccardo Spagni2015-01-0215-15/+15
|
* cmake: fix up link linesBen Boeckel2014-10-241-1/+2
|
* cmake: support 2.8.7Ben Boeckel2014-10-241-1/+1
| | | | | | Older versions of CMake support LINK_{PUBLIC,PRIVATE} while newer versions prefer PUBLIC and PRIVATE instead, but still support the LINK_ prefix.