aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_basic/cryptonote_format_utils.cpp (follow)
AgeCommit message (Collapse)AuthorFilesLines
2018-09-14Merge pull request #4330Riccardo Spagni1-3/+13
93e7627d cryptonote_format_utils: do not early out on invalid tx pubkeys (moneromooo-monero)
2018-09-11bulletproofs: scale points by 8 to ensure subgroup validitymoneromooo-monero1-1/+1
2018-09-11cryptonote_basic: check output type before using itmoneromooo-monero1-0/+7
Reported by QuarksLab.
2018-09-11v8: per byte fee, pad bulletproofs, fixed 11 ring sizemoneromooo-monero1-12/+46
2018-09-11Bulletproof aggregated verification and testsmoneromooo-monero1-5/+13
Also constrains bulletproofs to simple rct, for simplicity
2018-09-02cryptonote_format_utils: do not early out on invalid tx pubkeysmoneromooo-monero1-3/+13
Another such pubkey might be valid
2018-05-23db_lmdb: save pruned and prunable tx data separatelymoneromooo-monero1-8/+56
This bumps DB version to 2, migration code will run for v1 DBs
2018-05-07cryptonote: make sure outPk setup always happensmoneromooo-monero1-0/+37
2018-03-14device: untangle cyclic depenencystoffu1-182/+13
When #3303 was merged, a cyclic dependency chain was generated: libdevice <- libcncrypto <- libringct <- libdevice This was because libdevice needs access to a set of basic crypto operations implemented in libringct such as scalarmultBase(), while libringct also needs access to abstracted crypto operations implemented in libdevice such as ecdhEncode(). To untangle this cyclic dependency chain, this patch splits libringct into libringct_basic and libringct, where the basic crypto ops previously in libringct are moved into libringct_basic. The cyclic dependency is now resolved thanks to this separation: libcncrypto <- libringct_basic <- libdevice <- libcryptonote_basic <- libringct This eliminates the need for crypto_device.cpp and rctOps_device.cpp. Also, many abstracted interfaces of hw::device such as encrypt_payment_id() and get_subaddress_secret_key() were previously implemented in libcryptonote_basic (cryptonote_format_utils.cpp) and were then called from hw::core::device_default, which is odd because libdevice is supposed to be independent of libcryptonote_basic. Therefore, those functions were moved to device_default.cpp.
2018-03-14device: made function prototypes consistent with pre-#3303 codebasestoffu1-7/+3
2018-03-05Monero Cryptonight variants, and add one for v7moneromooo-monero1-1/+2
This is the first variant of many, with the intent to improve Monero's resistance to ASICs and encourage mining decentralization.
2018-03-04Code modifications to integrate Ledger HW device into monero-wallet-cli.cslashm1-20/+117
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-02-16wallet2: speed up subaddress generation (by about a third)moneromooo-monero1-0/+39
2018-01-26Update 2018 copyrightxmr-eric1-1/+1
2018-01-10Merge pull request #2990Riccardo Spagni1-0/+1
2d17feb0 factor STL container serialization (moneromooo-monero)
2017-12-22factor STL container serializationmoneromooo-monero1-0/+1
2017-12-18check return value for generate_key_derivation and derive_public_keymoneromooo-monero1-4/+8
2017-12-17make multisig work with subaddressesmoneromooo-monero1-4/+49
Thanks to kenshi84 for help getting this work
2017-12-16move includes around to lessen overall loadmoneromooo-monero1-0/+2
2017-11-27new wipeable_string class to replace std::string passphrasesmoneromooo-monero1-2/+3
2017-11-22cryptonote: do not overwrite const datamoneromooo-monero1-2/+2
2017-11-14remove "using namespace std" from headersmoneromooo-monero1-0/+2
It's nasty, and actually breaks on Solaris, where if.h fails to build due to: struct map *if_memmap;
2017-10-15refactor cryptonote_basic::add_tx_pub_key_to_extraJaquee1-3/+13
2017-10-07Subaddresseskenshi841-13/+125
2017-09-25move checkpoints in a separate librarymoneromooo-monero1-1/+1
2017-09-12wallet: add encrypted seed functionalitymoneromooo-monero1-0/+17
This uses luigi1111's CN_Add method. See https://xmr.llcoins.net for details.
2017-04-03core: fix blob size cache, and reenable hash and blob size cachesmoneromooo-monero1-6/+0
2017-03-26core: disable tx/block hash cachemoneromooo-monero1-0/+6
Looks like it doesn't work on win64
2017-03-25core: avoid possible reordering bugs wth tx/bloch hash cachemoneromooo-monero1-15/+11
2017-03-23core: cache tx and block hashes in the respective classesmoneromooo-monero1-2/+77
An idea from smooth
2017-03-05format_utils: fix typo in assert messagelethos31-2/+2
Fix two small typos as mentioned by reddit user nthterm.
2017-03-03Merge pull request #1826Riccardo Spagni1-8/+56
2c468dd4 allow user I/O in millinero, micronero, nanonero, piconero (moneromooo-monero)
2017-03-02allow user I/O in millinero, micronero, nanonero, piconeromoneromooo-monero1-8/+56
2017-02-27core: add functions to serialize base tx infomoneromooo-monero1-0/+10
That is, information without signatures (for v1) nor range proofs and MGs (for v2)
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-0/+743