aboutsummaryrefslogtreecommitdiff
path: root/tests/core_tests/block_validation.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Enforce Tx unlock_time is Zero by Relay Rule [RELEASE]jeffro2562024-04-291-2/+2
| | | | | | | | | | | | | | | | 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
* Add view tags to outputs to reduce wallet scanning timej-berman2022-04-181-0/+124
| | | | | | | | | | | | | 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
|
* enforce claiming maximum coinbase amountmoneromooo-monero2020-08-211-0/+16
| | | | | Claiming a slightly lesser amount does not yield the size gains that were seen pre rct, so this closes a fingerprinting vector
* Update copyright year to 2020SomaticFanatic2020-05-061-1/+1
| | | | Update copyright year to 2020
* blockchain: forbid v1 coinbase from v12moneromooo-monero2019-08-191-0/+15
|
* Update 2019 copyrightbinaryFate2019-03-051-1/+1
|
* v8: per byte fee, pad bulletproofs, fixed 11 ring sizemoneromooo-monero2018-09-111-2/+2
|
* pass large parameters by const ref, not valuemoneromooo-monero2018-02-021-1/+1
| | | | Coverity 136394 136397 136409 136526 136529 136533 175302
* Update 2018 copyrightxmr-eric2018-01-261-1/+1
|
* Merge pull request #2691Riccardo Spagni2017-11-141-1/+1
|\ | | | | | | 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-201-1/+1
| | | | | | | | This fixes all tests being annoyingly rebuilt when one changes
* | core_tests: fix for subaddress patchkenshi842017-10-171-2/+2
|/
* update copyright year, fix occasional lack of newline at line endRiccardo Spagni2017-02-211-1/+1
|
* New "Halfway RingCT" outputs for coinbase transactionsmoneromooo-monero2016-08-281-0/+2
| | | | | | | | | | | | | | | When RingCT is enabled, outputs from coinbase transactions are created as a single output, and stored as RingCT output, with a fake mask. Their amount is not hidden on the blockchain itself, but they are then able to be used as fake inputs in a RingCT ring. Since the output amounts are hidden, their "dustiness" is not an obstacle anymore to mixing, and this makes the coinbase transactions a lot smaller, as well as helping the TXO set to grow more slowly. Also add a new "Null" type of rct signature, which decreases the size required when no signatures are to be stored, as in a coinbase tx.
* add rct to the protocolmoneromooo-monero2016-08-281-2/+2
| | | | | It is not yet constrained to a fork, so don't use on the real network or you'll be orphaned or rejected.
* tests: fix compilation failure after V1 define renamemoneromooo-monero2016-01-311-1/+1
|
* updated copyright yearRiccardo Spagni2015-12-311-1/+1
|
* tests: fix various tests by using parameters better suited to moneromoneromooo-monero2015-12-251-1/+1
| | | | | | Either smaller coin values (as monero has smaller block rewards), or pre-hard fork values (full reward zone), or post-Bytecoin values (emission speed).
* tests: use 255 as a "too high" block versionmoneromooo-monero2015-12-251-2/+2
| | | | | While the original cryptonote accepted only the current major version, we can accept higher ones.
* blockchain: fix bitflipping test with quantized block rewardsmoneromooo-monero2015-12-251-1/+2
| | | | | | | Block reward may now be less than the full amount allowed. This was breaking the bitflipping test. We now keep track of whether a block which was accepted by the core has a lower than allowed block reward, and allow this in the test.
* More changes for 2-min blocksJavier Smooth2015-11-131-4/+4
| | | | | | Use the correct block time for realtime fuzz on locktime Use the correct block time to calculate next_difficulty on alt chains (will not work as-is with voting) Lock unit tests to original block time for now
* year updated in licenseRiccardo Spagni2015-01-021-1/+1
|
* License updated to BSD 3-clausefluffypony2014-07-231-3/+29
|
* initial [broken] updatemydesktop2014-05-031-2/+2
|
* moved all stuff to githubAntonio Juarez2014-03-031-0/+613