aboutsummaryrefslogtreecommitdiff
path: root/tests/core_tests/chaingen.h
Commit message (Collapse)AuthorAgeFilesLines
* blockchain sync: reduce disk writes from 2 to 1 per txjeffro2562025-03-101-4/+5
|
* Enforce Tx unlock_time is Zero by Relay Rule [RELEASE]jeffro2562024-04-291-1/+1
| | | | | | | | | | | | | | | | Related to https://github.com/monero-project/research-lab/issues/78 Added a relay rule that enforces the `unlock_time` field is equal to 0 for non-coinbase transactions. UIs changed: * Removed `locked_transfer` and `locked_sweep_all` commands from `monero-wallet-cli` APIs changed: * Removed `unlock_time` parameters from `wallet2` transfer methods * Wallet RPC transfer endpoints send error codes when requested unlock time is not 0 * Removed `unlock_time` parameters from `construct_tx*` cryptonote core functions @tobtoht: undo rebase changes tx.dsts -> tx_dsts
* Second thread pool for IOSChernykh2022-09-201-1/+1
|
* Add view tags to outputs to reduce wallet scanning timej-berman2022-04-181-3/+6
| | | | | | | | | | | | | 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.
* Copyright: Update to 2022mj-xmr2022-03-041-1/+1
|
* multisig key exchange update and refactorkoe2022-02-221-1/+1
|
* Merge pull request #7661luigi11112021-06-101-8/+4
|\ | | | | | | 08e4497 Improve cryptonote (block and tx) binary read performance (Lee Clagett)
| * Improve cryptonote (block and tx) binary read performanceLee Clagett2021-01-231-8/+4
| |
* | Warnings: unused var in core_tests:chaingen.hmj-xmr2021-05-111-1/+1
|/
* core_tests: fix failures after v13moneromooo-monero2020-08-281-3/+4
| | | | | v13 enforces claiming the full block reward, so we need to keep track of tx fees to add them to the coinbase
* replace most boost serialization with existing monero serializationmoneromooo-monero2020-08-171-2/+0
| | | | | | | | | | | | | | | | | | | | | | 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.
* Merge pull request #6512Alexander Blair2020-07-191-1/+1
|\ | | | | | | 5ef0607da Update copyright year to 2020 (SomaticFanatic)
| * Update copyright year to 2020SomaticFanatic2020-05-061-1/+1
| | | | | | | | Update copyright year to 2020
* | Fix boost <1.60 compilation and fix boost 1.73+ warningsLee Clagett2020-05-311-2/+3
| |
* | build: fix boost 1.73 compatibilityselsta2020-05-141-2/+2
|/
* Adding Dandelion++ support to public networks:Lee Clagett2020-03-261-1/+6
| | | | | | - New flag in NOTIFY_NEW_TRANSACTION to indicate stem mode - Stem loops detected in tx_pool.cpp - Embargo timeout for a blackhole attack during stem phase
* Merge pull request #6146Alexander Blair2020-01-241-2/+2
|\ | | | | | | 70c9cd3c Change to Tx diffusion (Dandelion++ fluff) instead of flooding (Lee Clagett)
| * Change to Tx diffusion (Dandelion++ fluff) instead of floodingLee Clagett2019-11-041-2/+2
| |
* | Merge pull request #6115Alexander Blair2020-01-161-0/+2
|\ \ | | | | | | | | | 27522aaa core_tests: reset thread pool between tests (moneromooo-monero)
| * | core_tests: reset thread pool between testsmoneromooo-monero2019-11-101-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoids a DB error (leading to an assert) where a thread uses a read txn previously created with an environment that was since closed and reopened. While this usually works since BlockchainLMDB renews txns if it detects the environment has changed, this will not work if objects end up being allocated at the same address as the previous instance, leading to stale data usage. Thanks hyc for the LMDB debugging.
* | | Merge pull request #6110Alexander Blair2020-01-111-3/+8
|\ \ \ | |_|/ |/| | | | | da6c807f tests: fix HF12 chaingen - construct bc object from events (Dusan Klinec)
| * | tests: fix HF12 chaingen - construct bc object from eventsDusan Klinec2019-11-131-3/+8
| |/
* / Adding support for hidden (anonymity) txpoolLee Clagett2019-11-021-16/+28
|/
* monerod can now sync from pruned blocksmoneromooo-monero2019-09-271-5/+13
| | | | | | | | | | | | | | If the peer (whether pruned or not itself) supports sending pruned blocks to syncing nodes, the pruned version will be sent along with the hash of the pruned data and the block weight. The original tx hashes can be reconstructed from the pruned txes and theur prunable data hash. Those hashes and the block weights are hashes and checked against the set of precompiled hashes, ensuring the data we received is the original data. It is currently not possible to use this system when not using the set of precompiled hashes, since block weights can not otherwise be checked for validity. This is off by default for now, and is enabled by --sync-pruned-blocks
* Remove unneeded SFINAE on check_tx/block verification in core_testsDoyle2019-04-171-76/+9
|
* Merge pull request #5409Riccardo Spagni2019-04-161-2/+2
|\ | | | | | | ac874e2d tests: fix test_options initialization error (Dusan Klinec)
| * tests: fix test_options initialization errorDusan Klinec2019-04-071-2/+2
| |
* | blockchain_db: fix db txn ending too earlymoneromooo-monero2019-04-141-2/+17
|/ | | | | | | | | | The db txn in add_block ending caused the entire overarching batch txn to stop. Also add a new guard class so a db txn can be stopped in the face of exceptions. Also use a read only db txn in init when the db itself is read only, and do not save the max tx size in that case.
* Merge pull request #5211Riccardo Spagni2019-03-211-5/+4
|\ | | | | | | | | | | c9b13fbb tests/trezor: HF9 and HF10 tests (Dusan Klinec) a1fd1d49 device/trezor: HF10 support added, wallet::API (Dusan Klinec) d74d26f2 crypto: hmac_keccak added (Dusan Klinec)
| * tests/trezor: HF9 and HF10 testsDusan Klinec2019-03-201-5/+4
| | | | | | | | | | | | | | | | | | - tests fixes for HF10, builder change, rct_config; fix_chain - get_tx_key test - proper testing after live refresh added - live refresh synthetic test - log available funds for easier test construction - wallet::API tests with mocked daemon
* | Merge pull request #5061Riccardo Spagni2019-03-171-1/+1
|\ \ | |/ |/| | | 1f2930ce Update 2019 copyright (binaryFate)
| * Update 2019 copyrightbinaryFate2019-03-051-1/+1
| |
* | Merge pull request #4977Riccardo Spagni2019-03-141-35/+426
|\ \ | |/ |/| | | 5ea17909 device/trezor: debugging features, trezor tests (Dusan Klinec)
| * device/trezor: debugging features, trezor testsDusan Klinec2019-03-051-35/+426
| |
* | cryptonote: avoid double parsing blocks when syncingmoneromooo-monero2019-03-051-2/+2
|/
* core_tests: add a --list_tests command line switchmoneromooo-monero2019-01-071-1/+3
|
* remove some unused codemoneromooo-monero2018-11-231-1/+1
| | | | Found by codacy.com
* Multisig M/N functionality core tests addednaughtyfox2018-10-011-41/+2
|
* Arbitrary M/N multisig schemes:naughtyfox2018-10-011-1/+1
| | | | | | | | | * support in wallet2 * support in monero-wallet-cli * support in monero-wallet-rpc * support in wallet api * support in monero-gen-trusted-multisig * unit tests for multisig wallets creation
* v8: per byte fee, pad bulletproofs, fixed 11 ring sizemoneromooo-monero2018-09-111-7/+7
|
* Bulletproof aggregated verification and testsmoneromooo-monero2018-09-111-1/+45
| | | | Also constrains bulletproofs to simple rct, for simplicity
* core_tests: add --filter to select which tests to runmoneromooo-monero2018-07-071-0/+1
|
* replace std::list with std::vector on some hot pathsmoneromooo-monero2018-06-261-1/+1
| | | | also use reserve where appropriate
* Update 2018 copyrightxmr-eric2018-01-261-1/+1
|
* Match surae's recommendation to derive multisig keysmoneromooo-monero2017-12-171-4/+6
|
* add multisig core test and factor multisig building blocksmoneromooo-monero2017-12-171-0/+48
|
* cryptonote_core does not depend on p2p anymoremoneromooo-monero2017-12-161-1/+1
| | | | | | As a followon side effect, this makes a lot of inline code included only in particular cpp files (and instanciated when necessary.
* core_tests: fix tests failing due to new txpool code requitring batch ↵moneromooo-monero2017-06-091-0/+1
| | | | transactions
* Move txpool to the databasemoneromooo-monero2017-05-251-0/+10
| | | | | | | Integration could go further (ie, return_tx_to_pool calls should not be needed anymore, possibly other things). poolstate.bin is now obsolete.
* update copyright year, fix occasional lack of newline at line endRiccardo Spagni2017-02-211-1/+1
|