aboutsummaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge pull request #7639luigi11112021-04-061-1/+4
|\ \ \ | | | | | | | | | | | | 53683d7 Warnings: fix ut/levin.cpp missing braces (mj-xmr)
| * | | Warnings: fix ut/levin.cpp missing bracesmj-xmr2021-03-271-1/+4
| | | |
* | | | Merge pull request #7321luigi11112021-04-061-1/+1
|\ \ \ \ | |_|/ / |/| | | | | | | f9b5b52 fix serialization being different on mac (moneromooo-monero)
| * | | fix serialization being different on macmoneromooo-monero2021-03-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Mac, size_t is a distinct type from uint64_t, and some types (in wallet cache as well as cold/hot wallet transfer data) use pairs/containers with size_t as fields. Mac would save those as full size, while other platforms would save them as varints. Might apply to other platforms where the types are distinct. There's a nasty hack for backward compatibility, which can go after a couple forks.
* | | | [CI] Adaptive mining timeout, depending on available CPU powermj-xmr2021-03-305-10/+254
| | | | | | | | | | | | | | | | Printing also available RAM. Add comprehensive description.
* | | | Merge pull request #7620luigi11112021-03-291-0/+592
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | fe63256 cryptonote_protocol_handler: fix race condition (anon) ded2f3a cryptonote_protocol_handler: add race condition demo (anon)
| * | | | cryptonote_protocol_handler: add race condition demoanon2021-03-221-0/+592
| | |/ / | |/| |
* | | | Merge pull request #7460luigi11112021-03-291-0/+110
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 2935a0c async_protocol_handler_config: fix deadlock (anon) c877705 async_protocol_handler_config: add deadlock demo (anon)
| * | | | async_protocol_handler_config: add deadlock demoanon2021-03-121-0/+110
| | |_|/ | |/| |
* | | | [CI] Use Python3 for funcional tests, instead of Python2mj-xmr2021-03-201-4/+6
| |/ / |/| |
* | | Merge pull request #7401luigi11112021-03-201-6/+5
|\ \ \ | | | | | | | | | | | | b5209a0 functional_tests: hide check_missing_rpc_methods behind requests check (moneromooo-monero)
| * | | functional_tests: hide check_missing_rpc_methods behind requests checkmoneromooo-monero2021-02-231-6/+5
| | |/ | |/|
* | | Merge pull request #7005luigi11112021-03-201-1/+3
|\ \ \ | | | | | | | | | | | | 249eae5 Allow byte_stream->byte_slice conversion to shrink unused buffer space (Lee Clagett)
| * | | Allow byte_stream->byte_slice conversion to shrink unused buffer spaceLee Clagett2020-10-131-1/+3
| | | |
* | | | Merge pull request #6810luigi11112021-03-201-0/+213
|\ \ \ \ | |_|_|/ |/| | | | | | | 19b2283 New add_aux_pow RPC to support merge mining (moneromooo-monero)
| * | | New add_aux_pow RPC to support merge miningmoneromooo-monero2021-02-091-0/+213
| | | |
* | | | async_protocol_handler_config: add segfault demoanon2021-02-191-2/+73
| |_|/ |/| |
* | | Merge pull request #7371luigi11112021-02-181-1/+1
|\ \ \ | | | | | | | | | | | | 1aecdcf Increase timeout for the mining test 4 times (to 240s) (mj-xmr)
| * | | Increase timeout for the mining test 4 times (to 240s)mj-xmr2021-02-111-1/+1
| |/ /
* | | Merge pull request #7355luigi11112021-02-182-10/+10
|\ \ \ | | | | | | | | | | | | | | | | bd12984 Remove copies from foreach loops (thanks to Clang) (Lee Clagett) 1572df9 Removing unused namespace alias (Lee Clagett)
| * | | Remove copies from foreach loops (thanks to Clang)Lee Clagett2021-01-282-10/+10
| |/ /
* | | Merge pull request #7352luigi11112021-02-181-9/+9
|\ \ \ | | | | | | | | | | | | a60d3d8 unit_tests: fix wipeable_string parse_hexstr test with latest gtest (xiphon)
| * | | unit_tests: fix wipeable_string parse_hexstr test with latest gtestxiphon2021-01-271-9/+9
| | | | | | | | | | | | | | | | https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=973196
* | | | Merge pull request #7346luigi11112021-02-1810-13/+2
|\ \ \ \ | | | | | | | | | | | | | | | 85db173 Remove unused variables in monero codebase (Kevin Barbour)
| * | | | Remove unused variables in monero codebaseKevin Barbour2021-02-0910-13/+2
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are quite a few variables in the code that are no longer (or perhaps never were) in use. These were discovered by enabling compiler warnings for unused variables and cleaning them up. In most cases where the unused variables were the result of a function call the call was left but the variable assignment removed, unless it was obvious that it was a simple getter with no side effects.
* | | | Merge pull request #7308luigi11112021-02-151-0/+150
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | df2f00f boosted_tcp_server: fix connection lifetime (anon) 3833624 boosted_tcp_server: add segfault demo (anon)
| * | | | boosted_tcp_server: add segfault demoanon2021-01-191-0/+150
| | |/ / | |/| |
* | | | Reduce compilation time of epee/portable_storage.hmj-xmr2021-02-061-0/+1
| |/ / |/| |
* | | Merge pull request #7245luigi11112021-01-151-11/+16
|\ \ \ | | | | | | | | | | | | 41dfa96 Split fuzz tests during fuzz build (Nym Seddon)
| * | | Split fuzz tests during fuzz buildNym Seddon2021-01-011-11/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only build fuzz tests in a fuzz build, and don't build other tests. Keeps fuzz compilers from instrumenting other tests, which are not fuzzed. Resolves #7232
* | | | Merge pull request #7149luigi11112021-01-154-0/+49
|\ \ \ \ | |_|/ / |/| | | | | | | 0660db3 fuzz_tests: add a test for utf8canonical (moneromooo-monero)
| * | | fuzz_tests: add a test for utf8canonicalmoneromooo-monero2020-12-144-0/+49
| | | |
* | | | Merge pull request #7285Alexander Blair2021-01-071-3/+40
|\ \ \ \ | | | | | | | | | | | | | | | 927141bcc Command max_bytes moved from dynamic map to static switch (Lee Clagett)
| * | | | Command max_bytes moved from dynamic map to static switchLee Clagett2020-12-221-3/+40
| | | | |
* | | | | Restrict duplicate keys in epee binary formatLee Clagett2020-12-202-0/+55
|/ / / /
* | | | add a max levin packet size by command typemoneromooo-monero2021-01-033-0/+3
| | | |
* | | | Merge pull request #7250Alexander Blair2021-01-014-0/+8
|\ \ \ \ | | | | | | | | | | | | | | | 61b6e4cc6 Add aggressive restrictions to pre-handshake p2p buffer limit (Lee Clagett)
| * | | | Add aggressive restrictions to pre-handshake p2p buffer limitLee Clagett2020-12-174-0/+8
| | |/ / | |/| |
* / | | protocol: more sanity checks in new chain block hashesmoneromooo-monero2020-12-313-3/+10
|/ / /
* | | protocol: fix false positives dropping peersmoneromooo-monero2020-12-272-0/+2
| | | | | | | | | | | | it'd trigger on reorgs
* | | Revert "Reject existing claimed blocks in sync mode"luigi11112020-12-272-2/+0
| | |
* | | Merge pull request #7154Alexander Blair2020-12-262-0/+2
|\ \ \ | | | | | | | | | | | | | | | | cf7e1571d protocol: reject claimed block hashes that already are in the chain (moneromooo-monero) af0a25544 protocol: drop peers we can't download anything from in sync mode (moneromooo-monero)
| * | | protocol: reject claimed block hashes that already are in the chainmoneromooo-monero2020-12-172-0/+2
| |/ /
* / / Fix byte_stream::put_nLee Clagett2020-12-141-0/+17
|/ /
* | Merge pull request #7110Alexander Blair2020-12-101-9/+11
|\ \ | | | | | | | | | d660f22ed protocol: drop origin IP if a block fails to verify in sync mode (moneromooo-monero)
| * | protocol: drop origin IP if a block fails to verify in sync modemoneromooo-monero2020-12-101-9/+11
| | | | | | | | | | | | | | | It would otherwise be possible for a peer to send bad blocks, then disconnect and reconnect again, escaping bans
* | | Merge pull request #7009Alexander Blair2020-12-107-31/+30
|\ \ \ | | | | | | | | | | | | 7414e2bac Change epee binary output from std::stringstream to byte_stream (Lee Clagett)
| * | | Change epee binary output from std::stringstream to byte_streamLee Clagett2020-10-107-31/+30
| |/ /
* | | Merge pull request #7003Alexander Blair2020-12-101-43/+50
|\ \ \ | |/ / |/| | | | | 08eb0949f Change to more efficient allocation strategy in byte_stream (Lee Clagett)
| * | Change to more efficient allocation strategy in byte_streamLee Clagett2020-10-131-43/+50
| |/