summaryrefslogtreecommitdiff
path: root/src/ringct
Commit message (Collapse)AuthorAgeFilesLines
* Tx verification failing is not an errorluigi11112016-12-121-5/+5
| | | | And rangeProofs are on outputs...
* Merge pull request #1414Riccardo Spagni2016-12-081-0/+19
|\ | | | | | | | | 3b005275 ringct: add sc_check calls in MLSAG_Ver for ss and cc (moneromooo-monero) 2f1732a7 ringct: guard against bad data exceptions in worker threads (moneromooo-monero)
| * ringct: add sc_check calls in MLSAG_Ver for ss and ccmoneromooo-monero2016-12-071-0/+5
| | | | | | | | luigi1111's recommendation
| * ringct: guard against bad data exceptions in worker threadsmoneromooo-monero2016-12-071-0/+14
| | | | | | | | | | | | If purported pubkeys aren't actually valid pubkeys, exceptions will fly. These will terminate if thrown in a worker thread. Guard against this.
* | ringct: luigi1111's changes to fix and speedup Borromean sigsluigi11112016-12-041-16/+15
| |
* | ringct: switch to Borromean signaturesShen Noether2016-12-045-113/+87
|/
* ringct: fix MGs serialization to JSONmoneromooo-monero2016-12-021-1/+5
|
* Added task_region - a fork/join task implementationLee Clagett2016-11-231-60/+45
|
* adding thread_group for managing async tasksLee Clagett2016-11-021-98/+50
|
* Merge pull request #1272Riccardo Spagni2016-11-011-3/+5
|\ | | | | | | | | | | 48b57d8 monero.supp: valgrind suppressions file (moneromooo-monero) ffd8c41 ringct: check the size of amount_keys is the same as destinations (moneromooo-monero) 836669d ringct: always shutdown the boost io service (moneromooo-monero)
| * ringct: check the size of amount_keys is the same as destinationsmoneromooo-monero2016-10-291-0/+2
| |
| * ringct: always shutdown the boost io servicemoneromooo-monero2016-10-291-3/+3
| | | | | | | | | | Even if no worker threads were started, it needs shutting down or it will cause an invalid access in the io service thread
* | ringct: some more small optimizationsmoneromooo-monero2016-10-232-58/+25
|/
* ringct: thread verRct and verRctSimplemoneromooo-monero2016-10-151-17/+119
|
* ringct: remove unneeded type conversionsmoneromooo-monero2016-10-152-3/+3
|
* ringct: reserve space in vectors to avoid excessive reallocationmoneromooo-monero2016-10-151-0/+2
|
* ringct: avoid unnecessary memcpymoneromooo-monero2016-10-151-16/+3
|
* ringct: add a few consts where possiblemoneromooo-monero2016-10-151-4/+4
|
* ringct: pass vectors by const ref where possiblemoneromooo-monero2016-10-152-4/+4
|
* Add performance timers for ringct tx verificationmoneromooo-monero2016-10-101-0/+7
|
* ringct: use const refs as parameters where appropriatemoneromooo-monero2016-10-083-5/+5
|
* Dropped "bit" from bitmonero.Randi Joseph2016-09-261-2/+2
|
* cmake: transitive deps and remove deprecated LINK_*redfish2016-09-181-8/+2
| | | | | | | | | | | | | | Keep the immediate direct deps at the library that depends on them, declare deps as PUBLIC so that targets that link against that library get the library's deps as transitive deps. Break dep cycle between blockchain_db <-> crytonote_core. No code refactoring, just hide cycle from cmake so that it doesn't complain (cycles are allowed only between static libs, not shared libs). This is in preparation for supproting BUILD_SHARED_LIBS cmake built-in option for building internal libs as shared.
* rct: rework serialization to avoid storing vector sizesmoneromooo-monero2016-09-142-36/+130
|
* ringct: remove unused codemoneromooo-monero2016-08-281-245/+0
|
* ringct: pass structure by const ref, not valuemoneromooo-monero2016-08-282-2/+2
|
* ringct: use memcpy/memset instead of handwritten loop where appropriatemoneromooo-monero2016-08-281-29/+11
|
* ringct: remove spurious copiesmoneromooo-monero2016-08-281-24/+4
|
* rct: faster Cryptonote/rct conversionsmoneromooo-monero2016-08-281-8/+8
|
* rct: early out on failure on verRangemoneromooo-monero2016-08-281-3/+5
|
* ringct: use Cryptonote serialization to hash non prunable datamoneromooo-monero2016-08-281-21/+9
|
* New "Halfway RingCT" outputs for coinbase transactionsmoneromooo-monero2016-08-281-2/+7
| | | | | | | | | | | | | | | 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: log why verification failsmoneromooo-monero2016-08-281-9/+13
| | | | and remove some unnecessary variables in the checking code
* rct: serialize txnFee as varintmoneromooo-monero2016-08-281-1/+1
|
* rct amount key modified as per luigi1111's recommendationsmoneromooo-monero2016-08-284-42/+12
| | | | | | | | | 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: rework v2 txes into prunable and non prunable datamoneromooo-monero2016-08-282-31/+43
| | | | Nothing is pruned, but this allows easier changes later.
* rct: rework the verification preparation processmoneromooo-monero2016-08-282-63/+77
| | | | | | | | | | The whole rct data apart from the MLSAGs is now included in the signed message, to avoid malleability issues. Instead of passing the data that's not serialized as extra parameters to the verification API, the transaction is modified to fill all that information. This means the transaction can not be const anymore, but it cleaner in other ways.
* rct: change the simple flag to a typemoneromooo-monero2016-08-282-10/+14
| | | | for future expansion
* rct: avoid the need for the last II elementShen Noether2016-08-283-33/+44
| | | | | | This element is used in the generation of the MLSAG, but isn't needed in verification. Also misc changes in the cryptonote code to match, by mooo.
* rct: do not serialize senderPk - it is not used anymoremoneromooo-monero2016-08-281-1/+1
|
* rct: make the amount key derivable by a third party with the tx keymoneromooo-monero2016-08-285-24/+52
| | | | Scheme design from luigi1114.
* rct: do not serialize public keys in outPkmoneromooo-monero2016-08-283-17/+29
| | | | They can be reconstructed from vout
* rct: use the already defined H where possiblemoneromooo-monero2016-08-281-2/+1
| | | | Found by luigi1111w
* port get_tx_key/check_tx_key to rctmoneromooo-monero2016-08-282-8/+10
|
* integrate simple rct apimoneromooo-monero2016-08-283-67/+76
|
* ringct: optimization/cleanup of hash functionsShen Noether2016-08-283-22/+45
|
* ringct: "simple" ringct variantShen Noether2016-08-285-3/+249
| | | | | Allows the fake outs to be in different positions for each ring. For rct inputs only.
* ringct: fix size unit mismatch calling keccakmoneromooo-monero2016-08-281-1/+1
|
* ringct: do not serialize what can be reconstructedmoneromooo-monero2016-08-283-21/+43
| | | | | | The mixRing (output keys and commitments) and II fields (key images) can be reconstructed from vin data. This saves some modest amount of space in the tx.
* ringct: catch errors from ge_frombytes_vartimemoneromooo-monero2016-08-281-11/+12
|