| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |\
| |
| |
| | |
eda9fb5b p2p: fix testnet/mainnet port mixup (moneromooo-monero)
|
| | | |
|
| |\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
e4646379 keccak: fix mdlen bounds sanity checking (moneromooo-monero)
2e3e90ac pass large parameters by const ref, not value (moneromooo-monero)
61defd89 blockchain: sanity check number of precomputed hash of hash blocks (moneromooo-monero)
9af6b2d1 ringct: fix infinite loop in unused h2b function (moneromooo-monero)
8cea8d0c simplewallet: double check a new multisig wallet is multisig (moneromooo-monero)
9b98a6ac threadpool: catch exceptions in dtor, to avoid terminate (moneromooo-monero)
24803ed9 blockchain_export: fix buffer overflow in exporter (moneromooo-monero)
f3f7da62 perf_timer: rewrite to make it clear there is no division by zero (moneromooo-monero)
c6ea3df0 performance_tests: remove add_arg call stray extra param (moneromooo-monero)
fa6b4566 fuzz_tests: fix an uninitialized var in setup (moneromooo-monero)
03887f11 keccak: fix sanity check bounds test (moneromooo-monero)
ad11db91 blockchain_db: initialize m_open in base class ctor (moneromooo-monero)
bece67f9 miner: restore std::cout precision after modification (moneromooo-monero)
1aabd14c db_lmdb: check hard fork info drop succeeded (moneromooo-monero)
|
| | |/
| |
| |
| | |
Coverity 136394 136397 136409 136526 136529 136533 175302
|
| |\ \
| | |
| | |
| | | |
2e584dcb p2p: do not try to connect to peers in offline mode (moneromooo-monero)
|
| | |/ |
|
| | |
| |
| |
| |
| |
| | |
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.
|
| | |
| |
| |
| | |
This rename is needed so that delete_in_connections can be added.
|
| |/
|
|
| |
This is needed so that a max_in_connection_count can be added.
|
| |\
| |
| |
| |
| | |
fd1dfac5 p2p: don't lookup seed IPs if using an exclusive peer (moneromooo-monero)
b50182ae p2p: don't connect to seeds if using an exclusive peer (moneromooo-monero)
|
| | | |
|
| | | |
|
| | | |
|
| |/ |
|
| |\
| |
| |
| | |
d28c388f p2p: stop net server before closing starting connections (moneromooo-monero)
|
| | |
| |
| |
| |
| |
| | |
This fixes a hang on exit due to race where a connection adds
itself to the server after the starting connections are closed,
but before the net server marks itself as stopped.
|
| | | |
|
| | |
| |
| |
| |
| |
| | |
As a followon side effect, this makes a lot of inline code
included only in particular cpp files (and instanciated
when necessary.
|
| |\ \
| | |
| | |
| | |
| | | |
abebe392 rpc: add offline state in info rpc (moneromooo-monero)
7696e849 core: make --offline also disable DNS lookups (moneromooo-monero)
|
| | |/ |
|
| |/
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
Those have no reason to be in a generic module
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
- 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
|
| |\
| |
| |
| | |
054054c9 p2p: disable gray list housekeeping when an exclusive node is given (moneromooo-monero)
|
| | |
| |
| |
| |
| |
| |
| | |
Exclusive nodes may be used for privacy reasons, and thus we don't
want to connect to other nodes, even for checking connectivity.
See https://github.com/monero-project/monero/issues/2346
|
| |\ \
| | |
| | |
| | |
| | | |
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)
|
| | | |
| | |
| | |
| | | |
This avoids quicker exit
|
| | | | |
|
| | |/
|/| |
|
| | | |
|
| |/
|
|
|
|
|
|
|
|
|
| |
Fix sync wedge corner case:
It could happen if a connection went into standby mode, while
it was the one which had requested the next span, and that span
was still waiting for the data, and that peer is not on the
main chain. Other peers can then start asking for that data
again and again, but never get it as only that forked peer does.
And various other fixes
|
| |\
| |
| |
| | |
7fdc178a p2p: fix random peer index being too large (moneromooo-monero)
|
| | | |
|
| |\ \
| | |
| | |
| | | |
cb2d5110 Tweak net logs so we get more info on why networking can't start (moneromooo-monero)
|
| | |/
| |
| |
| | |
This should prevent "silent" failures to start
|
| |/
|
|
|
|
| |
This avoids failing to connect to the network in case all
known peers are unavailable (which can happen if the peer
list is small).
|
| |
|
|
|
| |
This fixes nodes not being able to connect to nodes which use
recent code. While there, init peer_id too.
|
| |\
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |\ \
| | |
| | |
| | |
| | | |
04ebfbfe p2p: close connections when exiting (moneromooo-monero)
9a10148c p2p: fix thread leak (moneromooo-monero)
|
| | | |
| | |
| | |
| | |
| | | |
This ensures they don't leak if they were in the middle of an
async operation.
|
| | |/ |
|
| |/
|
|
|
|
| |
This avoids having to include p2p_protocol_defs.h in util.h,
as util.h is used a lot, and p2p_protocol_defs.h includes
a lot of other things that most users don't need.
|
| |
|
|
|
|
| |
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.
|