aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_basic/cryptonote_basic_impl.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Copyright: Update to 2022mj-xmr2022-03-041-1/+1
|
* replace most boost serialization with existing monero serializationmoneromooo-monero2020-08-171-1/+0
| | | | | | | | | | | | | | | | | | | | | | This reduces the attack surface for data that can come from malicious sources (exported output and key images, multisig transactions...) since the monero serialization is already exposed to the outside, and the boost lib we were using had a few known crashers. For interoperability, a new load-deprecated-formats wallet setting is added (off by default). This allows loading boost format data if there is no alternative. It will likely go at some point, along with the ability to load those. Notably, the peer lists file still uses the boost serialization code, as the data it stores is define in epee, while the new serialization code is in monero, and migrating it was fairly hairy. Since this file is local and not obtained from anyone else, the marginal risk is minimal, but it could be migrated later if needed. Some tests and tools also do, this will stay as is for now.
* Update copyright year to 2020SomaticFanatic2020-05-061-1/+1
| | | | Update copyright year to 2020
* Support median block size > 4 GBmoneromooo-monero2019-10-211-5/+2
| | | | | add a 128/64 division routine so we can use a > 32 bit median block size in calculations
* cryptonote: rework block blob size sanity checkmoneromooo-monero2019-04-051-5/+0
| | | | | Use the actual block weight limit, assuming that weight is always greater or equal to size
* Update 2019 copyrightbinaryFate2019-03-051-1/+1
|
* Merge pull request #4894Riccardo Spagni2018-12-041-1/+1
|\ | | | | | | | | | | | | | | | | | | aee7a4e3 wallet_rpc_server: do not use RPC data if the call failed (moneromooo-monero) 1a0733e5 windows_service: fix memory leak (moneromooo-monero) 0dac3c64 unit_tests: do not rethrow a copy of an exception (moneromooo-monero) 5d9915ab cryptonote: fix get_unit for non default settings (moneromooo-monero) d4f50cb1 remove some unused code (moneromooo-monero) 61163971 a few minor (but easy) performance tweaks (moneromooo-monero) 30023074 tests: slow_memmem now returns size_t (moneromooo-monero)
| * a few minor (but easy) performance tweaksmoneromooo-monero2018-11-231-1/+1
| | | | | | | | Found by codacy.com
* | move int-util.h to epeemoneromooo-monero2018-12-041-1/+1
|/
* cryptonote: use logging functions for errors, not std::coutmoneromooo-monero2018-10-271-1/+1
|
* v8: per byte fee, pad bulletproofs, fixed 11 ring sizemoneromooo-monero2018-09-111-14/+14
|
* cryptonote_config: add get_config to refactor x = testnet ? ↵stoffu2018-06-111-14/+5
| | | | config::testnet::X : stagenet ? config::stagenet::X : config::X
* Stagenetstoffu2018-03-051-15/+19
|
* Update 2018 copyrightxmr-eric2018-01-261-1/+1
|
* factor STL container serializationmoneromooo-monero2017-12-221-1/+1
|
* Subaddresseskenshi842017-10-071-45/+31
|
* Move OpenAlias console input back from libsmoneromooo-monero2017-07-271-4/+4
| | | | | | | Library code should definitely not ask for console input unless it's clearly an input function. Delegating the user interaction part to the caller means it can now be used by a GUI, or have a decision algorithm better adapted to a particular caller.
* wallet-rpc: enable openaliasstoffu2017-03-171-2/+4
|
* Add intervening v5 fork for increased min block sizemoneromooo-monero2017-03-151-1/+10
| | | | | | | | | | Minimum mixin 4 and enforced ringct is moved from v5 to v6. v5 is now used for an increased minimum block size (from 60000 to 300000) to cater for larger typical/minimum transaction size. The fee algorithm is also changed to decrease the base per kB fee, and add a cheap tier for those transactions which we do not care if they get delayed (or even included in a block).
* update copyright year, fix occasional lack of newline at line endRiccardo Spagni2017-02-211-1/+1
|
* extract some basic code from libcryptonote_core into libcryptonote_basickenshi842017-02-081-0/+347