summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Add a --fluffy-blocks option to relay blocks as fluffy blocksmoneromooo-monero2017-09-032-0/+2
| | | | Defaults to off, but fluffy blocks are forced enabled on testnet
* Merge pull request #2319Riccardo Spagni2017-08-263-0/+3
|\ | | | | | | | | c22d22e2 Cleanup test impact of adding safesyncmode() method (Howard Chu) 9a859844 Toggle SAFE syncmode on and off automatically (Howard Chu)
| * Cleanup test impact of adding safesyncmode() methodHoward Chu2017-08-222-0/+2
| |
| * Toggle SAFE syncmode on and off automaticallyHoward Chu2017-08-201-0/+1
| | | | | | | | | | | | | | | | | | If monerod is started with default sync mode, set it to SAFE after synchronization completes. Set it back to FAST if synchronization restarts (e.g. because another peer has a longer blockchain). If monerod is started with an explicit sync mode, none of this automation takes effect.
* | Cleanup test impact of moving blockchain_db_types()Howard Chu2017-08-222-0/+12
|/
* DB cleanupHoward Chu2017-08-191-1/+1
| | | | | Hide LMDB-specific stuff behind blockchain_db.h. Nobody besides blockchain_db.cpp should ever be including DB-specific headers any more.
* Merge pull request #2303Riccardo Spagni2017-08-172-2/+2
|\ | | | | | | | | 5a283078 cryptonote_protocol: large block sync size before v4 (moneromooo-monero) 7b747607 cryptonote_protocol: kick idle synchronizing peers (moneromooo-monero)
| * cryptonote_protocol: large block sync size before v4moneromooo-monero2017-08-172-2/+2
| |
* | Merge pull request #2287Riccardo Spagni2017-08-172-0/+2
|\ \ | |/ |/| | | 827afcb7 protocol: pass blockchain cumulative difficulty when syncing (moneromooo-monero)
| * protocol: pass blockchain cumulative difficulty when syncingmoneromooo-monero2017-08-152-0/+2
| | | | | | | | Not used yet.
* | Merge pull request #2292Riccardo Spagni2017-08-151-1/+3
|\ \ | |/ |/| | | cb2d5ac7 mnemonics: new Esperanto word list (moneromooo-monero)
| * mnemonics: new Esperanto word listmoneromooo-monero2017-08-141-1/+3
| | | | | | | | | | | | | | | | | | Word list authored by: Engelberg, ProkhorZ Sources: Baza Radikaro Oficiala Reta Vortaro (http://www.reta-vortaro.de/revo/) Esperanto Panorama - Esperanto-English Dictionary (http://www.esperanto-panorama.net/vortaro/eoen.htm) ESPDIC - Paul Denisowski (http://www.denisowski.org/Esperanto/ESPDIC/espdic.txt)
* | Merge pull request #2276Riccardo Spagni2017-08-152-0/+4
|\ \ | |/ |/| | | a1891ebe tests: fix tests build (moneromooo-monero)
| * tests: fix tests buildmoneromooo-monero2017-08-102-0/+4
| | | | | | | | | | | | | | Add get_fork_version and add_ideal_fork_version to core so cryptonote_protocol does not have to need the Blockchain class directly, as it's not in its dependencies, and add those to the fake core classes in tests too.
* | protocol: fix reorgs while syncingmoneromooo-monero2017-08-121-188/+0
|/
* core: thread most of handle_incoming_txmoneromooo-monero2017-08-071-0/+1
|
* cryptonote_protocol_handler: sync speedupmoneromooo-monero2017-08-074-0/+291
| | | | | | | | 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.
* Merge pull request #2116Riccardo Spagni2017-07-0318-0/+685
|\ | | | | | | 841231e5 Add fuzz testing using american fuzzy lop (moneromooo-monero)
| * Add fuzz testing using american fuzzy lopmoneromooo-monero2017-06-2418-0/+685
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Existing tests: block, transaction, signature, cold outputs, cold transaction. Data for these is in tests/data/fuzz. A convenience shell script is in contrib/fuzz_testing/fuzz.sh, eg: contrib/fuzz_testing/fuzz.sh signature The fuzzer will run indefinitely, ^C to stop. Fuzzing is currently supported for GCC only. I can't get CLANG to build Monero here as it dies on some system headers, so if someone wants to make it work on both, that'd be great. In particular, the __AFL_LOOP construct should be made to work so that a given run can fuzz multiple inputs, as the C++ load time is substantial.
* | unit_tests: fix build failures after network_address changesmoneromooo-monero2017-06-192-64/+68
|/
* Merge pull request #2082Riccardo Spagni2017-06-181-0/+1
|\ | | | | | | 235df7f4 blockchain_db: add a txpool tx getter which returns existence (moneromooo-monero)
| * blockchain_db: add a txpool tx getter which returns existencemoneromooo-monero2017-06-111-0/+1
| | | | | | | | Avoids exception spam for the "nope, not found" case
* | core_tests: fix tests failing due to new txpool code requitring batch ↵moneromooo-monero2017-06-091-0/+1
|/ | | | transactions
* Don't copy blockchain for coinbase_tx_sumHoward Chu2017-06-011-1/+1
| | | | | Changed Blockchain::for_all_blocks() to for_blocks_range() Operate on blockchain in-place instead of building a copy first.
* Merge pull request #2039Riccardo Spagni2017-05-305-9/+9
|\ | | | | | | 4b932ff3 changed crypto to cncrypto so it generated libcncrypto (Gentian)
| * changed crypto to cncrypto so it generated libcncryptoGentian2017-05-235-9/+9
| | | | | | | | fix a cmakelist
* | Merge pull request #2036Riccardo Spagni2017-05-301-2/+10
|\ \ | | | | | | | | | | | | 89b2f306 tests: fix invalid key image test (moneromooo-monero) a374a522 wallet2: check key image validity domain in import_key_images (moneromooo-monero)
| * | tests: fix invalid key image testmoneromooo-monero2017-05-181-2/+10
| |/ | | | | | | | | | | It was using an invalid key image which wasn't in the key image domain, so the transaction was rejected earlier than the test was expecting
* | Merge pull request #2016Riccardo Spagni2017-05-301-2/+2
|\ \ | | | | | | | | | d1db3251 Fix overlooked renaming of Português in the unit tests (Nano Akron)
| * | Fix overlooked renaming of Português in the unit testsNano Akron2017-05-071-2/+2
| |/
* | Merge pull request #1982Riccardo Spagni2017-05-304-2/+23
|\ \ | |/ |/| | | b52abd13 Move txpool to the database (moneromooo-monero)
| * Move txpool to the databasemoneromooo-monero2017-05-254-2/+23
| | | | | | | | | | | | | | Integration could go further (ie, return_tx_to_pool calls should not be needed anymore, possibly other things). poolstate.bin is now obsolete.
* | Change Old_English to English_Old - 'Old English' is actually a languageNano Akron2017-04-241-1/+1
| |
* | Merge pull request #1983Riccardo Spagni2017-04-241-1/+3
|\ \ | | | | | | | | | | | | 72d113dd Amended software licenses for Portuguese and Spanish (Nano Akron) 54bcd260 Added Simplified Chinese electrum word list (Nano Akron)
| * | Added Simplified Chinese electrum word listNano Akron2017-04-161-1/+3
| |/
* | Simplified the implementation and features of spanLee Clagett2017-04-111-1/+1
| |
* | Improvements for epee binary to hex functions:Lee Clagett2017-04-115-8/+415
|/ | | | | | | - Performance improvements - Added `span` for zero-copy pointer+length arguments - Added `std::ostream` overload for direct writing to output buffers - Removal of unused `string_tools::buff_to_hex`
* Replace deprecated tmpnam function.Randi Joseph2017-03-291-10/+16
|
* mnemonics: sanity checks for word listsmoneromooo-monero2017-03-251-1/+30
| | | | | | | and a test to go with it Remember to run the test when changing word lists, or simplewallet will throw uncaught if that word list is used.
* core: cache tx and block hashes in the respective classesmoneromooo-monero2017-03-231-0/+14
| | | | An idea from smooth
* Removed boost/asio.hpp include from epee/string_tools.hLee Clagett2017-03-182-0/+98
|
* Add intervening v5 fork for increased min block sizemoneromooo-monero2017-03-151-25/+25
| | | | | | | | | | Minimum mixin 4 and enforced ringct is moved from v5 to v6. v5 is now used for an increased minimum block size (from 60000 to 300000) to cater for larger typical/minimum transaction size. The fee algorithm is also changed to decrease the base per kB fee, and add a cheap tier for those transactions which we do not care if they get delayed (or even included in a block).
* fix dependency: put HardFork back to cryptonote_basic, made some ↵kenshi842017-03-101-1/+1
| | | | BlockchainDB functions virtual again to avoid missing symbols error
* unit_tests: fix fee tests after quantization changemoneromooo-monero2017-03-041-22/+35
|
* core: move hardfork back to cryptonote_coremoneromooo-monero2017-02-251-1/+1
| | | | | should fix a cross dependency betewen cryptonote_basic and blockchain_db
* fix broken test dataRiccardo Spagni2017-02-221-0/+0
|
* update copyright year, fix occasional lack of newline at line endRiccardo Spagni2017-02-21112-111/+111
|
* Merge pull request #1758Riccardo Spagni2017-02-211-1/+2
|\ | | | | | | 5664826a unit_tests: hardfork unit test now needs get_block_blob_from_height (moneromooo-monero)
| * unit_tests: hardfork unit test now needs get_block_blob_from_heightmoneromooo-monero2017-02-211-1/+2
| |
* | More for PR #1724Howard Chu2017-02-211-1/+1
|/ | | | Fix unit_tests build (get_output_key API change)