Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-12-04 | epee: fix network packet header field endianness | moneromooo-monero | 5 | -57/+113 | |
2018-12-04 | move int-util.h to epee | moneromooo-monero | 1 | -0/+258 | |
2018-12-01 | http -> https | Dimitris Apostolou | 11 | -11/+11 | |
2018-11-30 | mlocker: remove early page size log | moneromooo-monero | 1 | -1/+0 | |
It comes before the logger is initialized, so gets displayed even though it should not be by default, and apparenly comes too early for (some versions of) Android, where it crashes. | |||||
2018-11-27 | easylogging++: faster access to logging | moneromooo-monero | 1 | -0/+9 | |
Turns out getting the global shared_ptr hits the profile, and passing it around still keeps it at close to ~1% CPU, which is too much for mostly silent logging. Leak the object instead, which is even safer for late logging. | |||||
2018-11-26 | rpc: speedup get_outs.bin | moneromooo-monero | 1 | -0/+2 | |
2018-11-26 | Only show a single mlock() error, to avoid flooding the log | Martijn Otto | 1 | -3/+12 | |
2018-11-25 | device/trezor: webusb transport added, cmake fixes | Dusan Klinec | 1 | -4/+4 | |
- webusb transport based on libusb added. Provides direct access to Trezor via USB, no need for Trezor bridge. - trezor protocol message handler improved, no recursion used. Ready for upcoming integration tests. - libusb (for docker) bumped from v1.0.9 to v1.0.22, newer version required for webusb transport, for device enumeration. - cmake improvements and fixes. Cmake Trezor checks are moved to a dedicated CheckTrezor.cmake file. In case of a problem Trezor is excluded from build. - ifdefs made consistent to Ledger. - UDP Transport enumeration disabled by default in release mode | |||||
2018-11-22 | mlocker: fix access to global lock map after dtor on exit | moneromooo-monero | 1 | -2/+2 | |
as the lock, it now leaks | |||||
2018-11-21 | blockchain_stats: don't use gmtime_r on Windows | moneromooo-monero | 2 | -6/+11 | |
In some cases, it doesn't like it (I don't know the details). Factor into a new epee function | |||||
2018-11-20 | mlocker: don't throw from lock/unlock | moneromooo-monero | 1 | -0/+8 | |
This prevents exceptions from showing up in various awkward places such as dtors, since the only exception that can be thrown is a lock failure, and nothing handles a lock failure anyway. | |||||
2018-11-15 | epee: speed up parse_hexstr_to_binbuff a little | Howard Chu | 1 | -15/+35 | |
2018-11-15 | Removed a lot of unnecessary includes | Martijn Otto | 9 | -72/+9 | |
2018-11-15 | various: do not propagate exception through dtor | moneromooo-monero | 2 | -2/+3 | |
Coverity 189689, 189690, 189692, 189695 | |||||
2018-11-07 | Fix version prefix in gitian build | TheCharlatan | 2 | -21/+8 | |
The version prefix 'v' should just be set constantly. Reflect this change in the README as well. This should allow building commits as well, if a commit is passed in instead of a tag. | |||||
2018-11-07 | No longer use a list for registering self references in the abstract tcp | Martijn Otto | 2 | -6/+10 | |
server Updated assert message Use a local variable that won't destruct at the end of the if-branch Updated comment | |||||
2018-11-05 | epee: log HTTP/RPC calls at info level | moneromooo-monero | 1 | -1/+6 | |
It's useful info to have when investigating logs | |||||
2018-11-02 | mlocker: fix dtor ordering problem | moneromooo-monero | 1 | -2/+2 | |
leak the mutex instead, it's a one off | |||||
2018-11-01 | epee: speed up json number parsing | moneromooo-monero | 1 | -11/+41 | |
2018-10-29 | network_throttle: initialize m_last_sample_time in ctor | moneromooo-monero | 1 | -0/+1 | |
Coverity 136593 | |||||
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-18 | Adapt Readme and script to monero gitian build signing | TheCharlatan | 5 | -77/+43 | |
The sigs should be produced in a seperate step by default. Remove windows and osx sig options that are not needed for monero. | |||||
2018-10-18 | Remove Travis check in depends toolchain file | TheCharlatan | 1 | -3/+0 | |
The architecture for darwin is now detected correctly, remove the override for it. | |||||
2018-10-13 | build: use ARCH 'native' by default, allow to configure and override it | xiphon | 1 | -0/+2 | |
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-11 | Add OSX gitian descriptor | TheCharlatan | 4 | -23/+120 | |
2018-10-09 | Add windows descriptor to gitian descriptors | TheCharlatan | 3 | -7/+142 | |
Windows is built with a seperate descriptor to handle additional changes that need to be done to the end binary. Consolidate the gitian-build script for this change. | |||||
2018-10-09 | Change gitian.sigs repo from bitcoin-core to monero-project remote host | TheCharlatan | 1 | -1/+1 | |
2018-10-08 | Add checksums for download tools | TheCharlatan | 1 | -4/+5 | |
The signature prepare tool and the gitian-builder git repo should be checked for their content. For this purpose, checkout the gitian-builder repo at a specific commit and take the sha256sum of the osslsigncode tool. | |||||
2018-10-08 | Add gitian build script | TheCharlatan | 4 | -0/+712 | |
This adds a build script to run gitian builds for linux. The build script was copied from bitcoin and then adapted for monero. Build step documentation is outlined in the README in the contrib/gitian directory. | |||||
2018-10-08 | Prepare Depends Packages for Gitian Scripts | TheCharlatan | 4 | -1/+42 | |
The gitian environment does not treat whitespaces in configure lines, like most other systems. The solution is to just remove them. | |||||
2018-10-08 | ANSI colors in Windows 10 | iDunk5400 | 1 | -0/+35 | |
2018-10-08 | Depends: build hidapi with -fPIC | iDunk5400 | 1 | -0/+1 | |
2018-10-07 | Consolidate HID depends makefiles into single recipe | TheCharlatan | 8 | -59/+16 | |
Make sure all required dependencies are linked statically, by only providing the static libraries. | |||||
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 #4448 | Riccardo Spagni | 3 | -3/+4 | |
6a781408 Make depends use self built clang for darwin (TheCharlatan) | |||||
2018-09-29 | Merge pull request #4443 | Riccardo Spagni | 1 | -0/+2 | |
b2972927 osx compilation fix: missing boost libs added (Dusan Klinec) | |||||
2018-09-29 | Fix 32bit depends builds | TheCharlatan | 1 | -0/+4 | |
Add architecture flags when cmake invokes gcc manually. Add 32bit to Travis. | |||||
2018-09-26 | osx compilation fix: missing boost libs added | Dusan Klinec | 1 | -0/+2 | |
2018-09-25 | Make depends use self built clang for darwin | TheCharlatan | 3 | -3/+4 | |
The configure script in hidapi and libsodium tried to find clang in /usr/bin, even though the correct prefix was passed in. This sets the correct CC flag. This was previously undetected, because clang and the sdk where installed in the global environment. This also fixes a subsequent error, where IOKIT and CoreFoundation are not found, again for the reason stated above. | |||||
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-25 | Add hidapi to depends | TheCharlatan | 7 | -28/+134 | |
Clang needs to get its cctools path passed directly for the hid build to succeed. Make gperf a permanent external dependency. Remove pcsc from depends. | |||||
2018-09-22 | Fix Darwin Sodium build | TheCharlatan | 5 | -12/+38 | |
Clang needs to get its cctools path passed. | |||||
2018-09-18 | Fixup 32bit arm build | TheCharlatan | 1 | -2/+3 | |
Set the architecture in the toolchain file correctly | |||||
2018-09-17 | Fix Windows build | TheCharlatan | 1 | -1/+1 | |
icu tex support is not required, so just disable it. Re-add mistakingly removed crypt32 lib. | |||||
2018-09-17 | Add libsodium to the packages, the arm build was complaining about it. | TheCharlatan | 3 | -5/+35 | |
Fixup arm toolchain file. | |||||
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-11 | fuzz_tests: add a bulletproof fuzz test | moneromooo-monero | 1 | -3/+3 | |
2018-09-10 | Updated pcsc url | TheCharlatan | 1 | -1/+1 | |
2018-09-10 | Add lrelease to the depends | TheCharlatan | 6 | -6/+235 | |
This includes a minimal qt build without gui | |||||
2018-09-10 | Add Miniupnp submodule | TheCharlatan | 4 | -23/+6 | |
Drop miniupnp and unbound depends builds. Make sure that build variables are propageted properly to unbound and miniupnp. Rebase to after the v0.12 release | |||||
2018-09-10 | Unbound is now a submodule. Adapt depends for this. | TheCharlatan | 1 | -2/+0 | |
Fix builds for native linux and windows The architecture flag was set incorrectly. It needs to be set only when compiling arm6. | |||||
2018-09-10 | Update readmes to reflect the usage of depends | TheCharlatan | 1 | -0/+7 | |
Explain the role of the SDK in the darwin build. Add instructions to compile depends to the basic readme. | |||||
2018-09-10 | Add support for apple and arm building | TheCharlatan | 5 | -25/+67 | |
Add pcsc-lite to linux builds Fixup windows icu4c linking with depends, the static libraries have an 's' appended to them Compiling depends arm-linux-gnueabihf will allow you to compile armv6zk monero binaries | |||||
2018-09-10 | Modify depends for monero's dependencies | TheCharlatan | 50 | -690/+953 | |
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-10 | Initial depends addition | TheCharlatan | 54 | -0/+5562 | |
Depends cross compiles project dependencies for linux, mac and windows and multiple architectures. Depends is original work by Cory Fields and used in bitcoin and a wide range of bitcoin related projects. | |||||
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-08 | Added Codefresh.yml pipeline | HomDx | 1 | -0/+18 | |
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-18 | Clarification of boolean options in config file | Jonathan Cross | 1 | -1/+2 | |
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-06 | snap: strip metadata from icon.png | moneromooo-monero | 1 | -0/+0 | |
Reported to "contain[s] an embedded color calibration (ICC) profile which is copyright Hewlett Packard but lack license" | |||||
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-21 | Build: remove UPnP definition from snap | anonimal | 1 | -1/+0 | |
(cherry picked from commit 5ef6dcb1c4b08497533a20d0addcf1b09db51166) | |||||
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 | 18 | -18/+18 | |
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 levin fuzz test | moneromooo-monero | 1 | -3/+3 | |
2017-12-23 | tests: add http client fuzz test | moneromooo-monero | 2 | -6/+17 | |
2017-12-23 | add parse_url fuzz test | moneromooo-monero | 1 | -3/+3 | |
2017-12-23 | tests: add base58 fuzz test | moneromooo-monero | 1 | -3/+3 | |
2017-12-23 | fuzz_testing: allow automatically resuming an interrupted job | moneromooo-monero | 1 | -1/+8 | |
2017-12-23 | fuzz_testing: create out directory if needed, and fix filename passing | moneromooo-monero | 1 | -1/+2 | |
2017-12-23 | add load_from_binary/load_from_json fuzzers | moneromooo-monero | 1 | -3/+3 | |
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-22 | Fix versioning | vdo | 1 | -1/+1 | |
2017-11-20 | Update snap version to 0.11.1 | vdo | 1 | -1/+5 | |
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-08 | cmake: build tests last | redfish | 1 | -0/+5 | |
Keep -Werror for src, contrib and do not pass it for tests/ | |||||
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 | contrib: add sync_info to rlwrap command set | moneromooo-monero | 1 | -0/+1 | |
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 | |