Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-11-15 | Removed a lot of unnecessary includes | Martijn Otto | 9 | -72/+9 | |
2018-10-27 | tests: fix MSYS2 warning 'MONERO_DEFAULT_LOG_CATEGORY redefined' | xiphon | 1 | -0/+2 | |
2018-10-24 | epee: some minor speedup in parsing | moneromooo-monero | 1 | -2/+4 | |
2018-10-20 | console_handler: add a global log when exiting via EOF | moneromooo-monero | 1 | -1/+4 | |
It's a common confusion point for users which run monerod without stdin and with --detach | |||||
2018-10-12 | readline_buffer: fix "cursor in prompt" bug | moneromooo-monero | 2 | -1/+5 | |
It happens when readline displays a prompt just before switching to a shorter one | |||||
2018-10-12 | Remove epee header dependency on cryptonote_core | moneromooo-monero | 2 | -6/+5 | |
2018-10-08 | ANSI colors in Windows 10 | iDunk5400 | 1 | -0/+35 | |
2018-10-02 | epee: initialize a few data members where it seems to be appropriate | moneromooo-monero | 2 | -1/+4 | |
2018-10-02 | abstract_tcp_server2: move m_period to subclass | moneromooo-monero | 1 | -5/+6 | |
This is where it is actually used, and initialized | |||||
2018-10-02 | connection_basic: remove unused floating time start time | moneromooo-monero | 2 | -10/+0 | |
2018-10-02 | Catch more exceptions in dtors | moneromooo-monero | 1 | -1/+2 | |
Misc coverity reports | |||||
2018-09-29 | Merge pull request #4459 | Riccardo Spagni | 4 | -3/+16 | |
bcf3f6af fuzz_tests: catch unhandled exceptions (moneromooo-monero) 3ebd05d4 miner: restore stream flags after changing them (moneromooo-monero) a093092e levin_protocol_handler_async: do not propagate exception through dtor (moneromooo-monero) 1eebb82b net_helper: do not propagate exceptions through dtor (moneromooo-monero) fb6a3630 miner: do not propagate exceptions through dtor (moneromooo-monero) 2e2139ff epee: do not propagate exception through dtor (moneromooo-monero) 0749a8bd db_lmdb: do not propagate exceptions in dtor (moneromooo-monero) 1b0afeeb wallet_rpc_server: exit cleanly on unhandled exceptions (moneromooo-monero) 418a9936 unit_tests: catch unhandled exceptions (moneromooo-monero) ea7f9543 threadpool: do not propagate exceptions through the dtor (moneromooo-monero) 6e855422 gen_multisig: nice exit on unhandled exception (moneromooo-monero) 53df2deb db_lmdb: catch error in mdb_stat calls during migration (moneromooo-monero) e67016dd blockchain_blackball: catch failure to commit db transaction (moneromooo-monero) 661439f4 mlog: don't remove old logs if we failed to rename the current file (moneromooo-monero) 5fdcda50 easylogging++: test for NULL before dereference (moneromooo-monero) 7ece1550 performance_test: fix bad last argument calling add_arg (moneromooo-monero) a085da32 unit_tests: add check for page size > 0 before dividing (moneromooo-monero) d8b1ec8b unit_tests: use std::shared_ptr to shut coverity up about leaks (moneromooo-monero) 02563bf4 simplewallet: top level exception catcher to print nicer messages (moneromooo-monero) c57a65b2 blockchain_blackball: fix shift range for 32 bit archs (moneromooo-monero) | |||||
2018-09-29 | Merge pull request #4443 | Riccardo Spagni | 1 | -0/+2 | |
b2972927 osx compilation fix: missing boost libs added (Dusan Klinec) | |||||
2018-09-26 | osx compilation fix: missing boost libs added | Dusan Klinec | 1 | -0/+2 | |
2018-09-25 | epee: fix stack overflow on crafted input | moneromooo-monero | 1 | -5/+8 | |
2018-09-25 | epee: fix invalid memory write reading an array entry | moneromooo-monero | 1 | -0/+8 | |
Reported by Lilith Wyatt at Talos. Since this is not needed in normal operation, I just let this error out. | |||||
2018-09-14 | mlog: do not display http errors by default | moneromooo-monero | 1 | -1/+1 | |
They're controllable by potential attackers and would just spam | |||||
2018-09-12 | wipeable_string: add hex_to_pod function | moneromooo-monero | 3 | -2/+21 | |
2018-09-10 | Modify depends for monero's dependencies | TheCharlatan | 1 | -1/+1 | |
Add readline, ldns, graphviz, unbound to depends packages Add a cmake toolchain file to depends that is uniquely created for every build and placed in triple/share/toolchain.cmake This file is then passed to cmake with -DCMAKE_TOOLCHAIN_FILE=/path/to/triple/share/toolchain.cmake Add the boost locale package to depends In the depends cmake toolchain file, a DEPENDS flag is added to exclude, or change cmake checks done that are required for depends Link miniupnpc and unwind from depends and not external Add libiconv and icu4c to depends, required for mingw32 builds. Headers (winsock) need to be lower case in order to compile on unix systems. This should not affect building on windows. | |||||
2018-09-09 | abstract_tcp_server2: fix binding to the wrong IP | moneromooo-monero | 1 | -4/+4 | |
2018-08-27 | epee: use the socket::bind variant which does not throw | moneromooo-monero | 1 | -2/+18 | |
When this throws in a loop, stack trace generation can take a significant amount of CPU | |||||
2018-08-19 | epee: some speedup in parsing | moneromooo-monero | 1 | -1/+8 | |
2018-08-17 | epee: resize vectors where possible in serialization | moneromooo-monero | 1 | -0/+6 | |
to avoid unnecessary repeated reallocation | |||||
2018-08-16 | common: add a class to safely wrap mlock/munlock | moneromooo-monero | 4 | -1/+277 | |
This class will allow mlocking small objects, of which there may be several per page. It adds refcounting so pages are only munlocked when the last object on that page munlocks. | |||||
2018-08-16 | store secret keys encrypted where possible | moneromooo-monero | 1 | -0/+9 | |
The secret spend key is kept encrypted in memory, and decrypted on the fly when needed. Both spend and view secret keys are kept encrypted in a JSON field in the keys file. This avoids leaving the keys in memory due to being manipulated by the JSON I/O API. | |||||
2018-08-16 | wallet: wipe seed from memory where appropriate | moneromooo-monero | 5 | -6/+194 | |
2018-08-03 | Added features to epee::span<T> : | Lee Clagett | 1 | -6/+40 | |
- Support for classes - Added `remove_prefix` function - Added `to_mut_span` and `as_mut_byte_span` | |||||
2018-07-26 | mlog: handle filenames without parent directories | moneromooo-monero | 1 | -1/+3 | |
eg, --log-file=foo.log This would otherwise throw and crash with a stack overflow | |||||
2018-07-25 | epee: set jsonrpc to "2.0" in parse error return data | moneromooo-monero | 1 | -0/+1 | |
2018-07-15 | abstract_tcp_server2: fix race on shutdown | moneromooo-monero | 2 | -1/+9 | |
2018-07-10 | memwipe: don't call the workhorse for 0 bytes | moneromooo-monero | 1 | -3/+5 | |
Some of them don't like it | |||||
2018-07-03 | http_protocol_handler: fix HTTP/x.y parsing | moneromooo-monero | 1 | -1/+1 | |
It was accepting any character for the dot (yeah, massive big I know) | |||||
2018-07-03 | http_protocol_handler: catch invalid numbers when parsing | moneromooo-monero | 1 | -4/+12 | |
2018-06-29 | abstract_tcp_server2: fix use after free | moneromooo-monero | 1 | -2/+2 | |
2018-06-28 | epee.string_tools: add conversion between UTF-8 and UTF-16 | stoffu | 2 | -15/+45 | |
2018-06-18 | abstract_tcp_server2: restart async accept on error | moneromooo-monero | 1 | -4/+19 | |
2018-06-13 | wallet-rpc: added IPs to error logging in simple_http_connection_handler | jcktm | 2 | -18/+18 | |
2018-06-13 | mlog: --max-log-files to set the max number of rotated log files | stoffu | 2 | -3/+53 | |
2018-06-10 | epee: adaptive connection timeout system | moneromooo-monero | 4 | -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. | |||||
2018-06-09 | epee: fallback to a counter if gmtime fails when rotating logs | moneromooo-monero | 1 | -1/+2 | |
2018-06-09 | epee: fix include for ofstream | moneromooo-monero | 1 | -1/+1 | |
2018-06-09 | abstract_tcp_server2: fix busy calling of idle IO service | moneromooo-monero | 1 | -2/+4 | |
This would make monerod use 100% CPU when running with torsocks without Tor running | |||||
2018-06-01 | epee: fix detection of 172.16.0.0/172.31.255.255 local IP range | moneromooo-monero | 1 | -1/+1 | |
2018-05-28 | disable file size sanity check when loading the wallet cache | moneromooo-monero | 1 | -3/+3 | |
2018-05-27 | http_protocol_handler: limit the number of starting newlines | moneromooo-monero | 3 | -1/+12 | |
2018-05-26 | abstract_tcp_server2: timeout on RPC connections | moneromooo-monero | 2 | -1/+68 | |
2018-05-26 | http_protocol_handler: speedup newline discarding | moneromooo-monero | 1 | -2/+5 | |
2018-05-26 | console_handler: fix start_default_console use of prompt parameter | moneromooo-monero | 1 | -3/+21 | |
It had not been updated to the function type change | |||||
2018-05-17 | epee: log type name when a container size check fails | moneromooo-monero | 1 | -1/+1 | |
2018-04-25 | mlog: fix setting no logs | moneromooo-monero | 1 | -1/+6 | |
2018-04-19 | epee: Drop deprecated Boost.Thread header | Jan Beich | 2 | -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) ^~~~~~~~~ | |||||
2018-03-15 | Fix typos in various files | Dimitris Apostolou | 3 | -3/+3 | |
2018-02-25 | Wallet2 + CLI wallet: UTF-8 support for filenames and paths under Windows | rbrunner7 | 1 | -1/+82 | |
2018-02-18 | wipeable_string: don't try to wipe an empty buffer | moneromooo-monero | 1 | -3/+6 | |
memset_s doesn't like it | |||||
2018-02-17 | memwipe: add missing #include <stdio.h> | stoffu | 1 | -0/+1 | |
2018-02-11 | Fix #602 Turn on socket keepalive | Howard Chu | 1 | -0/+3 | |
2018-02-08 | epee get_ns_count: cast to uint64_t before multiplying 10^9 to avoid overflow | stoffu | 1 | -2/+2 | |
2018-02-02 | pass large parameters by const ref, not value | moneromooo-monero | 4 | -11/+11 | |
Coverity 136394 136397 136409 136526 136529 136533 175302 | |||||
2018-02-01 | call _exit instead of abort in release mode | moneromooo-monero | 1 | -0/+6 | |
Avoids cores being created, as they're nowadays often piped to some call home system | |||||
2018-01-31 | wipeable_string: call memwipe directly | moneromooo-monero | 2 | -13/+6 | |
since the original reason for the indirect call (that memwipe was not in contrib) is now gone | |||||
2018-01-29 | Fix method name in invoke_http_json_rpc | Erik de Castro Lopo | 1 | -1/+1 | |
Previously, the method name was printed as an exmpty string because the input string had already been moved with `std::move`. | |||||
2018-01-29 | Allow the number of incoming connections to be limited | Erik de Castro Lopo | 1 | -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. | |||||
2018-01-26 | Readd copyright starting date | xmr-eric | 7 | -7/+7 | |
2018-01-26 | Update 2018 copyright | xmr-eric | 17 | -17/+17 | |
2018-01-26 | levin_protocol_handler_async: erase from back of vector instead of front | stoffu | 1 | -1/+1 | |
2018-01-18 | remove unnecessary include | Jethro Grassie | 1 | -1/+0 | |
2018-01-18 | Remove is_pod trait, and replace with is_standard_layout requirement | Lee Clagett | 3 | -12/+15 | |
2018-01-11 | epee: detect strptime, use std::get_time as fallback | moneromooo-monero | 1 | -0/+6 | |
2018-01-11 | Keep readline optional | Jethro Grassie | 1 | -1/+1 | |
2018-01-10 | move memwipe to epee to avoid common<->crypto circular dependencies | moneromooo-monero | 3 | -1/+195 | |
2018-01-10 | epee: remove dependency on common | moneromooo-monero | 7 | -13/+12 | |
2017-12-27 | epee: check some error return values | moneromooo-monero | 1 | -8/+18 | |
2017-12-23 | wipeable_string: fix buffer overread | moneromooo-monero | 1 | -1/+1 | |
2017-12-23 | Fix Windows build | dEBRUYNE-1 | 1 | -0/+4 | |
Fix no new line | |||||
2017-12-23 | http_client: rewrite header parsing manually for speed | moneromooo-monero | 1 | -74/+95 | |
boost::regex is stupendously atrocious at parsing malformed data | |||||
2017-12-23 | tests: add http client fuzz test | moneromooo-monero | 1 | -3/+14 | |
2017-12-22 | factor STL container serialization | moneromooo-monero | 1 | -1/+0 | |
2017-12-21 | epee: use strptime instead of std::get_time, for compatibility | moneromooo-monero | 1 | -3/+3 | |
2017-12-19 | wipeable_string: move a wipe from reserve to grow | moneromooo-monero | 1 | -3/+2 | |
That way, all implicit wipes ends up in grow, which is more robust | |||||
2017-12-19 | wipeable_string: ignore reserve size less than actual size | moneromooo-monero | 1 | -2/+1 | |
This was asserting, but stoffu pointed out the std::string standard considers this ok and ignorable | |||||
2017-12-19 | wipeable_string: fix clear and push_back | moneromooo-monero | 1 | -1/+4 | |
2017-12-18 | network_throttle: fix ineffective locking | moneromooo-monero | 1 | -3/+5 | |
2017-12-18 | network_throttle: remove unused xxx static member | moneromooo-monero | 2 | -5/+0 | |
2017-12-18 | abstract_tcp_server2: log init_server errors as fatal | moneromooo-monero | 1 | -1/+11 | |
so they show up by default | |||||
2017-12-18 | net_parse_helpers: fix regex error checking | moneromooo-monero | 1 | -2/+2 | |
2017-12-18 | catch const exceptions | moneromooo-monero | 1 | -1/+1 | |
2017-12-18 | add empty container sanity checks when using front() and back() | moneromooo-monero | 1 | -1/+1 | |
2017-12-18 | epee: trap failure to parse URI from request | moneromooo-monero | 1 | -1/+6 | |
2017-12-18 | mlog: terminate a string at last char, just in case | moneromooo-monero | 1 | -0/+1 | |
2017-12-16 | move connection_basic and network_throttle from src/p2p to epee | moneromooo-monero | 8 | -3/+1218 | |
These even had the epee namespace. This fixes some ugly circular dependencies. | |||||
2017-12-16 | move includes around to lessen overall load | moneromooo-monero | 22 | -75/+87 | |
2017-12-16 | Scrub keys from memory just before scope end. | moneromooo-monero | 1 | -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. | |||||
2017-12-15 | levin_protocol_handler_async: another attempt at fixing at exception | moneromooo-monero | 1 | -3/+12 | |
2017-12-15 | Revert "epee: keep a ref to a connection we're deleting" | moneromooo-monero | 1 | -8/+2 | |
This reverts commit f2939bdce8c86b0f96921f731184c361106390c8. | |||||
2017-12-15 | levin_protocol_handler_async: add missing response handler locking | moneromooo-monero | 1 | -5/+9 | |
2017-12-15 | epee: add a get_file_size function | moneromooo-monero | 1 | -0/+20 | |
2017-12-11 | levin_protocol_handler_async: call handler destroy function on dtor | moneromooo-monero | 1 | -0/+1 | |
2017-12-09 | net_utils_base: fix peer list parsing | moneromooo-monero | 1 | -3/+25 | |
Fields are written with their "name" as key, and that name changed. | |||||
2017-12-07 | epee: add do while(0) around brace statement in a macro | moneromooo-monero | 1 | -1/+1 | |
Allows use in more complex expressions | |||||
2017-12-01 | epee: fix kv_unserialize return value when a field is not found | moneromooo-monero | 1 | -2/+2 | |
2017-11-28 | Corrections in rate limiting / trottle code, especially in 'out' direction | rbrunner7 | 1 | -5/+4 | |
Deleted 3 out of 4 calls to method connection_basic::sleep_before_packet that were erroneous / superfluous, which enabled the elimination of a "fudge" factor of 2.1 in connection_basic::set_rate_up_limit; also ended the multiplying of limit values and numbers of bytes transferred by 1024 before handing them over to the global throttle objects | |||||
2017-11-27 | new wipeable_string class to replace std::string passphrases | moneromooo-monero | 5 | -4/+228 | |
2017-11-26 | Added command descriptions | Cifrado | 1 | -9/+15 | |
2017-11-16 | RPC: CORS add Access-Control-Allow-Headers to OPTIONS preflight | Tim L | 1 | -0/+3 | |
2017-11-14 | epee: don't disable -Wtautological-constant-out-of-range-compare on GCC | moneromooo-monero | 1 | -0/+2 | |
It's a CLANG only option, and causes GCC to error out | |||||
2017-11-14 | split off readline code into epee_readline | moneromooo-monero | 1 | -3/+14 | |
2017-11-14 | remove "using namespace std" from headers | moneromooo-monero | 1 | -2/+0 | |
It's nasty, and actually breaks on Solaris, where if.h fails to build due to: struct map *if_memmap; | |||||
2017-11-07 | RPC: get_info add rpc_connections_count | Tim L | 2 | -0/+11 | |
2017-11-03 | Fix file permission issue | Tim L | 6 | -0/+0 | |
This branch fixes a file permission issue introduced by https://github.com/monero-project/monero/commit/69c37200aa87f100f731e755bdca7a0dc6ae820a | |||||
2017-10-30 | RPC Add cross origin resource sharing support | Tim L | 6 | -17/+60 | |
2017-10-28 | epee: disable a spurious warning for a storage function | moneromooo-monero | 1 | -0/+1 | |
2017-10-20 | net_helper: fix massive slowdown after SSL support | moneromooo-monero | 1 | -5/+5 | |
2017-10-17 | cmake: epee: use var from FindOpenSSL.cmake | redfish | 1 | -2/+1 | |
This fixes linking when path to openssl is defined manually: cmake -DOPENSSL_ROOT_DIR='/usr/include/openssl-1.0;/usr/lib/openssl-1.0' ... This is useful for building with OpenSSL v1.0 when default system installation is v1.1. The linking error is undefined SSL_load_error_strings symbol. This is due to -L /usr/lib/openssl-1.0 not making it onto the linkline (so -lssl pulls in the default system openssl). | |||||
2017-10-17 | epee: use boost type for SSL error code | redfish | 1 | -1/+9 | |
Fixes compile error when building with OpenSSL v1.1: contrib/epee/include/net/net_helper.h: In member function ‘void epee::net_utils::blocked_mode_client::shutdown_ssl()’: contrib/epee/include/net/net_helper.h:579:106: error: ‘SSL_R_SHORT_READ’ was not declared in this scope if (ec.category() == boost::asio::error::get_ssl_category() && ec.value() != ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SHORT_READ)) ^ contrib/epee/include/net/net_helper.h:579:106: note: suggested alternative: ‘SSL_F_SSL_READ’ See boost/asio/ssl/error.hpp. Boost handles differences between OpenSSL versions. cmake: fail if Boost is too old for OpenSSL v1.1 | |||||
2017-10-15 | epee: link against ssl/crypto for the new SSL code | moneromooo-monero | 1 | -0/+2 | |
2017-10-15 | add string_tools::validate_hex() | Jaquee | 1 | -0/+6 | |
2017-10-15 | Serializer: string to integer conversion for MyMonero compatibility | Jaquee | 1 | -0/+27 | |
mymonero timestamp conversion | |||||
2017-10-15 | epee http_client SSL support | Jaquee | 3 | -46/+111 | |
2017-10-09 | Fix an object lifetime bug in net load tests | moneromooo-monero | 5 | -6/+27 | |
The commands handler must not be destroyed before the config object, or we'll be accessing freed memory. An earlier attempt at using boost::shared_ptr to control object lifetime turned out to be very invasive, though would be a better solution in theory. | |||||
2017-10-07 | frob level 1 logs a bit for consistency | moneromooo-monero | 3 | -6/+6 | |
Level 1 logs map to INFO, so setting log level to 1 should show these. Demote some stuff to DEBUG to avoid spam, though. | |||||
2017-10-07 | Subaddresses | kenshi84 | 1 | -5/+41 | |
2017-10-05 | Upgrades to epee::net_utils::network_address | Lee Clagett | 4 | -73/+189 | |
- internal nullptr checks - prevent modifications to network_address (shallow copy issues) - automagically works with any type containing interface functions - removed fnv1a hashing - ipv4_network_address now flattened with no base class | |||||
2017-09-27 | copyable_atomic: add a ctor with initial value | moneromooo-monero | 1 | -0/+2 | |
2017-09-25 | serialization: add deque serialization | moneromooo-monero | 1 | -0/+36 | |
2017-09-25 | http_base: init size_t in http_request_info ctor | moneromooo-monero | 1 | -1/+2 | |
CID 161879 | |||||
2017-09-22 | Log categories can now be added to and removed from | moneromooo-monero | 2 | -2/+40 | |
Also, set_log without parameters now prints the log categories | |||||
2017-09-22 | epee: factor log level/categories setting | moneromooo-monero | 1 | -2/+1 | |
2017-09-19 | epee: keep a ref to a connection we're deleting | moneromooo-monero | 1 | -2/+8 | |
close might end up dropping a ref, ending up removing the connection from m_connects, as the lock is recursive. This'd cause an out of bounds exception and kill the idle connection maker thread | |||||
2017-09-18 | epee: give virtual dtor to network_address_base | moneromooo-monero | 1 | -0/+3 | |
It has virtual functions and is used as a base class | |||||
2017-09-17 | daemon, wallet: add --max-log-file-size option | selsta | 2 | -3/+4 | |
2017-08-23 | print peer id in 0 padded hex for consistency | moneromooo-monero | 1 | -0/+12 | |
2017-08-22 | http_client: add getters for host and port | moneromooo-monero | 1 | -0/+3 | |
2017-08-22 | Simplify readline support | Howard Chu | 3 | -140/+85 | |
And don't use std::mutex | |||||
2017-08-16 | abstract_tcp_server2: improve tracking/cancelling of early connections | moneromooo-monero | 2 | -22/+15 | |
We don't actually need to keep them past the call to start, as this adds them to the config object list, and so they'll then be cancelled already when the stop signal arrives. This allows removing the periodic call to cleanup connections. | |||||
2017-08-16 | Construct on first use for completion_commands | Jethro Grassie | 2 | -15/+23 | |
2017-08-16 | Add sync lock on stop | Jethro Grassie | 1 | -5/+4 | |
Also added and moved two free's hoping to fix leaks. | |||||
2017-08-15 | Tweak net logs so we get more info on why networking can't start | moneromooo-monero | 1 | -1/+1 | |
This should prevent "silent" failures to start | |||||
2017-08-09 | epee: fixup KV_SERIALIZE_OPT to work in more cases | moneromooo-monero | 1 | -1/+4 | |
2017-08-07 | cryptonote_protocol_handler: sync speedup | moneromooo-monero | 1 | -0/+14 | |
A block queue is now placed between block download and block processing. Blocks are now requested only from one peer (unless starved). Includes a new sync_info coommand. | |||||
2017-08-05 | epee: remove a couple unused locals | moneromooo-monero | 1 | -2/+2 | |
2017-08-02 | simplewallet: add (out of sync) or (no daemon) markers in the prompt | moneromooo-monero | 1 | -11/+16 | |
Should help people who don't realize why they haven't seen their monero yet. | |||||
2017-08-01 | p2p: move m_in_timedsync from connection_context to p2p_connection_context | moneromooo-monero | 1 | -3/+0 | |
It's got no place in the base class as it's P2P specific field | |||||
2017-08-01 | epee: add nanosecond timer and pause/restart profiling macros | moneromooo-monero | 2 | -5/+17 | |
Nanosecond timer precision won't work on Windows, but we don't care since I'm using that just for profiling incremental code paths, but a Windows coder is welcome to add it if there's a way. | |||||
2017-07-24 | epee: add a KV_SERIALIZE variant for optional parameters | moneromooo-monero | 1 | -0/+7 | |
2017-07-24 | Fix readline prompt when command does not output | Jethro Grassie | 1 | -13/+24 | |
2017-07-24 | mlog: default to msgwriter logs only for log level 1 | moneromooo-monero | 1 | -1/+1 | |
There might be privacy issues doing it by default | |||||
2017-07-24 | Make msgwriter logs go to file only | moneromooo-monero | 1 | -0/+1 | |
This was the case for monero-wallet-cli already, but not for monerod, which was making it pretty spammy as it was duplicating intended output. Since my original intent was to ensure logs included command output for debugging, this achieves both. | |||||
2017-07-22 | mlog: fix crash accessing stale data when rotating logs | moneromooo-monero | 1 | -1/+1 | |
2017-07-15 | mlog: make MONERO_LOGS env var understand N,logs type spec | moneromooo-monero | 1 | -1/+1 | |
2017-07-09 | Add various readline related fixes | Jethro Grassie | 3 | -16/+74 | |
- Add missing unbind key - Fix colored messages - Add command completion - Preserve last command input - Fix cursor position issues - Fix trailing whitespace in commands - Synchronize set_prompt | |||||
2017-07-07 | Add notification on stop | Jethro Grassie | 1 | -0/+1 | |
2017-07-06 | mlog: add msgwriter:INFO to log 0 and 1 defaults | moneromooo-monero | 1 | -2/+2 | |
This ensures command output gets logged by default | |||||
2017-07-05 | epee: don't send the body of the response to a HEAD HTTP request | Guillaume LE VAILLANT | 1 | -1/+1 | |
According to the HTTP spec: "The HEAD method is identical to GET except that the server MUST NOT return a message-body in the response". | |||||
2017-07-05 | Fix spelling errors | Erik de Castro Lopo | 6 | -9/+9 | |
2017-07-02 | epee: Remove unused variable | Erik de Castro Lopo | 1 | -1/+0 | |
2017-07-01 | Fix issue #2119 SEGV | Howard Chu | 1 | -15/+20 | |
Due to bad refactoring in PR #2073. timeout_handler() doesn't work as a virtual function. | |||||
2017-06-28 | monero-wallet-cli: hang on exit in readline code (#2117) | moneromooo-monero | 1 | -3/+2 | |
readline_buffer: move a local to local scope Also limit the select fd limit to what we use Signed-off-by: Jethro Grassie <jtg@xtrabass.com> | |||||
2017-06-28 | monero-wallet-cli: hang on exit in readline code (#2117) | moneromooo-monero | 1 | -2/+10 | |
readline_buffer: fix start/stop threads being starved by process process could run for quite some time re-acquiring the process lock, leaving start/stop starving. Yielding after unlock in process is much better but doesn't seem to be enough to reliably yield, so we sleep for a millisecond, which should be transparent for user input anyway. Signed-off-by: Jethro Grassie <jtg@xtrabass.com> | |||||
2017-06-28 | abstract_tcp_server2: guard against accessing lock on a destroyed object | moneromooo-monero | 1 | -3/+3 | |
2017-06-28 | Remove typeid use in network_address | moneromooo-monero | 1 | -3/+2 | |
Since I had to add an ID to the derived classes anyway, this can be used instead. This removes an apparently pointless warning from CLANG too. | |||||
2017-06-26 | Fix #2071: remove declaration of unused variable "it" in epee | binaryFate | 1 | -1/+0 | |
2017-06-25 | Fix multiline wallet cli output with readline | Jethro Grassie | 1 | -1/+5 | |
monero-wallet-cli commands which have multine output sometimes causes issues with the readline support. This patch fixes show_transfers, payments and incoming_transfers. | |||||
2017-06-24 | Add readline improvements | Jethro Grassie | 2 | -3/+10 | |
Color prompt now working and no reprompting on exit command. | |||||
2017-06-23 | readline_buffer: fix busy wait | moneromooo-monero | 1 | -1/+1 | |
It'd eat up a core constantly, due to spending its time jumping back and forth between userland and kernel. We now wait for up to a millisecond in kernel, which will be transparent to the user and drop to idle most of the time. | |||||
2017-06-21 | readline: fix invalid memory access | moneromooo-monero | 1 | -1/+1 | |
m_cout_buf was not initialized | |||||
2017-06-21 | readline_buffer: add a couple const | moneromooo-monero | 2 | -3/+3 | |
2017-06-19 | net_utils_base: added missing template keyword | kenshi84 | 1 | -1/+1 | |
2017-06-18 | Add readline support to cli | jethro | 4 | -1/+283 | |
This PR adds readline support to the daemon and monero-wallet-cli. Only GNU readline is supported (e.g. not libedit) and there are cmake checks to ensure this. There is a cmake variable, Readline_ROOT_DIR that can specify a directory to find readline, otherwise some default paths are searched. There is also a cmake option, USE_READLINE, that defaults to ON. If set to ON, if readline is not found, the build continues but without readline support. One negative side effect of using readline is that the color prompt in the wallet-cli now has no color and just uses terminal default. I know how to fix this but it's quite a big change so will tackle another time. | |||||
2017-06-15 | Don't issue a new timedsync while one is already in progress | Howard Chu | 1 | -0/+3 | |
A timedsync is issued every minute on a connection, but the input tineout is 2 minutes. This means a new sync request could be issued while a slow sync request was already in progress. The additional request will further clog the network on a slow connection, and cause a premature timeout. | |||||
2017-06-15 | Don't timeout a slow operation that's making progress | Howard Chu | 1 | -9/+46 | |
If we got at least MIN_BYTES_WANTED (default 512) during any network poll, reset the timeout to allow more time for data to arrive. | |||||
2017-06-15 | Fix PR#2039 | Howard Chu | 1 | -1/+1 | |
Missed a crypto -> cncrypto rename | |||||
2017-06-04 | Fix PR#2039 | Howard Chu | 1 | -1/+1 | |
Missed a crypto -> cncrypto rename | |||||
2017-05-31 | Fix PR#2039 | Howard Chu | 1 | -1/+1 | |
Missed a crypto -> cncrypto rename | |||||
2017-05-27 | abstracted nework addresses | moneromooo-monero | 8 | -26/+122 | |
All code which was using ip and port now uses a new IPv4 object, subclass of a new network_address class. This will allow easy addition of I2P addresses later (and also IPv6, etc). Both old style and new style peer lists are now sent in the P2P protocol, which is inefficient but allows peers using both codebases to talk to each other. This will be removed in the future. No other subclasses than IPv4 exist yet. | |||||
2017-05-17 | shared libs build (i.e. make debug) | stoffu | 1 | -2/+0 | |
2017-04-25 | Removed some unused epee functions | Lee Clagett | 3 | -726/+2 | |
2017-04-11 | Simplified the implementation and features of span | Lee Clagett | 4 | -199/+142 | |
2017-04-11 | Improvements for epee binary to hex functions: | Lee Clagett | 6 | -49/+342 | |
- Performance improvements - Added `span` for zero-copy pointer+length arguments - Added `std::ostream` overload for direct writing to output buffers - Removal of unused `string_tools::buff_to_hex` | |||||
2017-04-10 | setThreadName moved in new version of easylogging++ | moneromooo-monero | 1 | -1/+1 | |
2017-04-10 | update easylogging++ to latest upstream | moneromooo-monero | 2 | -9/+1 | |
2017-04-01 | mlog: direct log category changes to file only | moneromooo-monero | 1 | -4/+9 | |
Because some people just won't even try to read what is written and freak out because the word FATAL is in here, despite the context making it clear it's not an error. | |||||
2017-03-21 | Fix freebsd build | Lee Clagett | 1 | -0/+1 | |
2017-03-19 | Revert "Increase the log level for the info about log levels" | moneromooo-monero | 1 | -2/+2 | |
We want to know which log categories are active. This reverts commit 4f7bce6d20c72a1384289f7c35b7fe0ee796ed41. | |||||
2017-03-18 | Removed boost/asio.hpp include from epee/string_tools.h | Lee Clagett | 6 | -33/+77 | |
2017-03-05 | http_client: allow cancelling a download | moneromooo-monero | 1 | -2/+10 | |
2017-03-05 | http_client: allow derived class to get headers at start | moneromooo-monero | 1 | -0/+11 | |
2017-02-26 | mlog: default net.cn to FATAL | moneromooo-monero | 1 | -1/+1 | |
Errors in this layer depend on how peers behave, and thus errors are expected | |||||
2017-02-25 | Increase the log level for the info about log levels | Nano Akron | 1 | -2/+2 | |
2017-02-24 | Updated default RPC timeout from 5 seconds to 15 seconds | Lee Clagett | 1 | -4/+4 | |
2017-02-21 | http_server_impl_base: set bind message to MGINFO | anonimal | 1 | -1/+1 | |
2017-02-21 | update copyright year, fix occasional lack of newline at line end | Riccardo Spagni | 4 | -4/+4 | |
2017-02-21 | mlog: restrict net.p2p to FATAL by default | moneromooo-monero | 1 | -1/+1 | |
2017-02-20 | mlog: only silence errors for net by default, not net.* | moneromooo-monero | 1 | -1/+1 | |
2017-02-20 | http_client: add a couple consts | moneromooo-monero | 1 | -2/+2 | |
2017-02-12 | epee: fix some log macros not printing context nicely | moneromooo-monero | 1 | -5/+5 | |
2017-02-12 | Fixup choice of easylogging++ vs libunwind stack trace code | moneromooo-monero | 1 | -2/+3 | |
2017-02-12 | mlog: move log level changes to global level | moneromooo-monero | 1 | -2/+2 | |
Makes it more likely to show up | |||||
2017-02-12 | mlog: s/Mew/New/ in log | moneromooo-monero | 1 | -2/+2 | |
2017-02-08 | extract some basic code from libcryptonote_core into libcryptonote_basic | kenshi84 | 1 | -1/+9 | |
2017-02-06 | Add server auth to monerod, and client auth to wallet-cli and wallet-rpc | Lee Clagett | 7 | -46/+86 | |