aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests/epee_utils.cpp (follow)
AgeCommit message (Collapse)AuthorFilesLines
2019-01-28Adding initial support for broadcasting transactions over TorLee Clagett1-6/+16
- Support for ".onion" in --add-exclusive-node and --add-peer - Add --anonymizing-proxy for outbound Tor connections - Add --anonymous-inbounds for inbound Tor connections - Support for sharing ".onion" addresses over Tor connections - Support for broadcasting transactions received over RPC exclusively over Tor (else broadcast over public IP when Tor not enabled).
2019-01-16epee: speedup word/number matchingmoneromooo-monero1-0/+84
Number matching semantics are slightly changed: since this is used as a filter to check whether a number is signed and/or floating point, we can speed this up further. strto* functions are called afterwards and will error out where necessary. We now also accept numbers like .4 which were not accepted before. The strto* calls on a boost::string_ref will not access unallocated memory since the parsers always stop at the first bad character, and the original string is zero terminated. in arbitrary time measurement units for some arbitrary test case: match_number2: 235 -> 70 match_word2: 330 -> 108
2018-12-23epee: better network buffer data structuremoneromooo-monero1-0/+69
avoids pointless allocs and memcpy
2018-11-15unit_tests: add some hex parsing test for non hex inputxiphon1-0/+16
2018-11-15unit_tests: add a test for parse_hexstr_to_binbuffmoneromooo-monero1-0/+13
2018-08-03Added features to epee::span<T> :Lee Clagett1-1/+56
- Support for classes - Added `remove_prefix` function - Added `to_mut_span` and `as_mut_byte_span`
2018-06-01unit_tests: add tests for local IP range detectionmoneromooo-monero1-0/+32
2018-01-26Update 2018 copyrightxmr-eric1-1/+1
2017-10-08unit_tests: fix compiling on WindowsiDunk54001-3/+1
2017-10-05Upgrades to epee::net_utils::network_addressLee Clagett1-0/+231
- 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-04-11Improvements for epee binary to hex functions:Lee Clagett1-4/+328
- 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-03-18Removed boost/asio.hpp include from epee/string_tools.hLee Clagett1-0/+97