aboutsummaryrefslogtreecommitdiff
path: root/tests/core_proxy/core_proxy.cpp
Commit message (Collapse)AuthorAgeFilesLines
* blockchain sync: reduce disk writes from 2 to 1 per txjeffro2562025-03-101-295/+0
|
* Copyright: Update to 2022mj-xmr2022-03-041-1/+1
|
* protocol: more sanity checks in new chain block hashesmoneromooo-monero2020-12-311-1/+6
|
* Merge pull request #6516Alexander Blair2020-07-191-1/+0
|\ | | | | | | 8656a8c9f remove double includes (sumogr)
| * remove double includessumogr2020-05-111-1/+0
| |
* | Update copyright year to 2020SomaticFanatic2020-05-061-1/+1
|/ | | | Update copyright year to 2020
* Adding support for hidden (anonymity) txpoolLee Clagett2019-11-021-4/+4
|
* Merge pull request #5915luigi11112019-10-081-4/+10
|\ | | | | | | 8330e77 monerod can now sync from pruned blocks (moneromooo-monero)
| * monerod can now sync from pruned blocksmoneromooo-monero2019-09-271-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | If the peer (whether pruned or not itself) supports sending pruned blocks to syncing nodes, the pruned version will be sent along with the hash of the pruned data and the block weight. The original tx hashes can be reconstructed from the pruned txes and theur prunable data hash. Those hashes and the block weights are hashes and checked against the set of precompiled hashes, ensuring the data we received is the original data. It is currently not possible to use this system when not using the set of precompiled hashes, since block weights can not otherwise be checked for validity. This is off by default for now, and is enabled by --sync-pruned-blocks
* | RandomX integrationHoward Chu2019-09-251-2/+2
|/ | | | Support RandomX PoW algorithm
* Update 2019 copyrightbinaryFate2019-03-051-1/+1
|
* cryptonote: avoid double parsing blocks when syncingmoneromooo-monero2019-03-051-1/+1
|
* replace std::list with std::vector on some hot pathsmoneromooo-monero2018-06-261-1/+1
| | | | also use reserve where appropriate
* options: remove testnet-* optionswhythat2018-02-161-2/+1
|
* Update 2018 copyrightxmr-eric2018-01-261-1/+1
|
* cryptonote_core does not depend on p2p anymoremoneromooo-monero2017-12-161-0/+2
| | | | | | As a followon side effect, this makes a lot of inline code included only in particular cpp files (and instanciated when necessary.
* Merge pull request #2736Riccardo Spagni2017-11-141-1/+1
|\ | | | | | | | | | | | | | | | | | | 0d9c0db9 Do not build against epee_readline if it was not built (Howard Chu) 178014c9 split off readline code into epee_readline (moneromooo-monero) a9e14a19 link against readline only for monerod and wallet-wallet-{rpc,cli} (moneromooo-monero) 437421ce wallet: move some scoped_message_writer calls from the libs (moneromooo-monero) e89994e9 wallet: rejig to avoid prompting in wallet2 (moneromooo-monero) ec5135e5 move input_line from command_line to simplewallet (moneromooo-monero) 082db75f move cryptonote command line options to cryptonote_core (moneromooo-monero)
| * move cryptonote command line options to cryptonote_coremoneromooo-monero2017-11-141-1/+1
| | | | | | | | Those have no reason to be in a generic module
* | remove "using namespace std" from headersmoneromooo-monero2017-11-141-4/+2
|/ | | | | | | It's nasty, and actually breaks on Solaris, where if.h fails to build due to: struct map *if_memmap;
* Initialize openssl on startupmoneromooo-monero2017-10-211-1/+1
|
* move checkpoints in a separate librarymoneromooo-monero2017-09-251-2/+2
|
* get_blockchain_top now returns voidmoneromooo-monero2017-09-251-2/+1
| | | | | | It was always returning true, and could not be foreseen to usefully return errors in the future. This silences CID 162652 as well as saves some checking code in a few places.
* cryptonote_protocol_handler: sync speedupmoneromooo-monero2017-08-071-0/+13
| | | | | | | | A block queue is now placed between block download and block processing. Blocks are now requested only from one peer (unless starved). Includes a new sync_info coommand.
* update copyright year, fix occasional lack of newline at line endRiccardo Spagni2017-02-211-1/+1
|
* fixups in logging init calls, and add missing net context in a logmoneromooo-monero2017-01-161-1/+1
|
* Change logging to easylogging++moneromooo-monero2017-01-161-20/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* fix do_not_relay not preventing relaying on a timermoneromooo-monero2017-01-141-1/+1
| | | | Also print its value when printing pool
* 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.
* updated copyright yearRiccardo Spagni2015-12-311-1/+1
|
* Relay transactions when they linger too long in the poolmoneromooo-monero2015-11-211-1/+1
| | | | | | | | The last relayed time of a transaction is maintained, and transactions will be relayed again if they are still in the pool after a certain amount of time, which increases with the transaction's age. All such transactions are resent, whether or not they originated on the local node.
* Merge remote-tracking branch 'monero-official/master' into network-1.6-work1rfree2monero2015-04-011-2/+1
|\
| * Fix tests building -- function signatures changedThomas Winget2015-03-011-2/+1
| |
* | 2014 network limit 1.3 fix log/path/data +utilsrfree2monero2015-02-241-0/+3
|/ | | | | | | | | | | +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-021-1/+1
|
* Pass tx and nonce to genesis block constructorZachary Michaels2014-09-151-1/+1
|
* Reorganize testnet constantsZachary Michaels2014-09-151-1/+4
|
* Add testnet flagZachary Michaels2014-09-151-1/+1
| | | | Source: cryptonotefoundation
* License updated to BSD 3-clausefluffypony2014-07-231-3/+29
|
* moved all stuff to githubAntonio Juarez2014-03-031-0/+249