aboutsummaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge pull request #2824Riccardo Spagni2017-11-252-1/+2
|\ | | | | | | 51895fd7 split wallet and wallet_api (moneromooo-monero)
| * split wallet and wallet_apimoneromooo-monero2017-11-162-1/+2
| | | | | | | | | | This speeds up building a lot when wallet2.h (or something it includes) changes, since all the API includes wallet2.h
* | unit_tests: fix running without --data-dirmoneromooo-monero2017-11-151-2/+2
|/ | | | | While there, also use the new is_arg_defaulted API instead of going to poke the internal API directly.
* Merge pull request #2771Riccardo Spagni2017-11-151-5/+1
|\ | | | | | | | | e3e838d0 kaccak: remove unused return value (moneromooo-monero) 4877aca2 keccak: some paranoid "can't happen" checks (moneromooo-monero)
| * kaccak: remove unused return valuemoneromooo-monero2017-11-111-5/+1
| |
* | Merge pull request #2812Riccardo Spagni2017-11-141-2/+2
|\ \ | | | | | | | | | 9ac52127 unit_tests: fix build after wallet2 list/vector change (moneromooo-monero)
| * | unit_tests: fix build after wallet2 list/vector changemoneromooo-monero2017-11-141-2/+2
| | |
* | | Merge pull request #2736Riccardo Spagni2017-11-146-6/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-146-6/+2
| |/ / | | | | | | | | | Those have no reason to be in a generic module
* | | Merge pull request #2644Riccardo Spagni2017-11-141-2/+2
|\ \ \ | | | | | | | | | | | | a17efcb0 make this build on SunOS/Solaris (Pavel Maryanov)
| * | | make this build on SunOS/SolarisPavel Maryanov2017-11-141-2/+2
| |/ /
* / / remove "using namespace std" from headersmoneromooo-monero2017-11-144-4/+5
|/ / | | | | | | | | | | | | It's nasty, and actually breaks on Solaris, where if.h fails to build due to: struct map *if_memmap;
* | Merge pull request #2720Riccardo Spagni2017-11-141-1/+1
|\ \ | | | | | | | | | 110339f5 unit_tests: fix data dir determination (moneromooo-monero)
| * | unit_tests: fix data dir determinationmoneromooo-monero2017-10-241-1/+1
| | |
* | | Merge pull request #2696Riccardo Spagni2017-11-149-1/+14
|\ \ \ | | | | | | | | | | | | 937e7f8a Initialize openssl on startup (moneromooo-monero)
| * | | Initialize openssl on startupmoneromooo-monero2017-10-219-1/+14
| |/ /
* | | Merge pull request #2691Riccardo Spagni2017-11-1410-12/+8
|\ \ \ | | | | | | | | | | | | f92f1606 core_tests: do not include chaingen_tests_list.h in all tests (moneromooo-monero)
| * | | core_tests: do not include chaingen_tests_list.h in all testsmoneromooo-monero2017-10-2010-12/+8
| |/ / | | | | | | | | | This fixes all tests being annoyingly rebuilt when one changes
* | | Merge pull request #2686Riccardo Spagni2017-11-142-6/+6
|\ \ \ | | | | | | | | | | | | 21b9f6f3 always use core_tests for consistency, not coretests (moneromooo-monero)
| * | | always use core_tests for consistency, not coretestsmoneromooo-monero2017-10-192-6/+6
| |/ / | | | | | | | | | | | | Other tests use unit_tests, performance_tests, etc. This fixes getting it wrong half the time when typing.
* | | Merge pull request #2670Riccardo Spagni2017-11-142-0/+119
|\ \ \ | | | | | | | | | | | | | | | | 4fb77946 unit tests: OOB indexes & adding subaddress (Cole Lightfighter) 4fd6a3d2 Subaddress unit tests (Cole Lightfighter)
| * | | unit tests: OOB indexes & adding subaddressCole Lightfighter2017-10-191-15/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Tests for checking proper error throwing for out-of-bounds subaddress indexes, and proper addition of subaddresses. Signed-off-by: Cole Lightfighter <cole@onicsla.bz>
| * | | Subaddress unit testsCole Lightfighter2017-10-172-0/+93
| |/ / | | | | | | | | | | | | | | | Basic unit test fixture, and initialization of a subaddress account. Signed-off-by: Cole Lightfighter <cole@onicsla.bz>
* | | Merge pull request #2617Riccardo Spagni2017-11-144-9/+17
|\ \ \ | | | | | | | | | | | | 7dbf76d0 Fix an object lifetime bug in net load tests (moneromooo-monero)
| * | | Fix an object lifetime bug in net load testsmoneromooo-monero2017-10-094-9/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The commands handler must not be destroyed before the config object, or we'll be accessing freed memory. An earlier attempt at using boost::shared_ptr to control object lifetime turned out to be very invasive, though would be a better solution in theory.
* | | | Protect node privacy by proper filtering in restricted-mode RPC answersbinaryFate2017-11-081-2/+2
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch allows to filter out sensitive information for queries that rely on the pool state, when running in restricted mode. This filtering is only applied to data sent back to RPC queries. Results of inline commands typed locally in the daemon are not affected. In practice, when running with `--restricted-rpc`: * get_transaction_pool will list relayed transactions with the fields "last relayed time" and "received time" set to zero. * get_transaction_pool will not list transaction that have do_not_relay set to true, and will not list key images that are used only for such transactions * get_transaction_pool_hashes.bin will not list such transaction * get_transaction_pool_stats will not count such transactions in any of the aggregated values that are computed The implementation does not make filtering the default, so developers should be mindful of this if they add new RPC functionality. Fixes #2590.
* | | Merge pull request #2483Riccardo Spagni2017-11-062-0/+145
|\ \ \ | | | | | | | | | | | | | | | | | | | | ff7745bb Edited test readme for accuracy and depth (Cole Lightfighter) c300ae56 Added test documentation & Keccak unit test (Cole Lightfighter) f6119a8e Added test documentation & Keccak unit test (Cole Lightfighter)
| * | | Edited test readme for accuracy and depthCole Lightfighter2017-10-011-120/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed some erroneous instructions, and added information about different test suites. Signed-off-by: Cole Lightfighter <cole@onicsla.bz>
| * | | Added test documentation & Keccak unit testCole Lightfighter2017-09-191-0/+178
| | | |
| * | | Added test documentation & Keccak unit testCole Lightfighter2017-09-191-0/+28
| | | |
* | | | Merge pull request #2662Riccardo Spagni2017-11-038-9/+11
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 88ebfd64 core_tests: fix for subaddress patch (kenshi84) e373a203 performance_tests: add master spend pubkey to subaddress hashtable (kenshi84)
| * | | | core_tests: fix for subaddress patchkenshi842017-10-177-9/+10
| | | | |
| * | | | performance_tests: add master spend pubkey to subaddress hashtablekenshi842017-10-161-0/+1
| | |_|/ | |/| |
* | | | Merge pull request #2666Riccardo Spagni2017-11-021-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | 8233a24b unit_tests: fix build on windows (moneromooo-monero)
| * | | | unit_tests: fix build on windowsmoneromooo-monero2017-10-161-1/+1
| |/ / / | | | | | | | | | | | | Reported by iDunk on IRC
* / / / fix libwallet api test after api changeJaquee2017-10-291-8/+8
|/ / /
* | | performance_tests: fix build after subaddress patchmoneromooo-monero2017-10-151-1/+4
| | |
* | | Merge pull request #2610Riccardo Spagni2017-10-152-7/+5
|\ \ \ | | | | | | | | | | | | 44c1d160 unit_tests: fix compiling on Windows (iDunk5400)
| * | | unit_tests: fix compiling on WindowsiDunk54002017-10-082-7/+5
| | |/ | |/|
* | | Merge pull request #2608Riccardo Spagni2017-10-152-10/+23
|\ \ \ | | | | | | | | | | | | fe484f30 unit_tests: data dir is now overridden with --data-dir (moneromooo-monero)
| * | | unit_tests: data dir is now overridden with --data-dirmoneromooo-monero2017-10-082-10/+23
| |/ / | | | | | | | | | rather than a raw string without option
* | | Merge pull request #2582Riccardo Spagni2017-10-152-0/+46
|\ \ \ | | | | | | | | | | | | 240f769d tests: add sha256sum unit test (moneromooo-monero)
| * | | tests: add sha256sum unit testmoneromooo-monero2017-10-052-0/+46
| | | |
* | | | Merge pull request #2565Riccardo Spagni2017-10-151-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | 452d4fae tests: fix hashchain unit tests (moneromooo-monero)
| * | | | tests: fix hashchain unit testsmoneromooo-monero2017-10-031-1/+1
| |/ / / | | | | | | | | | | | | and relax the not-empty safety check to stay more intuitiuve
* | | | Merge pull request #2555Riccardo Spagni2017-10-151-0/+14
|\ \ \ \ | | | | | | | | | | | | | | | a4b4651c dns_utils: allow an optional DNS server IP in DNS_PUBLIC (moneromooo-monero)
| * | | | dns_utils: allow an optional DNS server IP in DNS_PUBLICmoneromooo-monero2017-10-101-0/+14
| | |/ / | |/| | | | | | | | | | tcp://a.b.c.d
* | | | Merge pull request #2528Riccardo Spagni2017-10-151-1/+3
|\ \ \ \ | | | | | | | | | | | | | | | 551a8ea6 mnemonics: new Lojban word list (Wei Tang)
| * | | | mnemonics: new Lojban word listWei Tang2017-09-261-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Word list authored by: sorpaas Sources: lo gimste jo'u lo ma'oste (http://guskant.github.io/lojbo/gismu-cmavo.html) N-grams of Lojban corpus (https://mw.lojban.org/papri/N-grams_of_Lojban_corpus)
* | | | | Merge pull request #2469Riccardo Spagni2017-10-152-0/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | 7adceee6 precomputed block hashes are now in blocks of N (currently 256) (moneromooo-monero)