summaryrefslogtreecommitdiff
path: root/tests/core_tests/rct.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Code modifications to integrate Ledger HW device into monero-wallet-cli.cslashm2018-03-041-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.
* Update 2018 copyrightxmr-eric2018-01-261-1/+1
|
* add bulletproofs from v7 on testnetmoneromooo-monero2017-12-081-1/+1
|
* 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
* Subaddresseskenshi842017-10-071-2/+8
|
* move checkpoints in a separate librarymoneromooo-monero2017-09-251-2/+2
|
* core_tests: catch (impossible in practice) tx extra api failuremoneromooo-monero2017-09-251-2/+4
| | | | CID 175301
* 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-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.
* rct amount key modified as per luigi1111's recommendationsmoneromooo-monero2016-08-281-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.
* rct: change the simple flag to a typemoneromooo-monero2016-08-281-1/+1
| | | | for future expansion
* core_tests: fix a couple pre-rct tests using rctmoneromooo-monero2016-08-281-2/+2
|
* change fork settings to allow pre-rct txes for one more fork cyclemoneromooo-monero2016-08-281-8/+8
|
* rct: make the amount key derivable by a third party with the tx keymoneromooo-monero2016-08-281-5/+3
| | | | Scheme design from luigi1114.
* port get_tx_key/check_tx_key to rctmoneromooo-monero2016-08-281-2/+4
|
* integrate simple rct apimoneromooo-monero2016-08-281-1/+4
|
* rct: add the tx prefix hash into the MLSAGmoneromooo-monero2016-08-281-0/+18
| | | | to protect the non-signatures parts of the tx from tampering.
* Add rct core testsmoneromooo-monero2016-08-281-0/+469