aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee
Commit message (Collapse)AuthorAgeFilesLines
...
* | epee: readline_buffer - fix thread safety, fix sync() after stop()xiphon2020-11-071-1/+9
|/
* Add clear method to byte_streamLee Clagett2020-08-171-0/+3
|
* Merge pull request #6736Alexander Blair2020-08-161-0/+7
|\ | | | | | | 05ad4fa39 epee: further defending against exceptions in command handlers (moneromooo-monero)
| * epee: further defending against exceptions in command handlersmoneromooo-monero2020-08-021-0/+7
| |
* | Merge pull request #6727Alexander Blair2020-08-161-9/+31
|\ \ | | | | | | | | | | | | | | | | | | 13eee1d6a rpc: reject wrong sized txid (moneromooo-monero) 92e6b7df2 easylogging++: fix crash with reentrant logging (moneromooo-monero) 6dd95d530 epee: guard against exceptions in RPC handlers (moneromooo-monero) 90016ad74 blockchain: guard against exceptions in add_new_block/children (moneromooo-monero)
| * | epee: guard against exceptions in RPC handlersmoneromooo-monero2020-07-301-9/+31
| |/
* | Merge pull request #6720Alexander Blair2020-08-161-26/+0
|\ \ | | | | | | | | | 86abf558c epee: Remove unused functions in local_ip.h (Jean Pierre Dudey)
| * | epee: Remove unused functions in local_ip.hJean Pierre Dudey2020-07-221-26/+0
| |/ | | | | | | Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
* | Merge pull request #6718Alexander Blair2020-08-162-2/+12
|\ \ | | | | | | | | | 85efc88c1 Fix overflow issue in epee:misc_utils::rolling_median_t and median(), with unit test (koe)
| * | Fix overflow issue in epee:misc_utils::rolling_median_t and median(), with ↵koe2020-07-232-2/+12
| |/ | | | | | | unit test
* | Merge pull request #6716Alexander Blair2020-08-163-8/+6
|\ \ | | | | | | | | | 76c16822d wallet2_api: implement runtime proxy configuration (xiphon)
| * | wallet2_api: implement runtime proxy configurationxiphon2020-07-203-8/+6
| |/
* / Wallet, daemon: From 'help_advanced' back to 'help', and new 'apropos' commandrbrunner72020-07-241-0/+25
|/
* Merge pull request #6565Alexander Blair2020-07-191-1/+1
|\ | | | | | | 72cdfa4a2 fix a few typos in error messages (moneromooo-monero)
| * fix a few typos in error messagesmoneromooo-monero2020-05-191-1/+1
| | | | | | | | Reported by adrelanos
* | Merge pull request #6516Alexander Blair2020-07-192-7/+0
|\ \ | | | | | | | | | 8656a8c9f remove double includes (sumogr)
| * | remove double includessumogr2020-05-112-7/+0
| | |
* | | Merge pull request #6512Alexander Blair2020-07-1921-21/+21
|\ \ \ | | | | | | | | | | | | 5ef0607da Update copyright year to 2020 (SomaticFanatic)
| * | | Update copyright year to 2020SomaticFanatic2020-05-0621-21/+21
| | |/ | |/| | | | | | | Update copyright year to 2020
* | | Merge pull request #6675luigi11112020-07-081-1/+1
|\ \ \ | | | | | | | | | | | | 3721d56 epee: fix array underflow in unicode parsing (moneromooo-monero)
| * | | epee: fix array underflow in unicode parsingmoneromooo-monero2020-06-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Reported by minerscan Also independently found by OSS-Fuzz just recently
* | | | Merge pull request #6584luigi11112020-07-081-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | 78d435a rpc: don't display invalid json errors on default log level (moneromooo-monero)
| * | | | rpc: don't display invalid json errors on default log levelmoneromooo-monero2020-05-231-1/+1
| | |/ / | |/| | | | | | | | | | | | | | It's not something the user needs to know, and will display attacker controlled data
* | | | Merge pull request #6559luigi11112020-07-081-1/+4
|\ \ \ \ | |_|/ / |/| | | | | | | 15538f7 ByteSlice: Fix persisting ptr to std::moved SSO buffer (Doy-lee)
| * | | ByteSlice: Fix persisting ptr to std::moved SSO bufferDoyle2020-05-201-1/+4
| |/ / | | | | | | | | | | | | | | | | | | The Bug: 1. Construct `byte_slice.portion_` with `epee::span(buffer)` which copies a pointer to the SSO buffer to `byte_slice.portion_` 2. It constructs `byte_slice.storage_` with `std::move(buffer)` (normally this swap pointers, but SSO means a memcpy and clear on the original SSO buffer) 3. `slice.data()` returns a pointer from `slice.portion_` that points to the original SSO cleared buffer, `slice.storage_` has the actual string.
* | | Merge pull request #6539luigi11112020-06-081-6/+6
|\ \ \ | | | | | | | | | | | | 85164a8 epee: use memwipe rather than memset for md5 secrets (moneromooo-monero)
| * | | epee: use memwipe rather than memset for md5 secretsmoneromooo-monero2020-05-161-6/+6
| |/ / | | | | | | | | | That's used by HTTP auth now
* | | Merge pull request #6522luigi11112020-06-081-9/+17
|\ \ \ | | | | | | | | | | | | 29e563b Fixed bugs for take_slice and byte_stream->byte_slice (vtnerd)
| * | | Fixed bugs for take_slice and byte_stream->byte_sliceLee Clagett2020-05-121-9/+17
| |/ /
* | | Fix boost <1.60 compilation and fix boost 1.73+ warningsLee Clagett2020-05-314-17/+17
| | |
* | | build: fix boost 1.73 compatibilityselsta2020-05-142-6/+6
|/ /
* | Add byte_stream for zero-copy serialization, and add support in ZMQ-JSON.Lee Clagett2020-04-115-4/+386
| |
* | Merge pull request #6446luigi11112020-05-012-0/+11
|\ \ | | | | | | | | | e509ede trezor: adapt to new passphrase mechanism (ph4r05)
| * | trezor: adapt to new passphrase mechanismDusan Klinec2020-04-272-0/+11
| |/ | | | | | | | | | | | | | | | | - choice where to enter passphrase is now made on the host - use wipeable string in the comm stack - wipe passphrase memory - protocol optimizations, prepare for new firmware version - minor fixes and improvements - tests fixes, HF12 support
* | Use byte_slice for sending zmq messages - removes data copy within zmqLee Clagett2020-04-032-5/+24
| |
* | Merge pull request #6359luigi11112020-04-211-3/+3
|\ \ | | | | | | | | | f9441c5 Fixed string_ref usage bug in epee::from_hex::vector (vtnerd)
| * | Fixed string_ref usage bug in epee::from_hex::vectorLee Clagett2020-03-301-3/+3
| |/
* / Allow wallet2.h to run in WebAssemblywoodser2020-04-156-159/+260
|/ | | | | | | - Add abstract_http_client.h which http_client.h extends. - Replace simple_http_client with abstract_http_client in wallet2, message_store, message_transporter, and node_rpc_proxy. - Import and export wallet data in wallet2. - Use #if defined __EMSCRIPTEN__ directives to skip incompatible code.
* Merge pull request #6387luigi11112020-04-041-2/+2
|\ | | | | | | 0dbdba8 epee: avoid spamming 'Generating SSL certificate' in the logs (xiphon)
| * epee: avoid spamming 'Generating SSL certificate' in the logsxiphon2020-03-131-2/+2
| |
* | Merge pull request #6370luigi11112020-04-041-1/+3
|\ \ | | | | | | | | | | | | 3031deb Bump downloaded boost version to 1.72 (omartijn) 6079042 Use boost::asio::ssl::context::sslv23 for backwards compatibility (omartijn)
| * | Use boost::asio::ssl::context::sslv23 for backwards compatibilityMartijn Otto2020-03-111-1/+3
| |/ | | | | | | | | All the insecure protocols that this enables are then disabled, so they cannot be actually used. The end-result is the same.
* | Merge pull request #6351luigi11112020-04-044-40/+63
|\ \ | | | | | | | | | | | | | | | 81c5943 Remove temporary std::string creation in some hex->bin calls (vtnerd) 5fcc23a Move hex->bin conversion to monero copyright files and with less includes (vtnerd) 3387f0e Reduce template bloat in hex->bin for ZMQ json (vtnerd)
| * | Move hex->bin conversion to monero copyright files and with less includesLee Clagett2020-03-094-36/+58
| | |
| * | Remove temporary std::string creation in some hex->bin callsLee Clagett2020-03-091-5/+6
| | |
* | | Merge pull request #6339luigi11112020-04-043-3/+3
|\ \ \ | | | | | | | | | | | | c61abf8 remove empty statements (shopglobal)
| * | | remove empty statementsInterchained2020-02-173-3/+3
| | | | | | | | | | | | | | | | Cleaning up a little around the code base.
* | | | Merge pull request #6335luigi11112020-04-041-3/+4
|\ \ \ \ | | | | | | | | | | | | | | | 0078ce7 wipeable_string: split - treat CR, LF and Tabs as separators (xiphon)
| * | | | wipeable_string: split - treat CR, LF and Tabs as separatorsxiphon2020-02-121-3/+4
| | | | |
* | | | | p2p: fix frequent weak_ptr exception on connectionmoneromooo-monero2020-03-311-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a handshake fails, it can fail due to timeout or destroyed connection, in which case the connection will be, or already is, closed, and we don't want to do it twice. Additionally, when closing a connection directly from the top level code, ensure the connection is gone from the m_connects list so it won't be used again. AFAICT this is now clean in netstat, /proc/PID/fd and print_cn. This fixes a noisy (but harmless) exception.