| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | |/
| |
| |
| | |
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.
|
| | | |
|
| |\ \
| | |
| | |
| | |
| | |
| | | |
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.
|
| | | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |\
| |
| |
| |
| |
| |
| |
| |
| |
| | |
0d9c0db9 Do not build against epee_readline if it was not built (Howard Chu)
178014c9 split off readline code into epee_readline (moneromooo-monero)
a9e14a19 link against readline only for monerod and wallet-wallet-{rpc,cli} (moneromooo-monero)
437421ce wallet: move some scoped_message_writer calls from the libs (moneromooo-monero)
e89994e9 wallet: rejig to avoid prompting in wallet2 (moneromooo-monero)
ec5135e5 move input_line from command_line to simplewallet (moneromooo-monero)
082db75f move cryptonote command line options to cryptonote_core (moneromooo-monero)
|
| | |
| |
| |
| | |
Those have no reason to be in a generic module
|
| |/
|
|
|
|
|
| |
It's nasty, and actually breaks on Solaris, where if.h fails to
build due to:
struct map *if_memmap;
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
| |
p2p uses it, and the cpp file needs to know the symbols should
be public
|
| |\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
28b72b6e tx_pool: pre-init tvc.m_verifivation_failed before processing (moneromooo-monero)
50a629b2 core_tests: catch (impossible in practice) tx extra api failure (moneromooo-monero)
fee15ef1 wallet2: catch failure to parse address (moneromooo-monero)
1399e26d net_peerlist: remove dead code (moneromooo-monero)
50e09698 tx_pool: guard against failure getting tx hash (moneromooo-monero)
54cc209a wallet_rpc_server: catch failure to create directory (moneromooo-monero)
3e55099c wallet_rpc_server: init m_vm to NULL in ctor (moneromooo-monero)
7d0dde5e wallet_args: remove redundant default value for --log-file (moneromooo-monero)
ed4a3350 wallet2: catch failure to save keys file (moneromooo-monero)
44434c8a wallet2_api: check whether dynamic_cast returns NULL (moneromooo-monero)
92f2f687 core: check return value from parse_hexstr_to_binbuff (moneromooo-monero)
5475692e wallet2_api: remove an unused, uninitialized, field (moneromooo-monero)
a7ba3de1 libwallet_api_tests: initialize newblock_triggered on reset (moneromooo-monero)
b2763ace wallet2_api: init error code to "no error" in the ctor (moneromooo-monero)
b5faac53 get_blockchain_top now returns void (moneromooo-monero)
2e44d8f2 wallet_rpc_server: guard against exceptions (moneromooo-monero)
4230876b simplewallet: guard against I/O exceptions (moneromooo-monero)
06c1e057 daemon: initialize decode_as_json in RPC request (moneromooo-monero)
11f71af5 http_base: init size_t in http_request_info ctor (moneromooo-monero)
|
| | |
| |
| |
| | |
CID 175290
|
| |\ \
| | |
| | |
| | | |
e29282d2 build: auto update version info without manually deleting version.h (stoffu)
|
| | | | |
|
| |\ \ \
| |_|/
|/| |
| | | |
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
|
| |\ \ \
| |_|/
|/| |
| | |
| | | |
e3680b69 Rename m_listenning_port to m_listening_port (MaxXor)
a1ea475f Delete UPnP port mapping on exit (MaxXor)
|
| | | | |
|
| | | | |
|
| |\ \ \
| |/ /
|/| |
| | | |
e3c4395a p2p: init hashes after deserializing a network address (moneromooo-monero)
|
| | |/
| |
| |
| | |
Fixes multiple connections to the same address
|
| | | |
|
| |/
|
|
|
|
|
|
|
|
|
| |
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)
|
| | | |
|
| |\ \
| | |
| | |
| | | |
6ce769c1 p2p: get net log spam down a bit (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).
|