aboutsummaryrefslogtreecommitdiff
path: root/tests (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-09-22Move update_checkpoints() to a later stageSChernykh2-0/+2
update_checkpoints() makes a few DNS requests and can take up to 20-30 seconds to complete (3-6 seconds on average). It is currently called from core::handle_incoming_block() which holds m_incoming_tx_lock, so it blocks all incoming transactions and blocks processing while update_checkpoints() is running. This PR moves it to until after a new block has been processed and relayed, to avoid full monerod locking.
2022-09-15Merge pull request #8556luigi11111-1/+1
b8271ab wallet2: check wallet compatibility with daemon's hard fork version (j-berman)
2022-09-15Merge pull request #8551luigi11111-1/+1
eca7f6a Fix segfault restoring encrypted multisig seed (j-berman) f713c3c Require user ack multisig is experimental to restore (j-berman) 564a7a3 multisig: fix #8537 seed restore (suggestions by @UkoeHB) (j-berman)
2022-09-12wallet2: check wallet compatibility with daemon's hard fork versionj-berman1-1/+1
2022-09-09Merge pull request #8538luigi11111-2/+5
3987827 Fix shared_ptr cycle in test_epee_connection.test_lifetime (Lee Clagett)
2022-09-09Merge pull request #8513luigi11114-20/+104
959a3e6 wallet2: ensure imported outputs subaddresses are created (moneromooo-monero) a098504 wallet2: better test on whether to allow output import (moneromooo-monero) c5579ac allow exporting outputs in chunks (moneromooo-monero) 1e912ec wallet2: fixes for export/import output flow (j-berman) 692f1d4 wallet2: do not assume imported outputs must be non empty (moneromooo-monero) 67b6d6a wallet2: prevent importing outputs in a hot wallet (moneromooo-monero) d9fc666 wallet2: fix missing subaddress indices in 'light' exported outputs (moneromooo-monero)
2022-09-06multisig: fix #8537 seed restore (suggestions by @UkoeHB)j-berman1-1/+1
- spend secret key is no longer the sum of multisig key shares; no need to check that is the case upon restore. - restoring a multisig wallet from multisig info means that the wallet must have already completed all setup rounds. Upon restore, set the number of rounds completed accordingly.
2022-08-26Fix shared_ptr cycle in test_epee_connection.test_lifetimeLee Clagett1-2/+5
2022-08-22Merge pull request #8450luigi11112-2/+4
600de07 wallet_rpc_server: longer timeout for stop_mining (moneromooo-monero) ac6db92 functional_tests: silence the cpu power test program (moneromooo-monero)
2022-08-22Merge pull request #8427luigi11114-5/+25
1fc60ca Publish submitted txs via zmq (j-berman)
2022-08-22Merge pull request #8299luigi11113-17/+96
a0df140 feat(trezor): add HF15 support, BP+ (Dusan Klinec)
2022-08-18wallet2: better test on whether to allow output importmoneromooo-monero1-0/+9
Being offline is not a good enough heuristic, so we keep track of whether the wallet ever refreshed from a daemon, which is a lot better, and probably the best we can do without manual user designation (which would break existing cold wallet setups till the user designates those wallets)
2022-08-18allow exporting outputs in chunksmoneromooo-monero3-15/+41
this will make it easier huge wallets to do so without hitting random limits (eg, max string size in node).
2022-08-16wallet2: fixes for export/import output flowj-berman2-18/+67
- only allow offline wallets to import outputs - don't import empty outputs - export subaddress indexes when exporting outputs
2022-07-21Publish submitted txs via zmqj-berman4-5/+25
2022-07-21functional_tests: silence the cpu power test programmoneromooo-monero2-2/+4
it's very spammy and drowns the test output
2022-07-15Merge pull request #8426luigi11111-2/+252
a82fba4 address PR comments (j-berman) 3be1dbd connection: fix implementation (anon) 724ff21 connection: add segfault and deadlocks demo (anon)
2022-07-13derive multisig tx secret keys from an entropy source plus the tx inputs' ↵koe1-2/+3
key images
2022-07-08address PR commentsj-berman1-5/+5
2022-07-05connection: add segfault and deadlocks demoanon1-2/+252
2022-06-30multisig: fix critical vulnerabilities in signinganon11-124/+114
2022-06-20feat(trezor): add HF15 support, BP+Dusan Klinec3-17/+96
- BP+ support added for Trezor - old Trezor firmware version support removed, code cleanup
2022-05-26Merge pull request #8340luigi11115-0/+42
08080df unit_tests: add more sha256sum test cases (Jeffrey Ryan) a66a52d common: update sha256sum to use OpenSSL 3.0 API (Jeffrey Ryan)
2022-05-26Merge pull request #8330luigi11111-2/+2
2dab31f Don't exclusively drop tor/i2p outgoing cxns in idle loop (j-berman)
2022-05-18Don't exclusively drop tor/i2p outgoing cxns in idle loopj-berman1-2/+2
2022-05-18unit_tests: add more sha256sum test casesJeffrey Ryan5-0/+42
2022-05-17disable multisig by defaultmoneromooo-monero1-5/+5
There are vulnerabilities in multisig protocol if the parties do not trust each other, and while there is a patch for it, it has not been throroughly reviewed yet, so it is felt safer to disable multisig by default for now. If all parties in a multisig setup trust each other, then it is safe to enable multisig.
2022-05-10Merge pull request #8304luigi11111-0/+14
0226df9 More tests for view tags (SChernykh)
2022-05-10Merge pull request #8302luigi11117-7/+7
41da2fe Update copyright to 2022 for Hardfork files (Akrit)
2022-05-10Merge pull request #8277luigi11111-2/+0
baee2c0 Preserve commitment format inside transactions (kayabaNerve)
2022-05-10Merge pull request #8220luigi11113-47/+61
0d6ecb1 multisig: add post-kex verification round to check that all participants have completed the multisig address (koe)
2022-04-29More tests for view tagsSChernykh1-0/+14
P2Pool can create transactions with more than 128 outputs, which make output_index's varint larger than 1 byte. Added this test case.
2022-04-29multisig: add post-kex verification round to check that all participants ↵koe3-47/+61
have completed the multisig address
2022-04-29Update copyright to 2022 for Hardfork filesAkrit7-7/+7
Update Makefile and LICENSE
2022-04-25Merge pull request #8178luigi11114-13/+13
5d388eb Bump ring size to 16 for v15 & remove set default in wallet cli (j-berman)
2022-04-21Preserve commitment format inside transactionsLuke Parker1-2/+0
2022-04-19Merge pull request #8061luigi111114-20/+603
ea87b30 Add view tags to outputs to reduce wallet scanning time (j-berman)
2022-04-18Bump ring size to 16 for v15 & remove set default in wallet clij-berman4-13/+13
2022-04-18Add Include statementsJeffrey1-0/+1
2022-04-18Add view tags to outputs to reduce wallet scanning timej-berman14-20/+603
Implements view tags as proposed by @UkoeHB in MRL issue https://github.com/monero-project/research-lab/issues/73 At tx construction, the sender adds a 1-byte view tag to each output. The view tag is derived from the sender-receiver shared secret. When scanning for outputs, the receiver can check the view tag for a match, in order to reduce scanning time. When the view tag does not match, the wallet avoids the more expensive EC operations when deriving the output public key using the shared secret.
2022-04-10Fee changes from ArticMinemoneromooo-monero3-4/+192
https://github.com/ArticMine/Monero-Documents/blob/master/MoneroScaling2021-02.pdf with a change to use 1.7 instead of 2.0 for the max long term increase rate
2022-04-10epee: allow copying a rolling_median_t objectmoneromooo-monero1-0/+18
2022-04-06tests: integrated_address: remove missing payment id assertionreemuru1-3/+1
The integrated address functional test fails in the workflows due to an assertion for missing payment id that is no longer needed. Remove the assertion and update the assertion count. Fixes 7dcfccb: ("wallet_rpc_server: fix make_integrated_address with no payment id")
2022-04-06Merge pull request #8228luigi11111-67/+74
1ce9e9c Remove dead code from parserse_base_utils and fix unit tests (Jeffrey)
2022-04-06Merge pull request #8205luigi11111-0/+2
0d6fce8 Compil. time: cryptonote_core minus portable_storage header (mj-xmr)
2022-04-06Merge pull request #8197luigi1111228-228/+259
da9aa1f Copyright: Update to 2022 (mj-xmr)
2022-04-05store outPk/8 in the tx for speedmoneromooo-monero1-0/+2
It avoids dividing by 8 when deserializing a tx, which is a slow operation, and multiplies by 8 when verifying and extracing the amount, which is much faster as well as less frequent
2022-04-05plug bulletproofs plus into consensusmoneromooo-monero13-24/+645
2022-04-04Bulletproofs+Sarang Noether5-0/+292
2022-03-30Remove dead code from parserse_base_utils and fix unit testsJeffrey1-67/+74
* Remove `match_string()`, `match_number()`, and `match_word()` * Remove `match_word_with_extrasymb()` and `match_word_til_equal_mark()` * Adapt unit test for `match_number()` to `match_number2()` * Adapt unit test for `match_string()` to `match_string2()` Note: the unit tests were testing for the old version of the functions, and the interfaces for these functions changed slightly, so I had to also edit the tests. As of writing, this PR has no merge conflicts with #8211 Additional changes during review: * Explicitly set up is_[float/signed]_val to be changed before each call * Structify the tests and fix uninitialized variables
2022-03-18Merge pull request #8158luigi11111-5/+2
e5000a9 Balance includes unconfirmed transfers to self (woodser)
2022-03-04Compil. time: cryptonote_core minus portable_storage headermj-xmr1-0/+2
2022-03-04Copyright: Update to 2022mj-xmr228-228/+259
2022-03-02Merge pull request #8052luigi11114-0/+64
c36ea26 fix ge_p3_is_point_at_infinity(), which is evaluating field elements that haven't been reduced by the field order (koe)
2022-03-02Merge pull request #7877luigi11114-120/+271
e08abaa multisig key exchange update and refactor (koe)
2022-02-22multisig key exchange update and refactorkoe4-120/+271
2022-01-31Balance includes unconfirmed transfers to selfwoodser1-5/+2
2022-01-25fix ge_p3_is_point_at_infinity(), which is evaluating field elements that ↵koe4-0/+64
haven't been reduced by the field order
2021-12-14functional_tests: update uri test with external pidselsta1-9/+5
2021-11-01tx_pool: full tx revalidation on fork boundariesmoneromooo-monero1-5/+10
avoids mining txes after a fork that are invalid by this fork's rules, but were valid by the previous fork rules at the time they were verified and added to the txpool.
2021-10-11Merge pull request #7874luigi11112-36/+337
9154883 node_server: fix race condition (anon) 8922f96 node_server: add race condition demo (anon)
2021-09-23Merge pull request #7923luigi11111-2/+4
5eaedb5 unit_tests: fix use after free in serialization test (moneromooo-monero)
2021-09-20node_server: fix race conditionanon1-36/+77
2021-09-20node_server: add race condition demoanon1-0/+260
2021-09-12Mac: UT node server fix IP localhost by aliasingmj-xmr1-0/+3
2021-09-09Merge pull request #7880luigi11111-1/+0
573a025 core_tests: remove unused typedef, fix warning (selsta)
2021-09-09Merge pull request #7828luigi11111-0/+7
b2c59af EasyLogging++: new anti-UB test and propagating exception (mj-xmr)
2021-09-08unit_tests: fix use after free in serialization testmoneromooo-monero1-2/+4
2021-08-19core_tests: remove unused typedef, fix warningselsta1-1/+0
2021-08-11Merge pull request #7818luigi11112-8/+8
9c8e3e8 unit_tests: fix broken tests (anon)
2021-08-11Merge pull request #7809luigi11111-0/+1
7354ffb p2p: remove blocked addresses/hosts from peerlist (moneromooo-monero)
2021-08-05p2p: remove blocked addresses/hosts from peerlistmoneromooo-monero1-0/+1
2021-08-03EasyLogging++: new anti-UB test and propagating exceptionmj-xmr1-0/+7
2021-07-28unit_tests: fix broken testsanon2-8/+8
boosted_tcp_server: check condition before sleep too cryptonote_protocol_handler: each instance of BlockchainLMDB requires separate thread due to private thread local fields
2021-07-06EasyLogging++: Add UTests, that protect against regressionsmj-xmr1-0/+13
2021-06-11unit_tests: check for ge_frombytes_vartime failuremoneromooo-monero2-4/+4
CID 1446559
2021-06-10Merge pull request #7661luigi11116-26/+82
08e4497 Improve cryptonote (block and tx) binary read performance (Lee Clagett)
2021-06-01Merge pull request #7723luigi11111-1/+20
3450f4b Doc: funtional_tests add new mining env vars and how to use them (mj-xmr)
2021-06-01Merge pull request #7713luigi11111-1/+1
b40129e Warnings: unused var in core_tests:chaingen.h (mj-xmr)
2021-05-14Doc: funtional_tests add new mining env vars and how to use themmj-xmr1-1/+20
2021-05-12Merge pull request #7691luigi11112-2/+2
cbd54ea cmake: set 3.5 as minimum version (selsta)
2021-05-12Merge pull request #7690luigi11111-1/+2
3cc4428 clang: fix -Wpessimizing-move warning (selsta)
2021-05-12Merge pull request #7688luigi11111-1/+1
451b5a5 clang: fix -Wrange-loop-analysis warnings (selsta)
2021-05-11Warnings: unused var in core_tests:chaingen.hmj-xmr1-1/+1
2021-04-28clang: fix -Wpessimizing-move warningselsta1-1/+2
2021-04-27cmake: set 3.5 as minimum versionselsta2-2/+2
2021-04-27Tests: Mining test uses a parametric path for finding the calculation appmj-xmr3-41/+66
MINING_SILENT and MINING_NO_MEASUREMENT env vars
2021-04-27clang: fix -Wrange-loop-analysis warningsselsta1-1/+1
2021-04-22Merge pull request #7669luigi11116-43/+127
679d055 Remove payload copy in all outgoing p2p messages (Lee Clagett)
2021-04-16Split epee/string_tools.h and encapsulate boost::lexical_castmj-xmr2-0/+2
2021-04-16Revert "Merge pull request #7136"luigi11115-121/+27
This reverts commit 63c7ca07fba2f063c760f786a986fb3e02fb040e, reversing changes made to 2218e23e84a89e9a1e4c0be5d50f891ab836754f.
2021-04-16Merge pull request #7653luigi11111-1/+1
73d3b00 unit_tests: fix boost 1.58 compatibility (anon)
2021-04-16Merge pull request #7136luigi11115-27/+121
23aae55 Remove payload copy in all outgoing p2p messages (Lee Clagett)
2021-04-08unit_tests: fix boost 1.58 compatibilityanon1-1/+1
2021-04-06Merge pull request #7646luigi11111-0/+12
176cea0 Tests: Fix test node_server.bind_same_p2p_port from randomly crashing (mj-xmr)
2021-04-06Merge pull request #7639luigi11111-1/+4
53683d7 Warnings: fix ut/levin.cpp missing braces (mj-xmr)
2021-04-06Merge pull request #7321luigi11111-1/+1
f9b5b52 fix serialization being different on mac (moneromooo-monero)
2021-04-05Tests: Fix test node_server.bind_same_p2p_port from randomly crashingmj-xmr1-0/+12
2021-03-30[CI] Adaptive mining timeout, depending on available CPU powermj-xmr5-10/+254
Printing also available RAM. Add comprehensive description.
2021-03-29Merge pull request #7620luigi11111-0/+592
fe63256 cryptonote_protocol_handler: fix race condition (anon) ded2f3a cryptonote_protocol_handler: add race condition demo (anon)
2021-03-29Merge pull request #7460luigi11111-0/+110
2935a0c async_protocol_handler_config: fix deadlock (anon) c877705 async_protocol_handler_config: add deadlock demo (anon)
2021-03-27Warnings: fix ut/levin.cpp missing bracesmj-xmr1-1/+4
2021-03-22cryptonote_protocol_handler: add race condition demoanon1-0/+592
2021-03-20[CI] Use Python3 for funcional tests, instead of Python2mj-xmr1-4/+6
2021-03-20Merge pull request #7401luigi11111-6/+5
b5209a0 functional_tests: hide check_missing_rpc_methods behind requests check (moneromooo-monero)
2021-03-20Merge pull request #7005luigi11111-1/+3
249eae5 Allow byte_stream->byte_slice conversion to shrink unused buffer space (Lee Clagett)
2021-03-20Merge pull request #6810luigi11111-0/+213
19b2283 New add_aux_pow RPC to support merge mining (moneromooo-monero)
2021-03-12async_protocol_handler_config: add deadlock demoanon1-0/+110
2021-03-05fix serialization being different on macmoneromooo-monero1-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.
2021-02-23functional_tests: hide check_missing_rpc_methods behind requests checkmoneromooo-monero1-6/+5
2021-02-19async_protocol_handler_config: add segfault demoanon1-2/+73
2021-02-18Merge pull request #7371luigi11111-1/+1
1aecdcf Increase timeout for the mining test 4 times (to 240s) (mj-xmr)
2021-02-18Merge pull request #7355luigi11112-10/+10
bd12984 Remove copies from foreach loops (thanks to Clang) (Lee Clagett) 1572df9 Removing unused namespace alias (Lee Clagett)
2021-02-18Merge pull request #7352luigi11111-9/+9
a60d3d8 unit_tests: fix wipeable_string parse_hexstr test with latest gtest (xiphon)
2021-02-18Merge pull request #7346luigi111110-13/+2
85db173 Remove unused variables in monero codebase (Kevin Barbour)
2021-02-15Merge pull request #7308luigi11111-0/+150
df2f00f boosted_tcp_server: fix connection lifetime (anon) 3833624 boosted_tcp_server: add segfault demo (anon)
2021-02-11Increase timeout for the mining test 4 times (to 240s)mj-xmr1-1/+1
2021-02-09New add_aux_pow RPC to support merge miningmoneromooo-monero1-0/+213
2021-02-09Remove unused variables in monero codebaseKevin Barbour10-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.
2021-02-06Reduce compilation time of epee/portable_storage.hmj-xmr1-0/+1
2021-01-28Remove copies from foreach loops (thanks to Clang)Lee Clagett2-10/+10
2021-01-27unit_tests: fix wipeable_string parse_hexstr test with latest gtestxiphon1-9/+9
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=973196
2021-01-23Improve cryptonote (block and tx) binary read performanceLee Clagett6-26/+82
2021-01-19boosted_tcp_server: add segfault demoanon1-0/+150
2021-01-19Remove payload copy in all outgoing p2p messagesLee Clagett6-43/+127
2021-01-16Remove payload copy in all outgoing p2p messagesLee Clagett5-27/+121
2021-01-15Merge pull request #7245luigi11111-11/+16
41dfa96 Split fuzz tests during fuzz build (Nym Seddon)
2021-01-15Merge pull request #7149luigi11114-0/+49
0660db3 fuzz_tests: add a test for utf8canonical (moneromooo-monero)
2021-01-07Merge pull request #7285Alexander Blair1-3/+40
927141bcc Command max_bytes moved from dynamic map to static switch (Lee Clagett)
2021-01-01Split fuzz tests during fuzz buildNym Seddon1-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
2020-12-27protocol: fix false positives dropping peersmoneromooo-monero2-0/+2
it'd trigger on reorgs
2020-12-27Revert "Reject existing claimed blocks in sync mode"luigi11112-2/+0
2020-12-26Merge pull request #7154Alexander Blair2-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)
2020-12-22Command max_bytes moved from dynamic map to static switchLee Clagett1-3/+40
2021-01-03add a max levin packet size by command typemoneromooo-monero3-0/+3
2021-01-01Merge pull request #7250Alexander Blair4-0/+8
61b6e4cc6 Add aggressive restrictions to pre-handshake p2p buffer limit (Lee Clagett)
2020-12-31protocol: more sanity checks in new chain block hashesmoneromooo-monero3-3/+10
2020-12-20Restrict duplicate keys in epee binary formatLee Clagett2-0/+55
2020-12-17protocol: reject claimed block hashes that already are in the chainmoneromooo-monero2-0/+2
2020-12-17Add aggressive restrictions to pre-handshake p2p buffer limitLee Clagett4-0/+8
2020-12-14Fix byte_stream::put_nLee Clagett1-0/+17
2020-12-14fuzz_tests: add a test for utf8canonicalmoneromooo-monero4-0/+49
2020-12-10Merge pull request #7110Alexander Blair1-9/+11
d660f22ed protocol: drop origin IP if a block fails to verify in sync mode (moneromooo-monero)
2020-12-10Merge pull request #7009Alexander Blair7-31/+30
7414e2bac Change epee binary output from std::stringstream to byte_stream (Lee Clagett)
2020-12-10Merge pull request #7003Alexander Blair1-43/+50
08eb0949f Change to more efficient allocation strategy in byte_stream (Lee Clagett)
2020-12-10protocol: drop origin IP if a block fails to verify in sync modemoneromooo-monero1-9/+11
It would otherwise be possible for a peer to send bad blocks, then disconnect and reconnect again, escaping bans
2020-12-04crypto: fix non zero scalar being 0 after reducingmoneromooo-monero1-551/+540
2020-11-29Merge pull request #7018luigi11113-3/+10
a9cd5d9 cryptonote_core: dandelion - use local height or median height if syncing (xiphon)
2020-11-29Merge pull request #6973luigi11111-0/+109
be84f67 Switch to Dandelion++ fluff mode if no out connections for stem mode (Lee Clagett)
2020-11-29Merge pull request #6937luigi111115-32/+32
8a282f6 Add RELINK_TARGETS, monero_add_target_no_relink and use monero_add_executable/monero_add_library where possible (mj-xmr) Add monero_add_minimal_executable and use in tests (mj-xmr)
2020-11-28Merge pull request #6856luigi11111-18/+0
db70af1 Unit Tests: Remove block reward upper bound size checks (TheCharlatan)
2020-11-25cryptonote_core: dandelion - use local height or median height if syncingxiphon3-3/+10
2020-11-16Better log message for unusable anon networksHoward Chu1-1/+2
2020-11-03Switch to Dandelion++ fluff mode if no out connections for stem modeLee Clagett1-0/+109
2020-10-28Add RELINK_TARGETS, monero_add_target_no_relink and use ↵mj-xmr15-32/+32
monero_add_executable/monero_add_library where possible (mj-xmr) Add monero_add_minimal_executable and use in tests This is done in order not to have to relink targets, when just an .so changed, but not its interface.
2020-10-22functional_tests: inrease mining timeoutselsta1-1/+1
2020-10-13Change to more efficient allocation strategy in byte_streamLee Clagett1-43/+50
2020-10-13Allow byte_stream->byte_slice conversion to shrink unused buffer spaceLee Clagett1-1/+3
2020-10-12Dandelion++: skip desynced peers in stem phasexiphon1-34/+41
2020-10-10Change epee binary output from std::stringstream to byte_streamLee Clagett7-31/+30
2020-10-03Unit Tests: Remove block reward upper bound size checksTheCharlatan1-18/+0
Tests running after being compiled with `make debug-test` failed with ``` [ FAILED ] block_reward_and_current_block_weight.fails_on_huge_median_size [ FAILED ] block_reward_and_current_block_weight.fails_on_huge_block_weight ``` With the introduction of the patch in https://github.com/monero-project/monero/commit/be82c40703d267184ee07bf7be71002122c86656#diff-1a57d4e6013984c420da98d1adde0eafL113 the assertions checking the weight of the median and current block against a size limit were removed. Since the limit is now enforced by a long divisor and a uint64_t type, checking in a separate test makes little sense, so they are removed here.
2020-09-27Merge pull request #6840Alexander Blair1-1/+1
6ee9f1260 fuzz_tests: fix build error in signature fuzz test (moneromooo-monero)
2020-09-24functional_tests: rewrite mining code, clearer timeout infoiamamyth1-12/+11
2020-09-24fuzz_tests: fix build error in signature fuzz testmoneromooo-monero1-1/+1
2020-09-07Merge pull request #6798luigi11112-10/+32
4e44306 enable CLSAG support for Trezor client (ph4r05)
2020-09-06Merge pull request #6111Riccardo Spagni4-3/+139
d20ff4f64 functional_tests: add a large (many randomx epochs) p2p reorg test (moneromooo-monero) 6a0b3b1f8 functional_tests: add randomx tests (moneromooo-monero) 9d42649d5 core: fix mining from a block that's not the current top (moneromooo-monero)
2020-09-04enable CLSAG support for Trezor clientDusan Klinec2-10/+32
2020-09-03Merge pull request #6757luigi11111-20/+20
6a37da8 threadpool: guard against exceptions in jobs, and armour plating (moneromooo-monero)
2020-09-01threadpool: guard against exceptions in jobs, and armour platingmoneromooo-monero1-20/+20
Those would, if uncaught, exit run and leave the waiter to wait indefinitely for the number of active jobs to reach 0
2020-08-28Bind signature to full address and signing modeSarang Noether1-0/+2
2020-08-28wallet: allow signing a message with spend or view keymoneromooo-monero2-7/+12
2020-08-28core_tests: fix failures after v13moneromooo-monero4-13/+21
v13 enforces claiming the full block reward, so we need to keep track of tx fees to add them to the coinbase
2020-08-28core_tests: remove hardcoded hf versionmoneromooo-monero1-1/+1
2020-08-27Merge pull request #6769Alexander Blair1-0/+41
b641e0a2c Add clear method to byte_stream (Lee Clagett)
2020-08-27functional_tests: add a large (many randomx epochs) p2p reorg testmoneromooo-monero1-0/+19
2020-08-27functional_tests: add randomx testsmoneromooo-monero2-0/+117
2020-08-27core: fix mining from a block that's not the current topmoneromooo-monero1-3/+3
2020-08-27Added balance check to MLSAG/CLSAG performance testsSarang Noether3-144/+282
2020-08-27Updated MLSAG and CLSAG tests for consistencySarang Noether3-31/+63
2020-08-27CLSAG verification performance testSarang Noether2-22/+40
2020-08-27CLSAG optimizationsSarang Noether2-86/+82
2020-08-27Integrate CLSAGs into moneromoneromooo-monero15-85/+656
They are allowed from v12, and MLSAGs are rejected from v13.
2020-08-27unit_tests: add ge_triple_scalarmult_base_vartime testmoneromooo-monero1-0/+62
2020-08-27CLSAG signaturesSarang Noether4-4/+196
2020-08-27Merge pull request #6760Alexander Blair3-0/+30
844fb4e94 enforce claiming maximum coinbase amount (moneromooo-monero)
2020-08-27Merge pull request #6690Alexander Blair10-12/+10
7175dcb10 replace most boost serialization with existing monero serialization (moneromooo-monero)
2020-08-27Merge pull request #6660Alexander Blair2-8/+193
839e1f4ba functional_tests: add p2p functional tests (moneromooo-monero)
2020-08-26functional_tests: add p2p functional testsmoneromooo-monero2-8/+193
Tests tx/block propagation and reorgs
2020-08-21enforce claiming maximum coinbase amountmoneromooo-monero3-0/+30
Claiming a slightly lesser amount does not yield the size gains that were seen pre rct, so this closes a fingerprinting vector
2020-08-17Add clear method to byte_streamLee Clagett1-0/+41
2020-08-17Revert "Use domain-separated ChaCha20 for in-memory key encryption"luigi11112-74/+0
This reverts commit 921dd8dde5d381052d0aa2936304a3541a230c55.
2020-08-17replace most boost serialization with existing monero serializationmoneromooo-monero10-12/+10
This reduces the attack surface for data that can come from malicious sources (exported output and key images, multisig transactions...) since the monero serialization is already exposed to the outside, and the boost lib we were using had a few known crashers. For interoperability, a new load-deprecated-formats wallet setting is added (off by default). This allows loading boost format data if there is no alternative. It will likely go at some point, along with the ability to load those. Notably, the peer lists file still uses the boost serialization code, as the data it stores is define in epee, while the new serialization code is in monero, and migrating it was fairly hairy. Since this file is local and not obtained from anyone else, the marginal risk is minimal, but it could be migrated later if needed. Some tests and tools also do, this will stay as is for now.
2020-08-16Merge pull request #6718Alexander Blair1-0/+11
85efc88c1 Fix overflow issue in epee:misc_utils::rolling_median_t and median(), with unit test (koe)
2020-08-16Merge pull request #6716Alexander Blair4-4/+4
76c16822d wallet2_api: implement runtime proxy configuration (xiphon)
2020-08-16Merge pull request #6603Alexander Blair1-1/+16
4e2377995 Change ZMQ-JSON txextra to hex and remove unnecessary base fields (Lee Clagett)
2020-08-16Merge pull request #6601Alexander Blair1-1/+1
98c151ecb Optimize ZMQ-JSON vector reading; GetBlocksFast reads 24%+ faster (Lee Clagett) 60627c9f2 Switch to insitu parsing for ZMQ-JSON; GetBlocksFast reads 13%+ faster (Lee Clagett) fe96e66eb Fix pruned tx for ZMQ's GetBlocksFast (Lee Clagett)
2020-08-16Merge pull request #6593Alexander Blair1-0/+1
6f5411d30 tests: fix missing error on missing python entry point (moneromooo-monero) c6dc2850c python-rpc: add missing sync_txpool python entry point (moneromooo-monero)
2020-08-16Merge pull request #6493Alexander Blair2-0/+74
921dd8dde Use domain-separated ChaCha20 for in-memory key encryption (Sarang Noether)
2020-08-16Merge pull request #6337Alexander Blair3-0/+479
a11ec4ac1 Support for supercop ASM in wallet, and benchmark for supercop (Lee Clagett)
2020-08-16Merge pull request #6329Alexander Blair3-5/+165
6bfcd3101 Updates InProofV1, OutProofV1, and ReserveProofV1 to new V2 variants that include all public proof parameters in Schnorr challenges, along with hash function domain separators. Includes new randomized unit tests. (Sarang Noether)