aboutsummaryrefslogtreecommitdiff
path: root/tests/core_tests/chaingen.cpp (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-04-18Add view tags to outputs to reduce wallet scanning timej-berman1-6/+16
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-03-04Copyright: Update to 2022mj-xmr1-1/+1
2020-09-06Merge pull request #6111Riccardo Spagni1-3/+3
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-08-28core_tests: fix failures after v13moneromooo-monero1-7/+9
v13 enforces claiming the full block reward, so we need to keep track of tx fees to add them to the coinbase
2020-08-27core: fix mining from a block that's not the current topmoneromooo-monero1-3/+3
2020-05-06Update copyright year to 2020SomaticFanatic1-1/+1
Update copyright year to 2020
2020-01-19fix tests bug added in #6110Dusan Klinec1-4/+10
- e.g., fixes gen_block_big_major_version test, error: generation failed: what=events not set, cannot compute valid RandomX PoW - ask for events only if difficulty > 1 (when it really matters) - throwing an exception changed to logging, so it is easy to spot a problem if tests start to fail.
2019-11-13tests: fix HF12 chaingen - construct bc object from eventsDusan Klinec1-16/+172
2019-10-31cryptonote: untangle dependency from miner to blockchainmoneromooo-monero1-2/+6
It causes link errors at least on mac
2019-09-25RandomX integrationHoward Chu1-2/+2
Support RandomX PoW algorithm
2019-04-29add a few checks where it seems appropriatemoneromooo-monero1-0/+1
2019-04-17Remove unneeded SFINAE on check_tx/block verification in core_testsDoyle1-0/+18
2019-03-17Merge pull request #5061Riccardo Spagni1-1/+1
1f2930ce Update 2019 copyright (binaryFate)
2019-03-05Update 2019 copyrightbinaryFate1-1/+1
2019-03-05device/trezor: debugging features, trezor testsDusan Klinec1-73/+549
2018-09-11v8: per byte fee, pad bulletproofs, fixed 11 ring sizemoneromooo-monero1-38/+38
2018-03-14keypair::generate: always require hw::device to avoid possible mistakestoffu1-1/+1
2018-03-04Code modifications to integrate Ledger HW device into monero-wallet-cli.cslashm1-2/+2
The basic approach it to delegate all sensitive data (master key, secret ephemeral key, key derivation, ....) and related operations to the device. As device has low memory, it does not keep itself the values (except for view/spend keys) but once computed there are encrypted (with AES are equivalent) and return back to monero-wallet-cli. When they need to be manipulated by the device, they are decrypted on receive. Moreover, using the client for storing the value in encrypted form limits the modification in the client code. Those values are transfered from one C-structure to another one as previously. The code modification has been done with the wishes to be open to any other hardware wallet. To achieve that a C++ class hw::Device has been introduced. Two initial implementations are provided: the "default", which remaps all calls to initial Monero code, and the "Ledger", which delegates all calls to Ledger device.
2018-01-26Update 2018 copyrightxmr-eric1-1/+1
2017-11-14remove "using namespace std" from headersmoneromooo-monero1-0/+1
It's nasty, and actually breaks on Solaris, where if.h fails to build due to: struct map *if_memmap;
2017-10-17core_tests: fix for subaddress patchkenshi841-1/+1
2017-10-07Subaddresseskenshi841-2/+5
2017-02-21update copyright year, fix occasional lack of newline at line endRiccardo Spagni1-1/+1
2017-02-08extract some basic code from libcryptonote_core into libcryptonote_basickenshi841-4/+4
2016-08-28New "Halfway RingCT" outputs for coinbase transactionsmoneromooo-monero1-0/+1
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.
2016-08-28Add rct core testsmoneromooo-monero1-5/+6
2016-08-28add rct to the protocolmoneromooo-monero1-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.
2016-05-01tests: fix tests broken by the removal of the block reward accumulation loopmoneromooo-monero1-1/+1
The tests for rejection of unmixable outputs in v2 are commented out, as there are no unmixable outputs created anymore. This should be restored at some point.
2016-03-21Revert "Print stack trace upon exceptions"moneromooo-monero1-6/+6
Ain't nobody got time for link/cmake skullduggery. This reverts commit fff238ec94ac6d45fc18c315d7bc590ddfaad63d.
2016-03-19Print stack trace upon exceptionsmoneromooo-monero1-6/+6
Useful for debugging users' logs
2016-02-08core_tests: allow setting miner tx max_outs when creating a blockmoneromooo-monero1-2/+3
2015-12-31updated copyright yearRiccardo Spagni1-1/+1
2015-11-13Adjust difficulty target (2 min) and full reward zone (60 kbytes) for block ↵Javier Smooth1-2/+2
version 2
2015-01-02year updated in licenseRiccardo Spagni1-1/+1
2014-07-23License updated to BSD 3-clausefluffypony1-3/+29
2014-05-03initial [broken] updatemydesktop1-2/+5
2014-04-02json rpc for wallet and bugfixAntonio Juarez1-8/+7
2014-03-03moved all stuff to githubAntonio Juarez1-0/+637