Commit Graph

257 Commits (dc5a76095cc4b05d7a706c3b650e54f2db314926)

Author SHA1 Message Date
Riccardo Spagni ef91d6e61e
Merge pull request #3196
6 years ago
Riccardo Spagni f4a6bc79d9
Merge pull request #3226
6 years ago
Riccardo Spagni a54247b993
Merge pull request #3221
6 years ago
moneromooo-monero 2e3e90acbe
pass large parameters by const ref, not value
7 years ago
moneromooo-monero 2e584dcb1f
p2p: do not try to connect to peers in offline mode
7 years ago
Erik de Castro Lopo 32c0f908cd Allow the number of incoming connections to be limited
7 years ago
Erik de Castro Lopo d609a2c164 Rename delete_connections to delete_out_connections
7 years ago
Erik de Castro Lopo b927c0fc7a Rename connections_count to max_out_connection_count
7 years ago
moneromooo-monero eda9fb5b98
p2p: fix testnet/mainnet port mixup
7 years ago
Riccardo Spagni a4ae78a335
Merge pull request #3145
7 years ago
xmr-eric 18216f19dd Update 2018 copyright
7 years ago
moneromooo-monero ab58b150ef
p2p: fix picking peers off an empty gray list
7 years ago
moneromooo-monero fd1dfac5d2
p2p: don't lookup seed IPs if using an exclusive peer
7 years ago
moneromooo-monero b50182aee7
p2p: don't connect to seeds if using an exclusive peer
7 years ago
stoffu 6d8b29ef28
fix some link errors in debug mode for macos
7 years ago
Riccardo Spagni c611cca462
Merge pull request #2928
7 years ago
moneromooo-monero fe568db83d
p2p: use size_t for arbitrary counters instead of uint8_t
7 years ago
Riccardo Spagni 066fd7aced
Merge pull request #2877
7 years ago
moneromooo-monero bb89ae8b20
move connection_basic and network_throttle from src/p2p to epee
7 years ago
moneromooo-monero 4abf25f3c9
cryptonote_core does not depend on p2p anymore
7 years ago
moneromooo-monero 09ce03d612
move includes around to lessen overall load
7 years ago
Riccardo Spagni 8da24c2a57
Merge pull request #2878
7 years ago
moneromooo-monero d28c388f88
p2p: stop net server before closing starting connections
7 years ago
moneromooo-monero 7696e84952
core: make --offline also disable DNS lookups
7 years ago
rbrunner7 cf5f623616 Corrections in rate limiting / trottle code, especially in 'out' direction
7 years ago
Riccardo Spagni edebe4e3b6
Merge pull request #2736
7 years ago
moneromooo-monero 082db75f28
move cryptonote command line options to cryptonote_core
7 years ago
moneromooo-monero 383ff4f689
remove "using namespace std" from headers
7 years ago
moneromooo-monero 7dbf76d0da
Fix an object lifetime bug in net load tests
7 years ago
Lee Clagett 8b00687735 Upgrades to epee::net_utils::network_address
7 years ago
moneromooo-monero 8e0670c684
version: fix link to new version strings
7 years ago
Riccardo Spagni c2346c6c59
Merge pull request #2424
7 years ago
Riccardo Spagni b911130a46
Merge pull request #2442
7 years ago
moneromooo-monero 1399e26d7e
net_peerlist: remove dead code
7 years ago
Riccardo Spagni 174f2fb4da
Merge pull request #2428
7 years ago
Riccardo Spagni 07312a7d6e
Merge pull request #2302
7 years ago
stoffu e29282d208
build: auto update version info without manually deleting version.h
7 years ago
Riccardo Spagni 75563db6e3
Merge pull request #2376
7 years ago
moneromooo-monero 054054c92f
p2p: disable gray list housekeeping when an exclusive node is given
7 years ago
Riccardo Spagni 5551fcf60b
Merge pull request #2329
7 years ago
MaxXor e3680b6936 Rename m_listenning_port to m_listening_port
7 years ago
MaxXor a1ea475fff Delete UPnP port mapping on exit
7 years ago
moneromooo-monero 5524bc3151
print peer id in 0 padded hex for consistency
7 years ago
moneromooo-monero e3c4395ab7
p2p: init hashes after deserializing a network address
7 years ago
moneromooo-monero 70b8c6d77a
cryptonote_protocol: misc fixes to the new sync algorithm
7 years ago
moneromooo-monero ef005f5e72
p2p: add a couple early outs when the stop signal is received
7 years ago
Riccardo Spagni 4bfb58328d
Merge pull request #2282
7 years ago
Riccardo Spagni f980b2ca89
Merge pull request #2277
7 years ago
Riccardo Spagni 74522c7e84
Merge pull request #2236
7 years ago
moneromooo-monero cb2d5110ff
Tweak net logs so we get more info on why networking can't start
7 years ago
moneromooo-monero 7fdc178abb
p2p: fix random peer index being too large
7 years ago
moneromooo-monero 6ce769c123
p2p: get net log spam down a bit
7 years ago
moneromooo-monero 7591c528d0
p2p: fallback on seed nodes if we can't make a connection
7 years ago
moneromooo-monero e49f6d439d
net_node: fix m_in_timedsync initialization
7 years ago
Riccardo Spagni 6db8a60a18
Merge pull request #2149
7 years ago
Riccardo Spagni ea46a5527a
Merge pull request #2234
7 years ago
Riccardo Spagni 9b0daf49db
Merge pull request #2220
7 years ago
Riccardo Spagni 43c6e452fa
Merge pull request #2219
7 years ago
Riccardo Spagni a6ea26e7fa
Merge pull request #2215
7 years ago
moneromooo-monero 5be43fcdba
cryptonote_protocol_handler: sync speedup
7 years ago
moneromooo-monero 41f935ddb2
network_throttle: remove unneeded heap allocations
7 years ago
moneromooo-monero c6ba7d110f
p2p: move m_in_timedsync from connection_context to p2p_connection_context
7 years ago
moneromooo-monero 214fd81e93
some include cleanup
7 years ago
moneromooo-monero 04ebfbfefa
p2p: close connections when exiting
7 years ago
moneromooo-monero 9a10148c01
p2p: fix thread leak
7 years ago
moneromooo-monero 06aea2cf0a
move get_proof_of_trust_hash from util.h to p2p_protocol_defs.h
7 years ago
moneromooo-monero 8f96cfc20a
Remove typeid use in network_address
7 years ago
Riccardo Spagni f31b89012d
Merge pull request #2073
7 years ago
Howard Chu 07c4276cbe
Don't issue a new timedsync while one is already in progress
7 years ago
moneromooo-monero 072102cfd2
abstracted nework addresses
7 years ago
Riccardo Spagni ed09652a17
Merge pull request #1701
7 years ago
moneromooo-monero c1c9eeaaf7
p2p: use the fallback seed IPs when not enough seeds are found
7 years ago
Miguel Herranz 1a7e18bfdf Make gray peer selection uniform
7 years ago
Miguel Herranz f3be9991d7 Make get_random_gray_peer distribution uniform
7 years ago
Riccardo Spagni 72deb4846d
updated fallback nodes
7 years ago
Riccardo Spagni c3599fa7b9
update copyright year, fix occasional lack of newline at line end
7 years ago
moneromooo-monero e74b3ab5f7
core: add p2p bind port options from net_node
7 years ago
moneromooo-monero d43fde8a9b
network_throttle: demote spammy logs to TRACE
7 years ago
moneromooo-monero 8ec2a8d2b0
net_node: fix spurious warning about using uninitialized data
7 years ago
Miguel Herranz 8277e67f11 Add anchor connections
7 years ago
kenshi84 8027ce0c75 extract some basic code from libcryptonote_core into libcryptonote_basic
8 years ago
Riccardo Spagni fcb299b4ae
Merge pull request #1641
8 years ago
Riccardo Spagni f9e60dcd55
Merge pull request #1617
8 years ago
Miguel Herranz ca94d0a43c Separate data per P2P port
8 years ago
Miguel Herranz 8141973e00 Remove unreachable returns
8 years ago
Miguel Herranz 0644eed772 Remove boost/foreach.cpp includes
8 years ago
Miguel Herranz 36dd3e238f Replace BOOST_REVERSE_FOREACH with ranged for
8 years ago
Miguel Herranz 629e3101ab Replace BOOST_FOREACH with C++11 ranged for
8 years ago
Riccardo Spagni add98edfc3
Merge pull request #1609
8 years ago
Riccardo Spagni f798a2ab85
Merge pull request #1606
8 years ago
moneromooo-monero 4cdf0a35c9
p2p: always recreate a new peer id on startup
8 years ago
moneromooo-monero f8b97aef34
p2p: show ban/unban logs by default again
8 years ago
Miguel Herranz 1c4d65c011 Rename method to get_random_gray_peer
8 years ago
Miguel Herranz 03a54ee0c9 Fix logging that broke after rebasing
8 years ago
Miguel Herranz 6bdd3a59b5 Use set_peer_just_seen to keep last_seen updated
8 years ago
Miguel Herranz 82dbeedd1b Add gray peer list housekeeping system
8 years ago
Riccardo Spagni 3db3a6ee1a
Merge pull request #1593
8 years ago
Riccardo Spagni d10425025a
Merge pull request #1572
8 years ago
Miguel Herranz cbcdf8ad35 Honor depth in get_peerlist_head method
8 years ago
Miguel Herranz 0e0e6c5f39 Reduce to one connection per IP
8 years ago