aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/include
Commit message (Collapse)AuthorAgeFilesLines
...
| * | abstract_tcp_server2: restart async accept on errormoneromooo-monero2018-06-181-4/+19
| |/
* | epee.string_tools: add conversion between UTF-8 and UTF-16stoffu2018-06-282-15/+45
| |
* | Merge pull request #3971luigi11112018-06-251-1/+1
|\ \ | | | | | | | | | 4ecf714 epee: fix include for ofstream (moneromooo-monero)
| * | epee: fix include for ofstreammoneromooo-monero2018-06-091-1/+1
| |/
* | Merge pull request #3962luigi11112018-06-254-19/+75
|\ \ | | | | | | | | | 55c7fb8 epee: adaptive connection timeout system (moneromooo-monero)
| * | epee: adaptive connection timeout systemmoneromooo-monero2018-06-104-19/+75
| |/ | | | | | | | | | | | | | | | | | | | | a connection's timeout is halved for every extra connection from the same host. Also keep track of when we don't need to use a connection anymore, so we can close it and free the resource for another connection. Also use the longer timeout for non routable local addresses.
* | Merge pull request #3902luigi11112018-06-201-1/+1
|\ \ | | | | | | | | | | | | f8dd433 epee: fix detection of 172.16.0.0/172.31.255.255 local IP range (moneromooo-monero) 5db9e3c unit_tests: add tests for local IP range detection (moneromooo-monero)
| * | epee: fix detection of 172.16.0.0/172.31.255.255 local IP rangemoneromooo-monero2018-06-011-1/+1
| |/
* | Merge pull request #3897luigi11112018-06-201-1/+2
|\ \ | | | | | | | | | 63d0ab0 mlog: --max-log-files to set the max number of rotated log files (stoffu)
| * | mlog: --max-log-files to set the max number of rotated log filesstoffu2018-06-131-1/+2
| |/
* | Merge pull request #3878luigi11112018-06-191-3/+3
|\ \ | | | | | | | | | 5a412b7 disable file size sanity check when loading the wallet cache (moneromooo-monero)
| * | disable file size sanity check when loading the wallet cachemoneromooo-monero2018-05-281-3/+3
| | |
* | | Merge pull request #3821luigi11112018-06-191-1/+1
|\ \ \ | | | | | | | | | | | | | | | | 558d05b epee: log type name when a container size check fails (moneromooo-monero) a2566db object_sizes: add a few useful types (moneromooo-monero)
| * | | epee: log type name when a container size check failsmoneromooo-monero2018-05-171-1/+1
| |/ /
* | / wallet-rpc: added IPs to error logging in simple_http_connection_handlerjcktm2018-06-132-18/+18
| |/ |/|
* | http_protocol_handler: limit the number of starting newlinesmoneromooo-monero2018-05-273-1/+12
| |
* | abstract_tcp_server2: timeout on RPC connectionsmoneromooo-monero2018-05-262-1/+68
| |
* | http_protocol_handler: speedup newline discardingmoneromooo-monero2018-05-261-2/+5
| |
* | console_handler: fix start_default_console use of prompt parametermoneromooo-monero2018-05-261-3/+21
|/ | | | It had not been updated to the function type change
* epee: Drop deprecated Boost.Thread headerJan Beich2018-04-192-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In file included from src/cryptonote_basic/hardfork.cpp:33: In file included from src/blockchain_db/blockchain_db.h:42: In file included from src/cryptonote_basic/hardfork.h:31: contrib/epee/include/syncobj.h:37:10: fatal error: 'boost/thread/v2/thread.hpp' file not found #include <boost/thread/v2/thread.hpp> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/rpc/daemon_handler.cpp:29: In file included from src/rpc/daemon_handler.h:36: In file included from src/p2p/net_node.h:41: In file included from contrib/epee/include/net/levin_server_cp2.h:32: In file included from contrib/epee/include/net/abstract_tcp_server2.h:324: contrib/epee/include/net/abstract_tcp_server2.inl:44:10: fatal error: 'boost/thread/v2/thread.hpp' file not found #include <boost/thread/v2/thread.hpp> // TODO ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ contrib/epee/include/math_helper.h: In member function 'bool epee::math_helper::average<val, default_base>::set_base()': contrib/epee/include/syncobj.h:227:56: error: 'sleep_for' is not a member of 'boost::this_thread' #define CRITICAL_REGION_LOCAL(x) {boost::this_thread::sleep_for(boost::chrono::milliseconds(epee::debug::g_test_dbg_lock_sleep()));} epee::critical_region_t<decltype(x)> critical_region_var(x) ^ contrib/epee/include/syncobj.h:227:56: note: in definition of macro 'CRITICAL_REGION_LOCAL' #define CRITICAL_REGION_LOCAL(x) {boost::this_thread::sleep_for(boost::chrono::milliseconds(epee::debug::g_test_dbg_lock_sleep()));} epee::critical_region_t<decltype(x)> critical_region_var(x) ^~~~~~~~~ contrib/epee/include/syncobj.h:227:56: note: suggested alternative: 'sleep' #define CRITICAL_REGION_LOCAL(x) {boost::this_thread::sleep_for(boost::chrono::milliseconds(epee::debug::g_test_dbg_lock_sleep()));} epee::critical_region_t<decltype(x)> critical_region_var(x) ^ contrib/epee/include/syncobj.h:227:56: note: in definition of macro 'CRITICAL_REGION_LOCAL' #define CRITICAL_REGION_LOCAL(x) {boost::this_thread::sleep_for(boost::chrono::milliseconds(epee::debug::g_test_dbg_lock_sleep()));} epee::critical_region_t<decltype(x)> critical_region_var(x) ^~~~~~~~~
* 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.