Commit Graph

289 Commits (master)

Author SHA1 Message Date
kenshi84 8027ce0c75 extract some basic code from libcryptonote_core into libcryptonote_basic
7 years ago
Timothy D. Prime 6b145763f7 Fix clang build failure, caused by mixing C and C++
7 years ago
moneromooo-monero 6cc7d26140
ringct: reorder a bit to check quicker tests first
7 years ago
moneromooo-monero 5833d66f65
Change logging to easylogging++
7 years ago
Riccardo Spagni ec323d8c3f
Merge pull request #1561
7 years ago
moneromooo-monero ba3968f6ce
rct: split rct checks between semantics and other
7 years ago
Chris Vickio fb76d43980 add extra braces around subobjects (missing-braces warning)
7 years ago
Lee Clagett e3639f5cc3 Removed unused functions
7 years ago
moneroexamples 374b58d131 fix MGs json
8 years ago
luigi1111 9d906159c3
Tx verification failing is not an error
8 years ago
Riccardo Spagni e6b05ed95a
Merge pull request #1414
8 years ago
moneromooo-monero 3b00527500
ringct: add sc_check calls in MLSAG_Ver for ss and cc
8 years ago
moneromooo-monero 2f1732a7e5
ringct: guard against bad data exceptions in worker threads
8 years ago
luigi1111 46a0dcc1d2
ringct: luigi1111's changes to fix and speedup Borromean sigs
8 years ago
Shen Noether 76958fc75a
ringct: switch to Borromean signatures
8 years ago
moneromooo-monero 59443bf9df
ringct: fix MGs serialization to JSON
8 years ago
Lee Clagett f025198f19 Added task_region - a fork/join task implementation
8 years ago
Lee Clagett 64094e5f4e adding thread_group for managing async tasks
8 years ago
Riccardo Spagni d51f1af75f
Merge pull request #1272
8 years ago
moneromooo-monero ffd8c41f36
ringct: check the size of amount_keys is the same as destinations
8 years ago
moneromooo-monero 836669d276
ringct: always shutdown the boost io service
8 years ago
moneromooo-monero 59f0d4b574
ringct: some more small optimizations
8 years ago
moneromooo-monero 3429bfb71d
ringct: thread verRct and verRctSimple
8 years ago
moneromooo-monero e06a4daf33
ringct: remove unneeded type conversions
8 years ago
moneromooo-monero afc70df7ea
ringct: reserve space in vectors to avoid excessive reallocation
8 years ago
moneromooo-monero 9ebf7b6dcf
ringct: avoid unnecessary memcpy
8 years ago
moneromooo-monero 1fe75c1ea7
ringct: add a few consts where possible
8 years ago
moneromooo-monero ab002a1d97
ringct: pass vectors by const ref where possible
8 years ago
moneromooo-monero 4038e86527
Add performance timers for ringct tx verification
8 years ago
moneromooo-monero 3126ba7425
ringct: use const refs as parameters where appropriate
8 years ago
Randi Joseph 9e54616924 Dropped "bit" from bitmonero.
8 years ago
redfish e1c7af35d4 cmake: transitive deps and remove deprecated LINK_*
8 years ago
moneromooo-monero 7d413f635f
rct: rework serialization to avoid storing vector sizes
8 years ago
moneromooo-monero f24ab58d18
ringct: remove unused code
8 years ago
moneromooo-monero b38452bd55
ringct: pass structure by const ref, not value
8 years ago
moneromooo-monero fd11271eea
ringct: use memcpy/memset instead of handwritten loop where appropriate
8 years ago
moneromooo-monero 5d38206fcc
ringct: remove spurious copies
8 years ago
moneromooo-monero 16732a85d7
rct: faster Cryptonote/rct conversions
8 years ago
moneromooo-monero 94fd881f74
rct: early out on failure on verRange
8 years ago
moneromooo-monero 074e602609
ringct: use Cryptonote serialization to hash non prunable data
8 years ago
moneromooo-monero c3b3260ae5
New "Halfway RingCT" outputs for coinbase transactions
8 years ago
moneromooo-monero 6f526cdff8
rct: log why verification fails
8 years ago
moneromooo-monero d4b8991e44
rct: serialize txnFee as varint
8 years ago
moneromooo-monero d4b62a1e29
rct amount key modified as per luigi1111's recommendations
8 years ago
moneromooo-monero 93f5c625f0
rct: rework v2 txes into prunable and non prunable data
8 years ago
moneromooo-monero d93746b6d3
rct: rework the verification preparation process
8 years ago
moneromooo-monero 3ab2ab3e76
rct: change the simple flag to a type
8 years ago
Shen Noether c5be4b0bea
rct: avoid the need for the last II element
8 years ago
moneromooo-monero b337aea6cc
rct: do not serialize senderPk - it is not used anymore
8 years ago
moneromooo-monero 9b70856ccb
rct: make the amount key derivable by a third party with the tx key
8 years ago
moneromooo-monero cf33e1a52a
rct: do not serialize public keys in outPk
8 years ago
moneromooo-monero 1e21651f24
rct: use the already defined H where possible
8 years ago
moneromooo-monero e81a2b2cfa
port get_tx_key/check_tx_key to rct
8 years ago
moneromooo-monero a4d4d6194b
integrate simple rct api
8 years ago
Shen Noether dbb5f2d6a3
ringct: optimization/cleanup of hash functions
8 years ago
Shen Noether 4fd01f2bee
ringct: "simple" ringct variant
8 years ago
moneromooo-monero 35dce5c70c
ringct: fix size unit mismatch calling keccak
8 years ago
moneromooo-monero 20e50ec7f7
ringct: do not serialize what can be reconstructed
8 years ago
moneromooo-monero 73d59f17e1
ringct: catch errors from ge_frombytes_vartime
8 years ago
moneromooo-monero 359f46901e
ringct: add missing size check for ecdhInfo
8 years ago
moneromooo-monero 229968eafc
ringct: change asserts to return false for boolean functions
8 years ago
moneromooo-monero dc4aad7eb5
add rct to the protocol
8 years ago
moneromooo-monero dee42d6dac
ringct: add functions to commit to an amount
8 years ago
moneromooo-monero cc7f449d57
make rct tx serialization work
8 years ago
moneromooo-monero 54f7429cf6
ringct: allow no outputs, and add tests for this and fees
8 years ago
moneromooo-monero e99904ac31
ringct: make fee optional
8 years ago
Shen Noether f8c04ad94f
ringct: txn fee stuff
8 years ago
moneromooo-monero 66f96260b2
ringct: new {gen,decode}Rct APIs for convenience
8 years ago
moneromooo-monero 789b2e21f6
ringct: add more convenience functions
8 years ago
moneromooo-monero c3a2e1450a
ringct: add convenience functions to bridge ringct and cryptonote
8 years ago
moneromooo-monero 82072e701a
ringct: restore verRange check in debug mode
8 years ago
moneromooo-monero 63856cad29
ringct: add check for destinations/amount size being equal
8 years ago
moneromooo-monero e816a09292
ringct: fix off by 1 in mixin usage
8 years ago
moneromooo-monero 09c5ea43a2
ringct: simplify random key generation
8 years ago
Shen Noether 56f6549962
ringct: cosmetic fixes
8 years ago
Shen Noether 55ff136e12
ringct: changes to hashToPointSimple to calcualte H2 values
8 years ago
Shen Noether 63733b1785
ringct: compare keys with bitwise equality, not crypto ops
8 years ago
Shen Noether 98f4c6f7eb
ringct: fix size argument to cn_fast_hash
8 years ago
Shen Noether 09fb9f4b75
Fix sc_0 to skGen in ProveRange
8 years ago
moneromooo-monero d37c1db032
ringct: add a few consts where appropriate
8 years ago
moneromooo-monero 700248f59e
tests: more ringct range proof tests
8 years ago
moneromooo-monero d02f9995a8
rct: add serialization machinery to rct types
8 years ago
moneromooo-monero 0ff8305426
serialization: declare do_serialize specializations before use
8 years ago
Shen Noether 8b135e7aa3
Added note on generating H2
8 years ago
Shen Noether 4d639d90ca
Fixed missing last index H2
8 years ago
moneromooo-monero 86b4426191
ringct: lock access to the PRNG
8 years ago
moneromooo-monero 4d7f073491
ringct: add simple input validation
8 years ago
moneromooo-monero b656001030
ringct: add convenience operators to key
8 years ago
moneromooo-monero 9b1afe5f2d
ringct: import of Shen Noether's ring confidential transactions
8 years ago