aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/include
Commit message (Collapse)AuthorAgeFilesLines
* Fix typos in various filesDimitris Apostolou2018-03-152-2/+2
|
* Wallet2 + CLI wallet: UTF-8 support for filenames and paths under Windowsrbrunner72018-02-251-1/+82
|
* Merge pull request #3243Riccardo Spagni2018-02-201-2/+2
|\ | | | | | | 2bc8c3db epee get_ns_count: cast to uint64_t before multiplying 10^9 to avoid overflow (stoffu)
| * epee get_ns_count: cast to uint64_t before multiplying 10^9 to avoid overflowstoffu2018-02-081-2/+2
| |
* | Merge pull request #3226Riccardo Spagni2018-02-164-11/+11
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e4646379 keccak: fix mdlen bounds sanity checking (moneromooo-monero) 2e3e90ac pass large parameters by const ref, not value (moneromooo-monero) 61defd89 blockchain: sanity check number of precomputed hash of hash blocks (moneromooo-monero) 9af6b2d1 ringct: fix infinite loop in unused h2b function (moneromooo-monero) 8cea8d0c simplewallet: double check a new multisig wallet is multisig (moneromooo-monero) 9b98a6ac threadpool: catch exceptions in dtor, to avoid terminate (moneromooo-monero) 24803ed9 blockchain_export: fix buffer overflow in exporter (moneromooo-monero) f3f7da62 perf_timer: rewrite to make it clear there is no division by zero (moneromooo-monero) c6ea3df0 performance_tests: remove add_arg call stray extra param (moneromooo-monero) fa6b4566 fuzz_tests: fix an uninitialized var in setup (moneromooo-monero) 03887f11 keccak: fix sanity check bounds test (moneromooo-monero) ad11db91 blockchain_db: initialize m_open in base class ctor (moneromooo-monero) bece67f9 miner: restore std::cout precision after modification (moneromooo-monero) 1aabd14c db_lmdb: check hard fork info drop succeeded (moneromooo-monero)
| * | pass large parameters by const ref, not valuemoneromooo-monero2018-02-024-11/+11
| |/ | | | | | | Coverity 136394 136397 136409 136526 136529 136533 175302
* | Merge pull request #3252Riccardo Spagni2018-02-161-0/+3
|\ \ | | | | | | | | | f689a77e Fix #602 Turn on socket keepalive (Howard Chu)
| * | Fix #602 Turn on socket keepaliveHoward Chu2018-02-111-0/+3
| |/
* | Merge pull request #3217Riccardo Spagni2018-02-161-3/+0
|\ \ | | | | | | | | | fde4489e wipeable_string: call memwipe directly (moneromooo-monero)
| * | wipeable_string: call memwipe directlymoneromooo-monero2018-01-311-3/+0
| |/ | | | | | | | | since the original reason for the indirect call (that memwipe was not in contrib) is now gone
* | Fix method name in invoke_http_json_rpcErik de Castro Lopo2018-01-291-1/+1
| | | | | | | | | | Previously, the method name was printed as an exmpty string because the input string had already been moved with `std::move`.
* | Allow the number of incoming connections to be limitedErik de Castro Lopo2018-01-291-33/+45
|/ | | | | | It was already possible to limit outgoing connections. One might want to do this on home network connections with high bandwidth but low usage caps.
* Merge pull request #2969Riccardo Spagni2018-01-273-12/+15
|\ | | | | | | 95171614 Remove is_pod trait, and replace with is_standard_layout requirement (Lee Clagett)
| * Remove is_pod trait, and replace with is_standard_layout requirementLee Clagett2018-01-183-12/+15
| |
* | Merge pull request #3098Riccardo Spagni2018-01-271-1/+1
|\ \ | | | | | | | | | 935e39c7 levin_protocol_handler_async: erase from back of vector instead of front (stoffu)
| * | levin_protocol_handler_async: erase from back of vector instead of frontstoffu2018-01-261-1/+1
| | |
* | | Readd copyright starting datexmr-eric2018-01-264-4/+4
| | |
* | | Update 2018 copyrightxmr-eric2018-01-268-8/+8
|/ /
* | Merge pull request #3012Riccardo Spagni2018-01-251-8/+18
|\ \ | | | | | | | | | e4bbeff2 epee: check some error return values (moneromooo-monero)
| * | epee: check some error return valuesmoneromooo-monero2017-12-271-8/+18
| | |
* | | epee: detect strptime, use std::get_time as fallbackmoneromooo-monero2018-01-111-0/+6
| |/ |/|
* | Merge pull request #2990Riccardo Spagni2018-01-101-1/+0
|\ \ | | | | | | | | | 2d17feb0 factor STL container serialization (moneromooo-monero)
| * | factor STL container serializationmoneromooo-monero2017-12-221-1/+0
| | |
* | | Merge pull request #2986Riccardo Spagni2018-01-101-3/+3
|\ \ \ | | | | | | | | | | | | 373d1d50 epee: use strptime instead of std::get_time, for compatibility (moneromooo-monero)
| * | | epee: use strptime instead of std::get_time, for compatibilitymoneromooo-monero2017-12-211-3/+3
| |/ /
* | | move memwipe to epee to avoid common<->crypto circular dependenciesmoneromooo-monero2018-01-101-0/+84
| | |
* | | epee: remove dependency on commonmoneromooo-monero2018-01-104-7/+9
| |/ |/|
* | Merge pull request #2936Riccardo Spagni2017-12-251-9/+12
|\ \ | | | | | | | | | | | | cb9aa23c levin_protocol_handler_async: another attempt at fixing at exception (moneromooo-monero) 64d23ce3 Revert "epee: keep a ref to a connection we're deleting" (moneromooo-monero)
| * | levin_protocol_handler_async: another attempt at fixing at exceptionmoneromooo-monero2017-12-151-3/+12
| | |
| * | Revert "epee: keep a ref to a connection we're deleting"moneromooo-monero2017-12-151-8/+2
| | | | | | | | | | | | This reverts commit f2939bdce8c86b0f96921f731184c361106390c8.
* | | Merge pull request #2930Riccardo Spagni2017-12-251-5/+9
|\ \ \ | | | | | | | | | | | | 7f4bb612 levin_protocol_handler_async: add missing response handler locking (moneromooo-monero)
| * | | levin_protocol_handler_async: add missing response handler lockingmoneromooo-monero2017-12-151-5/+9
| |/ /
* | | Merge pull request #2929Riccardo Spagni2017-12-251-0/+20
|\ \ \ | | | | | | | | | | | | | | | | ae55bacd resumption support for updates using range requests (moneromooo-monero) fe0fae50 epee: add a get_file_size function (moneromooo-monero)
| * | | epee: add a get_file_size functionmoneromooo-monero2017-12-151-0/+20
| |/ /
* | | Merge pull request #2920Riccardo Spagni2017-12-256-8/+21
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bd5cce07 network_throttle: fix ineffective locking (moneromooo-monero) e0a61299 network_throttle: remove unused xxx static member (moneromooo-monero) 24f584d9 cryptonote_core: remove unused functions with off by one bugs (moneromooo-monero) b1634aa3 blockchain: don't leave dangling pointers in this (moneromooo-monero) 8e60b81c cryptonote_core: fix db leak on error (moneromooo-monero) 213e326c abstract_tcp_server2: log init_server errors as fatal (moneromooo-monero) b51dc566 use const refs in for loops for non tiny types (moneromooo-monero) f0568ca6 net_parse_helpers: fix regex error checking (moneromooo-monero) b49ddc76 check accessing an element past the end of a container (moneromooo-monero) 2305bf26 check return value for generate_key_derivation and derive_public_key (moneromooo-monero) a4240d9f catch const exceptions (moneromooo-monero) 45a1c4c0 add empty container sanity checks when using front() and back() (moneromooo-monero) 56fa6ce1 tests: fix a buffer overread in a unit test (moneromooo-monero) b4524892 rpc: guard against json parsing a non object (moneromooo-monero) c2ed8618 easylogging++: avoid buffer underflow (moneromooo-monero) 187a6ab2 epee: trap failure to parse URI from request (moneromooo-monero) 061789b5 checkpoints: trap failure to load JSON checkpoints (moneromooo-monero) ba2fefb9 checkpoints: pass std::string by const ref, not const value (moneromooo-monero) 38c8f4e0 mlog: terminate a string at last char, just in case (moneromooo-monero) d753d716 fix a few leaks by throwing objects, not newed pointers to objects (moneromooo-monero) fe568db8 p2p: use size_t for arbitrary counters instead of uint8_t (moneromooo-monero) 46d6fa35 cryptonote_protocol: sanity check chain hashes from peer (moneromooo-monero) 25584f86 cryptonote_protocol: print peer versions when unexpected (moneromooo-monero) 490a5d41 rpc: do not try to use an invalid txid in relay_tx (moneromooo-monero)
| * | | network_throttle: remove unused xxx static membermoneromooo-monero2017-12-181-2/+0
| | | |
| * | | abstract_tcp_server2: log init_server errors as fatalmoneromooo-monero2017-12-181-1/+11
| | | | | | | | | | | | | | | | so they show up by default
| * | | net_parse_helpers: fix regex error checkingmoneromooo-monero2017-12-181-2/+2
| | | |
| * | | catch const exceptionsmoneromooo-monero2017-12-181-1/+1
| | | |
| * | | add empty container sanity checks when using front() and back()moneromooo-monero2017-12-181-1/+1
| | | |
| * | | epee: trap failure to parse URI from requestmoneromooo-monero2017-12-181-1/+6
| | |/ | |/|
* | | Merge pull request #2909Riccardo Spagni2017-12-251-0/+1
|\ \ \ | | | | | | | | | | | | dba2de61 levin_protocol_handler_async: call handler destroy function on dtor (moneromooo-monero)
| * | | levin_protocol_handler_async: call handler destroy function on dtormoneromooo-monero2017-12-111-0/+1
| | |/ | |/|
* | | Merge pull request #2905Riccardo Spagni2017-12-251-75/+107
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bd1f6029 http_client: rewrite header parsing manually for speed (moneromooo-monero) ec724eb6 tests: add levin fuzz test (moneromooo-monero) f1bdc9a4 tests: add http client fuzz test (moneromooo-monero) 0272df9e add parse_url fuzz test (moneromooo-monero) 261b0dd0 tests: add base58 fuzz test (moneromooo-monero) fd052087 fuzz_testing: allow automatically resuming an interrupted job (moneromooo-monero) c80bb0eb tests: don't init stuff we don't need in fuzz tests - faster (moneromooo-monero) 53b83a83 tests: better load-from-binary fuzz test data file (moneromooo-monero) 1a379ef6 fuzz_testing: build with ASAN (assumed to be available) (moneromooo-monero) 4cd4a431 fuzz_testing: create out directory if needed, and fix filename passing (moneromooo-monero) c27d9092 Makefile: build fuzz tests statically, starts faster (moneromooo-monero) 95aa0bf7 add load_from_binary/load_from_json fuzzers (moneromooo-monero)
| * | | http_client: rewrite header parsing manually for speedmoneromooo-monero2017-12-231-72/+93
| | | | | | | | | | | | | | | | boost::regex is stupendously atrocious at parsing malformed data
| * | | tests: add http client fuzz testmoneromooo-monero2017-12-231-3/+14
| | |/ | |/|
* / | Fix Windows builddEBRUYNE-12017-12-231-0/+4
|/ / | | | | | | Fix no new line
* | Merge pull request #2857Riccardo Spagni2017-12-171-1/+1
|\ \ | | | | | | | | | 7193b89f Scrub keys from memory just before scope end. (moneromooo-monero)
| * | Scrub keys from memory just before scope end.moneromooo-monero2017-12-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Partially implements #74. Securely erases keys from memory after they are no longer needed. Might have a performance impact, which I haven't measured (perf measurements aren't generally reliable on laptops). Thanks to @stoffu for the suggestion to specialize the pod_to_hex/hex_to_pod functions. Using overloads + SFINAE instead generalizes it so other types can be marked as scrubbed without adding more boilerplate.
* | | Merge pull request #2877Riccardo Spagni2017-12-174-2/+444
|\ \ \ | | | | | | | | | | | | | | | | | | | | 43f5269f Wallets now do not depend on the daemon rpc lib (moneromooo-monero) bb89ae8b move connection_basic and network_throttle from src/p2p to epee (moneromooo-monero) 4abf25f3 cryptonote_core does not depend on p2p anymore (moneromooo-monero)