aboutsummaryrefslogtreecommitdiff
path: root/src/p2p (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2019-01-28Adding initial support for broadcasting transactions over TorLee Clagett9-649/+1570
2019-01-22Pruningmoneromooo-monero6-54/+234
2018-12-30p2p: don't stop the idle thread when no gray peers are foundmoneromooo-monero1-1/+1
2018-12-23epee: better network buffer data structuremoneromooo-monero3-16/+16
2018-12-23Remove boost::lexical_cast for uuid and unused uuid functionLee Clagett1-3/+4
2018-12-07p2p: use vector instead of list for peer listsmoneromooo-monero4-24/+27
2018-11-15Removed a lot of unnecessary includesMartijn Otto1-1/+3
2018-11-01p2p: less frequent incoming connections checkmoneromooo-monero1-1/+1
2018-11-01p2p: tone down "no incoming connections" warning to info if in peers is 0moneromooo-monero1-3/+10
2018-10-31Expose limit-rate defaults from command line helpRaskaRuby2-4/+4
2018-10-16p2p: only deinitialize what's been initialized in offline modemoneromooo-monero1-4/+8
2018-10-15p2p: a negative result from UPNP_GetValidIGD is an errormoneromooo-monero1-2/+2
2018-10-13Revert "p2p: connect via the bound ip, if any"moneromooo-monero1-3/+3
2018-10-12Remove epee header dependency on cryptonote_coremoneromooo-monero1-0/+1
2018-07-02p2p: connect via the bound ip, if anymoneromooo-monero1-3/+3
2018-06-29add --regtest and --fixed-difficulty for regression testingvictorsintnicolaas1-0/+3
2018-06-28remove epee from link lines where it's redundantmoneromooo-monero1-1/+0
2018-06-11net_node: resolve host for node addresses given via command line flagsstoffu1-13/+43
2018-06-11cryptonote_config: add get_config to refactor x = testnet ? config::testnet::...stoffu1-3/+3
2018-05-26p2p: warn when no incoming connections are seen for a whilemoneromooo-monero2-0/+16
2018-04-29p2p: fix fallback seed node usagemoneromooo-monero2-3/+11
2018-04-25Fix broken interactive daemon 'limit' commands plus RPC callsrbrunner71-2/+2
2018-04-21Build: update CMake and p2p for in-tree miniupnpanonimal1-10/+3
2018-04-19CMake: update new location of in-tree miniupnpcanonimal1-3/+3
2018-03-27fix lambda compile error on openbsdmoneromooo-monero1-1/+1
2018-03-22p2p: correct port number for seed nodesstoffu1-3/+3
2018-03-13p2p: fix network ID being uninitialised when using exclusive peersmoneromooo-monero1-1/+4
2018-03-05Stagenetstoffu3-18/+34
2018-02-18p2p: restore m_testnet assignment lost during rebasewhythat1-0/+1
2018-02-18p2p: need libcryptonote_core due to arg_testnet_on being usedstoffu1-0/+1
2018-02-16options: add testnet option dependencieswhythat1-2/+6
2018-02-16options: remove testnet-* optionswhythat3-16/+6
2018-02-02pass large parameters by const ref, not valuemoneromooo-monero2-2/+2
2018-02-01p2p: do not try to connect to peers in offline modemoneromooo-monero1-0/+2
2018-01-29Allow the number of incoming connections to be limitedErik de Castro Lopo4-3/+63
2018-01-29Rename delete_connections to delete_out_connectionsErik de Castro Lopo2-2/+2
2018-01-29Rename connections_count to max_out_connection_countErik de Castro Lopo2-12/+12
2018-01-28p2p: fix testnet/mainnet port mixupmoneromooo-monero1-1/+2
2018-01-26Update 2018 copyrightxmr-eric9-9/+9
2018-01-18p2p: fix picking peers off an empty gray listmoneromooo-monero1-1/+4
2018-01-17p2p: don't lookup seed IPs if using an exclusive peermoneromooo-monero1-5/+5
2018-01-17p2p: don't connect to seeds if using an exclusive peermoneromooo-monero1-1/+1
2018-01-10fix some link errors in debug mode for macosstoffu1-0/+1
2017-12-18p2p: use size_t for arbitrary counters instead of uint8_tmoneromooo-monero1-2/+2
2017-12-16move connection_basic and network_throttle from src/p2p to epeemoneromooo-monero6-1214/+0
2017-12-16cryptonote_core does not depend on p2p anymoremoneromooo-monero4-47/+90
2017-12-16move includes around to lessen overall loadmoneromooo-monero1-0/+2
2017-12-15p2p: stop net server before closing starting connectionsmoneromooo-monero1-2/+5
2017-11-30core: make --offline also disable DNS lookupsmoneromooo-monero1-4/+2
2017-11-28Corrections in rate limiting / trottle code, especially in 'out' directionrbrunner75-33/+18
2017-11-14move cryptonote command line options to cryptonote_coremoneromooo-monero1-2/+3
2017-11-14remove "using namespace std" from headersmoneromooo-monero1-2/+2
2017-10-09Fix an object lifetime bug in net load testsmoneromooo-monero1-1/+1
2017-10-05Upgrades to epee::net_utils::network_addressLee Clagett3-15/+22
2017-09-25version: fix link to new version stringsmoneromooo-monero1-0/+1
2017-09-25net_peerlist: remove dead codemoneromooo-monero1-20/+1
2017-09-21build: auto update version info without manually deleting version.hstoffu1-2/+0
2017-09-10p2p: disable gray list housekeeping when an exclusive node is givenmoneromooo-monero1-0/+2
2017-09-01Rename m_listenning_port to m_listening_portMaxXor2-7/+7
2017-08-29Delete UPnP port mapping on exitMaxXor2-43/+97
2017-08-23print peer id in 0 padded hex for consistencymoneromooo-monero2-6/+13
2017-08-23p2p: init hashes after deserializing a network addressmoneromooo-monero1-0/+2
2017-08-21cryptonote_protocol: misc fixes to the new sync algorithmmoneromooo-monero1-0/+2
2017-08-16p2p: add a couple early outs when the stop signal is receivedmoneromooo-monero1-0/+5
2017-08-15Tweak net logs so we get more info on why networking can't startmoneromooo-monero1-22/+22
2017-08-11p2p: fix random peer index being too largemoneromooo-monero1-0/+2
2017-08-10p2p: get net log spam down a bitmoneromooo-monero1-4/+3
2017-08-09p2p: fallback on seed nodes if we can't make a connectionmoneromooo-monero2-6/+26
2017-08-08net_node: fix m_in_timedsync initializationmoneromooo-monero2-1/+2
2017-08-07cryptonote_protocol_handler: sync speedupmoneromooo-monero3-0/+14
2017-08-01network_throttle: remove unneeded heap allocationsmoneromooo-monero2-19/+6
2017-08-01p2p: move m_in_timedsync from connection_context to p2p_connection_contextmoneromooo-monero1-0/+3
2017-07-31some include cleanupmoneromooo-monero7-15/+17
2017-07-29p2p: close connections when exitingmoneromooo-monero1-0/+8
2017-07-28p2p: fix thread leakmoneromooo-monero1-6/+6
2017-07-27move get_proof_of_trust_hash from util.h to p2p_protocol_defs.hmoneromooo-monero2-1/+9
2017-06-28Remove typeid use in network_addressmoneromooo-monero3-20/+12
2017-06-15Don't issue a new timedsync while one is already in progressHoward Chu1-2/+6
2017-05-27abstracted nework addressesmoneromooo-monero6-189/+320
2017-03-18p2p: use the fallback seed IPs when not enough seeds are foundmoneromooo-monero2-27/+64
2017-02-28Make gray peer selection uniformMiguel Herranz1-1/+8
2017-02-27Make get_random_gray_peer distribution uniformMiguel Herranz1-5/+2
2017-02-21updated fallback nodesRiccardo Spagni1-6/+12
2017-02-21update copyright year, fix occasional lack of newline at line endRiccardo Spagni14-14/+14
2017-02-21core: add p2p bind port options from net_nodemoneromooo-monero1-2/+2
2017-02-13network_throttle: demote spammy logs to TRACEmoneromooo-monero1-2/+2
2017-02-12net_node: fix spurious warning about using uninitialized datamoneromooo-monero1-1/+1
2017-02-10Add anchor connectionsMiguel Herranz5-18/+207
2017-02-08extract some basic code from libcryptonote_core into libcryptonote_basickenshi841-0/+1
2017-01-28Separate data per P2P portMiguel Herranz1-0/+5
2017-01-23Remove unreachable returnsMiguel Herranz1-3/+0
2017-01-22Remove boost/foreach.cpp includesMiguel Herranz5-5/+0
2017-01-22Replace BOOST_REVERSE_FOREACH with ranged forMiguel Herranz1-3/+4
2017-01-22Replace BOOST_FOREACH with C++11 ranged forMiguel Herranz3-4/+4
2017-01-22p2p: always recreate a new peer id on startupmoneromooo-monero2-2/+17
2017-01-21p2p: show ban/unban logs by default againmoneromooo-monero1-3/+3
2017-01-21Rename method to get_random_gray_peerMiguel Herranz2-4/+4
2017-01-21Fix logging that broke after rebasingMiguel Herranz1-1/+1
2017-01-21Use set_peer_just_seen to keep last_seen updatedMiguel Herranz1-1/+1
2017-01-21Add gray peer list housekeeping systemMiguel Herranz3-0/+121
2017-01-18Honor depth in get_peerlist_head methodMiguel Herranz1-2/+4
2017-01-16Reduce to one connection per IPMiguel Herranz1-1/+1
2017-01-16Change logging to easylogging++moneromooo-monero5-427/+91
2017-01-15Limit incoming connections from the same IPMiguel Herranz2-0/+32
2017-01-14remove unused fields from network_throttle (unused-private-field warning)Chris Vickio1-3/+0
2016-12-20also use portable serializer for boost_serialization_helper.h and net_node.in...kenshi842-7/+28
2016-12-04Fix a few minor typosPierre Boyer1-4/+4
2016-12-04Fix delayed exit when syncingmoneromooo-monero1-0/+1
2016-12-03net_node: drop connections from banned IPs after looping through connectionsmoneromooo-monero1-4/+6
2016-12-01p2p: possibly fix crash in relay_blocksmoneromooo-monero3-6/+17
2016-11-23Fix DNS failures in offline mode preventing daemon startupmoneromooo-monero1-1/+1
2016-11-09add lightweight block propagation ("fluffy blocks")Dion Ahmetaj4-6/+81
2016-10-02p2p: drop any existing connection to a banned IPmoneromooo-monero1-0/+12
2016-09-26Cleanup. Dropped "bit" from bitmonero.Randi Joseph1-2/+2
2016-09-26Cleanup. Dropped "bit" from bitmonero.Randi Joseph1-1/+1
2016-09-26Cleanup. Dropped "bit" from bitmonero.Randi Joseph1-1/+1
2016-09-26Dropped "bit" from bitmonero.Randi Joseph1-2/+2
2016-09-18remove dead backup seed nodes, add new onesRiccardo Spagni1-24/+6
2016-09-18cmake: transitive deps and remove deprecated LINK_*redfish1-7/+10
2016-07-03allow peers without portmoneromooo-monero1-0/+5
2016-05-18src: p2p: add exception spec to throwing destructorsredfish4-4/+4
2016-04-17net_node: fix connection leak when ping fails with bad responsemoneromooo-monero1-0/+1
2016-03-28connection_basic: avoid gratuitous exceptionmoneromooo-monero1-2/+2
2016-03-21Revert "Print stack trace upon exceptions"moneromooo-monero1-4/+3
2016-03-19Print stack trace upon exceptionsmoneromooo-monero1-3/+4
2016-03-12p2p: lock access to the blocked ips mapmoneromooo-monero2-3/+3
2016-03-11Use boost::thread instead of std::threadHoward Chu6-30/+31
2016-02-18Use boost::thread instead of std::threadHoward Chu3-3/+4
2016-01-14'max limit of...' is redundant wording, rephrasebinaryFate1-1/+1
2015-12-31updated copyright yearRiccardo Spagni16-16/+16
2015-12-30net_peerlist: move a couple functions from public to privatemoneromooo-monero1-2/+2
2015-12-22net_node: fix a hang on exitmoneromooo-monero1-1/+1
2015-12-19Add missing semicolons after log statementsmoneromooo-monero1-1/+1
2015-12-17p2p: minor log formatting fixmoneromooo-monero1-1/+1
2015-12-15Replace tabs with two spaces for consistency with rest of codebasewarptangent2-236/+236
2015-12-08Register daemon command line arguments to core if they're used in coremoneromooo-monero1-2/+1
2015-12-07net_node: add a --offline argumentmoneromooo-monero2-0/+12
2015-12-07p2p: failure to load p2pstate.bin is not fatal anymoremoneromooo-monero1-2/+11
2015-11-26add RPC calls and commands to get/set bansmoneromooo-monero3-4/+28
2015-11-25net_node: allow bans for custom amounts of timemoneromooo-monero2-4/+4
2015-11-23Add IP blocking for misbehaving nodes (adapted from Boolberry)Javier Smooth4-2/+98
2015-11-23quiet down p2p logging a bitJavier Smooth1-1/+1
2015-10-05Update to compile with latest miniupnpcwarptangent1-0/+6
2015-08-14net_node: Use DNS resolver singletonwarptangent1-1/+1
2015-08-11net_node: skimplify rate limit code, and log as appropriatemoneromooo-monero1-8/+5
2015-07-15** CHANGES ARE EXPERIMENTAL (FOR TESTING ONLY)NoodleDoodleNoodleDoodleNoodleDoodleNoo2-10/+25
2015-06-06properly decrement p2p socket countThomas Winget1-0/+1
2015-05-31cleaning up, removing redundant files, renaming, fixing incorrect licensesRiccardo Spagni9-11/+64
2015-05-28net_peerlist: fix grayt/white naming mismatchmoneromooo-monero1-2/+2
2015-05-25Fix compile for GCC 5.1.0warptangent1-1/+5
2015-05-25Build seed node list without duplicateswarptangent1-31/+36
2015-05-17s/terget/target/moneromooo-monero4-7/+7
2015-05-17print limits when running limit commands with no argumentsmoneromooo-monero2-0/+19
2015-04-20Fix missing virtual destructorSergey Kazenyuk2-2/+4
2015-04-08[fix] Network 1.8: unlimited the RPC connectionsrfree2monero3-1/+22
2015-04-02Network 1.7; Quieted the debug a bit.rfree2monero1-5/+5
2015-04-02update hardcoded fallback seedsRiccardo Spagni1-12/+25
2015-04-01remerged; commands JSON. logging upgrade. doxygenrfree2monero5-39/+69
2015-02-24fix locking in count-peers thread (2)rfree2monero3-11/+27
2015-02-242014 network limit 1.3 fix log/path/data +utilsrfree2monero4-60/+137
2015-02-24Daemonize changes pulled in -- daemon buildsThomas Winget2-4/+7
2015-02-202014 network limit 1.2 +utils +toc -doc -drmonerorfree2monero6-52/+55
2015-02-202014 network limit 1.1 +utils +toc -doc -drmonerorfree2monero9-183/+293
2015-02-202014 network limit 1.0a +utils +toc -doc -drmonerorfree2monero9-47/+1541
2015-01-14Fix seed node threaded DNS lookupwarptangent1-28/+41
2015-01-02year updated in licenseRiccardo Spagni7-7/+7
2014-12-15std::atomic_flag has no copy/move constructor, can't have a vectorThomas Winget1-9/+7
2014-12-15small typo in previous commitThomas Winget1-1/+1
2014-12-15DNS seed timeout and fallbackThomas Winget1-11/+59
2014-10-02remove dangling upnp port mappings, updated miniupnpcRiccardo Spagni1-2/+10
2014-10-02remove dangling upnp port mappings, updated miniupnpcRiccardo Spagni1-2/+10
2014-09-30reload checkpoints file every ~hr and print if any failThomas Winget1-1/+3
2014-09-24use boost::asio::ip::address because cross-platform plzRiccardo Spagni1-96/+27
2014-09-23seed node DNS code updated to use DNSResolverThomas Winget1-41/+111
2014-09-23ipv4 and ipv6 resolution workingThomas Winget2-11/+34
2014-09-15Fix time_t serialization issueZachary Michaels3-5/+9
2014-09-15Make P2P use the testnet data dirZachary Michaels1-1/+3
2014-09-15Replace macro with equivalent function callZachary Michaels1-49/+45
2014-09-15Add testnet seed nodesZachary Michaels1-3/+8
2014-09-15Separate network id for testnetZachary Michaels1-2/+10
2014-09-15Separate p2p port for testnetZachary Michaels2-5/+23
2014-09-15Reorganize testnet constantsZachary Michaels3-40/+4
2014-09-15Add testnet flagZachary Michaels2-17/+22
2014-09-12versioning now includes the commit hash, or -final for tagged releasesRiccardo Spagni1-1/+1
2014-09-12versioning now includes the commit hash, or -final for tagged releasesRiccardo Spagni1-1/+1
2014-09-10more dynamic miniupnp fixesfluffypony1-2/+9
2014-09-10miniupnpc includes fixedfluffypony1-2/+2
2014-09-09moved non-critical warnings and errors to log level 1fluffypony1-4/+4
2014-07-23License updated to BSD 3-clausefluffypony8-29/+236
2014-07-01Allow priority peers when there are exclusive peersZachary Michaels1-1/+1
2014-06-10added new seed nodesfluffypony1-0/+9
2014-05-250.8.8updatemydesktop2-77/+142
2014-04-30mac osx building fixesmydesktop1-1/+4
2014-04-30various fixes to allow mac osx compilationmydesktop2-3/+5
2014-04-302nd seed node addedthankful_for_today1-0/+1
2014-04-18Bitmonero releasethankful_for_today2-11/+2
2014-04-09Port mapping with UPnPAntonio Juarez1-0/+35
2014-03-20some fixesAntonio Juarez5-28/+63
2014-03-03moved all stuff to githubAntonio Juarez8-0/+2042