summaryrefslogtreecommitdiff
path: root/tests/unit_tests
Commit message (Collapse)AuthorAgeFilesLines
* update copyright year, fix occasional lack of newline at line endRiccardo Spagni2017-02-2132-32/+32
|
* 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)
* Merge pull request #1727Riccardo Spagni2017-02-212-2/+4
|\ | | | | | | 0288310e blockchain_db: add "raw" blobdata getters for block and transaction (moneromooo-monero)
| * blockchain_db: add "raw" blobdata getters for block and transactionmoneromooo-monero2017-02-132-2/+4
| | | | | | | | This speeds up operations such as serving blocks to syncing peers
* | Merge pull request #1721Riccardo Spagni2017-02-213-24/+25
|\ \ | | | | | | | | | 2cde2c02 switch to boost::thread for mingw build (Lee Clagett)
| * | switch to boost::thread for mingw buildLee Clagett2017-02-163-24/+25
| |/
* | Merge pull request #1731Riccardo Spagni2017-02-211-1/+1
|\ \ | | | | | | | | | | | | | | | a427235e core: add a missing newline on a string to be logged (moneromooo-monero) b6a2230e unit_tests: fix minor blockchain_db regression (moneromooo-monero) c488eca5 hardfork: tone down some logs (moneromooo-monero)
| * | unit_tests: fix minor blockchain_db regressionmoneromooo-monero2017-02-141-1/+1
| |/ | | | | | | | | | | Due to the change in ordering for adding block and tx data to the database in f2986ccfc1f41023cd667dbb488a10df492eb8e7, adding a block twice now throws TX_EXISTS, not BLOCK_EXISTS.
* / util: add a vercmp function to compare version numbersmoneromooo-monero2017-02-202-1/+45
|/ | | | | It is simple, supports simple x.y.z type numeric versions, and does not attempt any kind of validation
* cryptonote_protocol: misc fluffy block fixesmoneromooo-monero2017-02-121-0/+2
| | | | | | | | | | | | | | | - fix wrong block being used when a new block is received between a node elaying a fluffy block and sending a new fluffy block with txes a peer did not have - misc a neverending ping pong requesting the same missing txids when a new block is received in the meantime, causing the top block to not be the one we need - send the original fluffy block message block height when sending a new fluffy block, not the current top height, which might have been updated since - avoid sending back the whole block blob when asking for txes, send only the hash instead - plus misc cleanup and additional debugging logs
* Merge pull request #1689Riccardo Spagni2017-02-112-11/+25
|\ | | | | | | ce7fcbb4 Add server auth to monerod, and client auth to wallet-cli and wallet-rpc (Lee Clagett)
| * Add server auth to monerod, and client auth to wallet-cli and wallet-rpcLee Clagett2017-02-062-11/+25
| |
* | extract some basic code from libcryptonote_core into libcryptonote_basickenshi842017-02-0812-14/+14
|/
* unit_tests: fix missing return after batch_start prototype changemoneromooo-monero2017-01-211-1/+1
|
* fixups in logging init calls, and add missing net context in a logmoneromooo-monero2017-01-161-0/+1
|
* Merge pull request #1579Riccardo Spagni2017-01-151-0/+19
|\ | | | | | | f5f4109f mnemonics: fix language detection with checksum word (moneromooo-monero)
| * mnemonics: fix language detection with checksum wordmoneromooo-monero2017-01-151-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | If a checksum word is present, language detection would use just the word prefixes. However, a set of word prefixes may be found in more than one language, and so the wrong language may be found first, which could then fail the checksum, since the check may be done with a different unique prefix length from the one it was created from. We now make a checksum test when we we detect a language from prefixes only, to make sure we have the correct one.
* | Merge pull request #1575Riccardo Spagni2017-01-152-4/+5
|\ \ | | | | | | | | | b3ca0c62 unit_tests: fix portable serialization tests hardcoded data path (moneromooo-monero)
| * | unit_tests: fix portable serialization tests hardcoded data pathmoneromooo-monero2017-01-142-4/+5
| |/
* | Merge pull request #1571Riccardo Spagni2017-01-151-1/+1
|\ \ | | | | | | | | | 81c384e4 fix do_not_relay not preventing relaying on a timer (moneromooo-monero)
| * | fix do_not_relay not preventing relaying on a timermoneromooo-monero2017-01-141-1/+1
| |/ | | | | | | Also print its value when printing pool
* | Merge pull request #1506Riccardo Spagni2017-01-151-1/+1
|\ \ | |/ |/| | | | | | | | | | | 3ff54bdd Check for correct thread before ending batch transaction (Howard Chu) eaf8470b Must wait for previous batch to finish before starting new one (Howard Chu) c903c554 Don't cache block height, always get from DB (Howard Chu) eb1fb601 Tweak default db-sync-mode to fast:async:1 (Howard Chu) 0693cff9 Use batch transactions when syncing (Howard Chu)
| * Use batch transactions when syncingHoward Chu2017-01-141-1/+1
| | | | | | | | | | Faster throughput while avoiding corruption. I.e., makes running with --db-sync-mode safe more tolerable.
* | Added (not yet enabled) HTTP client authenticationLee Clagett2017-01-111-49/+302
| |
* | Merge pull request #1515Riccardo Spagni2017-01-081-0/+513
|\ \ | | | | | | | | | | | | ada7c7da portable serializer: tests added (kenshi84) f390a0e2 portable serializer: make signerd/unsigned tx portable, ignore archive version checking (kenshi84)
| * | portable serializer: tests addedkenshi842017-01-031-0/+513
| |/
* | Merge pull request #1493Riccardo Spagni2017-01-081-0/+1
|\ \ | | | | | | | | | 0478ac68 blockchain: allow marking "tx not found" without an exception (moneromooo-monero)
| * | blockchain: allow marking "tx not found" without an exceptionmoneromooo-monero2017-01-071-0/+1
| | | | | | | | | | | | | | | This is a normal occurence in many cases, and there is no need to spam the log with those when it is.
* | | Merge pull request #1460Riccardo Spagni2017-01-081-8/+9
|\ \ \ | |_|/ |/| | | | | 99580adf make openalias also available for solo miner; introduce namespace tools::dns_utils; support integrated address with dns lookup (kenshi84)
| * | make openalias also available for solo miner; introduce namespace ↵kenshi842016-12-211-8/+9
| |/ | | | | | | tools::dns_utils; support integrated address with dns lookup
* / Fixed HTTP auth tests for gcc 4.9Lee Clagett2016-12-211-4/+4
|/
* Fixed uninitialized valgrind errors in serialization testsLee Clagett2016-12-201-2/+4
|
* Fixes for google test < 1.8Lee Clagett2016-12-191-18/+18
|
* Merge pull request #1459Riccardo Spagni2016-12-151-1/+2
|\ | | | | | | b00da61e Preliminary support for DragonFly BSD (Antonio Huete Jimenez)
| * Preliminary support for DragonFly BSDAntonio Huete Jimenez2016-12-151-1/+2
| | | | | | | | - It builds but no further testing has been done.
* | Adding HTTP Digest Auth (but not yet enabled)Lee Clagett2016-12-132-0/+473
|/
* ringct: luigi1111's changes to fix and speedup Borromean sigsluigi11112016-12-041-8/+4
|
* ringct: switch to Borromean signaturesShen Noether2016-12-042-35/+18
|
* Merge pull request #1385Riccardo Spagni2016-12-042-0/+218
|\ | | | | | | | | | | 5783dd8c tests: add unit tests for uri parsing (moneromooo-monero) 82ba2108 wallet: add API and RPC to create/parse monero: URIs (moneromooo-monero) d9001b43 epee: add functions to convert from URL format (ie, %XX values) (moneromooo-monero)
| * tests: add unit tests for uri parsingmoneromooo-monero2016-11-282-0/+218
| |
* | Added command_line::is_yesLee Clagett2016-11-252-0/+51
|/
* Merge pull request #1371Riccardo Spagni2016-11-241-2/+2
|\ | | | | | | 8dadf02 Fixed undefined behavior in TestDB (Lee Clagett)
| * Fixed undefined behavior in TestDBLee Clagett2016-11-231-2/+2
| |
* | Merge pull request #1364Riccardo Spagni2016-11-242-0/+178
|\ \ | | | | | | | | | f025198 Added task_region - a fork/join task implementation (Lee Clagett)
| * | Added task_region - a fork/join task implementationLee Clagett2016-11-232-0/+178
| |/
* | tests: fix uninitialized data valgrind reports in levin testsmoneromooo-monero2016-11-201-0/+1
| |
* | tests: fix uninitialized data valgrind reports in serialization testsmoneromooo-monero2016-11-201-1/+4
|/
* tests: fix another fee test on 32 bitmoneromooo-monero2016-11-131-1/+1
|