aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_basic/cryptonote_basic_impl.cpp (follow)
AgeCommit message (Collapse)AuthorFilesLines
2020-08-17replace most boost serialization with existing monero serializationmoneromooo-monero1-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.
2020-05-06Update copyright year to 2020SomaticFanatic1-1/+1
Update copyright year to 2020
2019-10-21Support median block size > 4 GBmoneromooo-monero1-5/+2
add a 128/64 division routine so we can use a > 32 bit median block size in calculations
2019-04-05cryptonote: rework block blob size sanity checkmoneromooo-monero1-5/+0
Use the actual block weight limit, assuming that weight is always greater or equal to size
2019-03-05Update 2019 copyrightbinaryFate1-1/+1
2018-12-04Merge pull request #4894Riccardo Spagni1-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)
2018-12-04move int-util.h to epeemoneromooo-monero1-1/+1
2018-11-23a few minor (but easy) performance tweaksmoneromooo-monero1-1/+1
Found by codacy.com
2018-10-27cryptonote: use logging functions for errors, not std::coutmoneromooo-monero1-1/+1
2018-09-11v8: per byte fee, pad bulletproofs, fixed 11 ring sizemoneromooo-monero1-14/+14
2018-06-11cryptonote_config: add get_config to refactor x = testnet ? ↵stoffu1-14/+5
config::testnet::X : stagenet ? config::stagenet::X : config::X
2018-03-05Stagenetstoffu1-15/+19
2018-01-26Update 2018 copyrightxmr-eric1-1/+1
2017-12-22factor STL container serializationmoneromooo-monero1-1/+1
2017-10-07Subaddresseskenshi841-45/+31
2017-07-27Move OpenAlias console input back from libsmoneromooo-monero1-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.
2017-03-17wallet-rpc: enable openaliasstoffu1-2/+4
2017-03-15Add intervening v5 fork for increased min block sizemoneromooo-monero1-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).
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/+347