| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | | |
|
| |\ \ \
| | | |
| | | |
| | | | |
dba2de61 levin_protocol_handler_async: call handler destroy function on dtor (moneromooo-monero)
|
| | | |/
| |/| |
|
| | | |
| | |
| | |
| | | |
boost::regex is stupendously atrocious at parsing malformed data
|
| | |/
|/| |
|
| |\ \
| | |
| | |
| | |
| | |
| | | |
43f5269f Wallets now do not depend on the daemon rpc lib (moneromooo-monero)
bb89ae8b move connection_basic and network_throttle from src/p2p to epee (moneromooo-monero)
4abf25f3 cryptonote_core does not depend on p2p anymore (moneromooo-monero)
|
| | | |
| | |
| | |
| | |
| | | |
These even had the epee namespace.
This fixes some ugly circular dependencies.
|
| |/ / |
|
| |\ \
| | |
| | |
| | | |
cf5f6236 Corrections in rate limiting / trottle code, especially in 'out' direction (rbrunner7)
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |\ \ \
| |_|/
|/| |
| | |
| | |
| | |
| | | |
3dffe71b new wipeable_string class to replace std::string passphrases (moneromooo-monero)
7a2a5741 utils: initialize easylogging++ in on_startup (moneromooo-monero)
54950829 use memwipe in a few relevant places (moneromooo-monero)
000666ff add a memwipe function (moneromooo-monero)
|
| | |/ |
|
| |\ \
| | |
| | |
| | |
| | | |
27aa8ce9 net_utils_base: fix peer list parsing (moneromooo-monero)
fe5ab2c4 epee: fix kv_unserialize return value when a field is not found (moneromooo-monero)
|
| | |/
| |
| |
| | |
Fields are written with their "name" as key, and that name changed.
|
| |/ |
|
| |\
| |
| |
| | |
383ff4f6 remove "using namespace std" from headers (moneromooo-monero)
|
| | |
| |
| |
| |
| |
| |
| | |
It's nasty, and actually breaks on Solaris, where if.h fails to
build due to:
struct map *if_memmap;
|
| |\ \
| | |
| | |
| | | |
0bf09154 Fix file permission issue (Tim L)
|
| | | |
| | |
| | |
| | | |
This branch fixes a file permission issue introduced by https://github.com/monero-project/monero/commit/69c37200aa87f100f731e755bdca7a0dc6ae820a
|
| |\ \ \
| |_|/
|/| |
| | | |
fa514082 RPC: get_info add rpc_connections_count (Tim L)
|
| | |/ |
|
| |\ \
| |/
|/|
| | |
7dbf76d0 Fix an object lifetime bug in net load tests (moneromooo-monero)
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |\ \
| | |
| | |
| | |
| | | |
4b228dd3 cmake: epee: use var from FindOpenSSL.cmake (redfish)
29497f79 epee: use boost type for SSL error code (redfish)
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |\ \ \
| | | |
| | | |
| | | | |
69c37200 RPC Add cross origin resource sharing support (Tim L)
|
| | |/ / |
|
| |/ / |
|
| |\ \
| | |
| | |
| | | |
bc1b9333 frob level 1 logs a bit for consistency (moneromooo-monero)
|
| | |/
| |
| |
| |
| | |
Level 1 logs map to INFO, so setting log level to 1 should
show these. Demote some stuff to DEBUG to avoid spam, though.
|
| |/ |
|
| |
|
|
|
|
|
|
| |
- 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
|
| |\
| |
| |
| | |
f2939bdc epee: keep a ref to a connection we're deleting (moneromooo-monero)
|
| | |
| |
| |
| |
| |
| |
| | |
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
|
| |\ \
| | |
| | |
| | | |
2e82b232 epee: give virtual dtor to network_address_base (moneromooo-monero)
|
| | |/
| |
| |
| | |
It has virtual functions and is used as a base class
|
| | |
| |
| |
| | |
CID 161879
|
| |\ \
| |/
|/|
| |
| | |
ef005f5e p2p: add a couple early outs when the stop signal is received (moneromooo-monero)
80d361c7 abstract_tcp_server2: improve tracking/cancelling of early connections (moneromooo-monero)
|
| | |
| |
| |
| |
| |
| |
| | |
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.
|
| |/ |
|
| |\
| |
| |
| |
| |
| |
| |
| | |
158c3ecf core: thread most of handle_incoming_tx (moneromooo-monero)
f57ee382 cryptonote_protocol: retry stale spans early (moneromooo-monero)
90df52e1 cryptonote_protocol: light cleanup (moneromooo-monero)
84e23156 cryptonote_protocol: avoid spurious SYNCHRONIZED OK messages (moneromooo-monero)
5be43fcd cryptonote_protocol_handler: sync speedup (moneromooo-monero)
|
| | |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |\ \
| | |
| | |
| | | |
c6ba7d11 p2p: move m_in_timedsync from connection_context to p2p_connection_context (moneromooo-monero)
|
| | |/
| |
| |
| | |
It's got no place in the base class as it's P2P specific field
|
| |\ \
| | |
| | |
| | | |
13a8d64f epee: don't send the body of the response to a HEAD HTTP request (Guillaume LE VAILLANT)
|
| | | |
| | |
| | |
| | |
| | |
| | | |
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".
|
| |\ \ \
| |_|/
|/| |
| | | |
35d68b2c Fix spelling errors (Erik de Castro Lopo)
|
| | |/ |
|
| |\ \
| |/
|/|
| | |
a04faf56 abstract_tcp_server2: guard against accessing lock on a destroyed object (moneromooo-monero)
|
| | | |
|