aboutsummaryrefslogtreecommitdiff
path: root/tests/core_tests/rct.cpp (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-06-30multisig: fix critical vulnerabilities in signinganon1-1/+1
2022-04-18Add view tags to outputs to reduce wallet scanning timej-berman1-7/+101
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-06Merge pull request #8197luigi11111-1/+1
da9aa1f Copyright: Update to 2022 (mj-xmr)
2022-04-05plug bulletproofs plus into consensusmoneromooo-monero1-1/+1
2022-03-04Copyright: Update to 2022mj-xmr1-1/+1
2020-08-27Integrate CLSAGs into moneromoneromooo-monero1-1/+1
They are allowed from v12, and MLSAGs are rejected from v13.
2020-05-06Update copyright year to 2020SomaticFanatic1-1/+1
Update copyright year to 2020
2019-10-30core_tests: remove some useless verbose logsmoneromooo-monero1-1/+0
2019-09-17blockchain: enforce 10 block age for spending outputsmoneromooo-monero1-6/+25
Some custom wallet code apparently ignores this, which causes users of that code to be fingerprinted
2019-03-05Update 2019 copyrightbinaryFate1-1/+1
2019-01-22add a bulletproof version, new bulletproof type, and rct configmoneromooo-monero1-1/+2
This makes it easier to modify the bulletproof format
2018-09-11Bulletproof aggregated verification and testsmoneromooo-monero1-1/+1
Also constrains bulletproofs to simple rct, for simplicity
2018-03-04Code modifications to integrate Ledger HW device into monero-wallet-cli.cslashm1-2/+3
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-12-08add bulletproofs from v7 on testnetmoneromooo-monero1-1/+1
2017-10-20core_tests: do not include chaingen_tests_list.h in all testsmoneromooo-monero1-1/+1
This fixes all tests being annoyingly rebuilt when one changes
2017-10-07Subaddresseskenshi841-2/+8
2017-09-25move checkpoints in a separate librarymoneromooo-monero1-2/+2
2017-09-25core_tests: catch (impossible in practice) tx extra api failuremoneromooo-monero1-2/+4
CID 175301
2017-02-21update copyright year, fix occasional lack of newline at line endRiccardo Spagni1-1/+1
2016-08-28New "Halfway RingCT" outputs for coinbase transactionsmoneromooo-monero1-10/+18
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-28rct amount key modified as per luigi1111's recommendationsmoneromooo-monero1-8/+9
This allows the key to be not the same for two outputs sent to the same address (eg, if you pay yourself, and also get change back). Also remove the key amounts lists and return parameters since we don't actually generate random ones, so we don't need to save them as we can recalculate them when needed if we have the correct keys.
2016-08-28rct: change the simple flag to a typemoneromooo-monero1-1/+1
for future expansion
2016-08-28core_tests: fix a couple pre-rct tests using rctmoneromooo-monero1-2/+2
2016-08-28change fork settings to allow pre-rct txes for one more fork cyclemoneromooo-monero1-8/+8
2016-08-28rct: make the amount key derivable by a third party with the tx keymoneromooo-monero1-5/+3
Scheme design from luigi1114.
2016-08-28port get_tx_key/check_tx_key to rctmoneromooo-monero1-2/+4
2016-08-28integrate simple rct apimoneromooo-monero1-1/+4
2016-08-28rct: add the tx prefix hash into the MLSAGmoneromooo-monero1-0/+18
to protect the non-signatures parts of the tx from tampering.
2016-08-28Add rct core testsmoneromooo-monero1-0/+469