aboutsummaryrefslogtreecommitdiff
path: root/src/p2p/net_node.inl (follow)
AgeCommit message (Expand)AuthorFilesLines
2019-07-24Merge pull request #5530luigi11111-6/+0
2019-07-24Merge pull request #5363luigi11111-11/+99
2019-07-17Merge pull request #5732Riccardo Spagni1-2/+6
2019-07-16allow blocking whole subnetsmoneromooo-monero1-8/+96
2019-07-16p2p: store network address directly in blocked host listmoneromooo-monero1-3/+3
2019-07-05p2p: don't connect to more than one IP per class B if we canmoneromooo-monero1-11/+45
2019-07-04p2p: add a few missing connection close callsmoneromooo-monero1-2/+6
2019-05-10remove obsolete save_graph skeleton codemoneromooo-monero1-6/+0
2019-04-24p2p: do not send last_seen timestamp to peersmoneromooo-monero1-2/+2
2019-04-16Merge pull request #5425Riccardo Spagni1-1/+8
2019-04-11p2p: fix integer overflow in host bansmoneromooo-monero1-1/+8
2019-04-04crypto: replace rand<T>()%N idiom with unbiased rand_idx(N)stoffu1-2/+2
2019-04-01Merge pull request #5334Riccardo Spagni1-1/+1
2019-03-22p2p: don't lookup seed nodes when offlinemoneromooo-monero1-1/+1
2019-03-20Fix daemon startup parameter '--limit-rate' processing after parameter defaultsrbrunner71-4/+2
2019-03-19Merge pull request #5195Riccardo Spagni1-0/+4
2019-03-17Merge pull request #5190Riccardo Spagni1-3/+8
2019-03-05Update 2019 copyrightbinaryFate1-1/+1
2019-03-05p2p: avoid busy loop when we have nothing to connect tomoneromooo-monero1-1/+9
2019-02-25daemon: add '--no-sync' arg to optionally disable blockchain syncxiphon1-0/+4
2019-02-25daemon: add --public-node mode, RPC port propagation over P2Pxiphon1-3/+8
2019-02-02epee: add SSL supportmoneromooo-monero1-7/+8
2019-01-28Adding initial support for broadcasting transactions over TorLee Clagett1-432/+693
2019-01-22Pruningmoneromooo-monero1-49/+149
2019-01-16Merge pull request #5029Riccardo Spagni1-1/+1
2019-01-16Merge pull request #5001Riccardo Spagni1-3/+4
2019-01-16Merge pull request #4976Riccardo Spagni1-4/+4
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-monero1-4/+4
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-monero1-5/+5
2018-11-01p2p: tone down "no incoming connections" warning to info if in peers is 0moneromooo-monero1-3/+10
2018-10-26Merge pull request #4612Riccardo Spagni1-4/+8
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-08-15Merge pull request #4089luigi11111-3/+3
2018-07-19Merge pull request #3854luigi11111-0/+3
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-27Merge pull request #3982luigi11111-16/+46
2018-06-19Merge pull request #3861luigi11111-0/+14
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-monero1-0/+14
2018-04-29p2p: fix fallback seed node usagemoneromooo-monero1-3/+10
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-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-05Stagenetstoffu1-11/+25
2018-02-18p2p: restore m_testnet assignment lost during rebasewhythat1-0/+1
2018-02-16options: remove testnet-* optionswhythat1-8/+2
2018-02-16Merge pull request #3196Riccardo Spagni1-1/+2
2018-02-16Merge pull request #3226Riccardo Spagni1-1/+1
2018-02-16Merge pull request #3221Riccardo Spagni1-0/+2
2018-02-02pass large parameters by const ref, not valuemoneromooo-monero1-1/+1
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 Lopo1-3/+54
2018-01-29Rename delete_connections to delete_out_connectionsErik de Castro Lopo1-1/+1
2018-01-29Rename connections_count to max_out_connection_countErik de Castro Lopo1-10/+10
2018-01-28p2p: fix testnet/mainnet port mixupmoneromooo-monero1-1/+2
2018-01-27Merge pull request #3145Riccardo Spagni1-6/+6
2018-01-26Update 2018 copyrightxmr-eric1-1/+1
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
2017-12-25Merge pull request #2928Riccardo Spagni1-2/+5
2017-12-18p2p: use size_t for arbitrary counters instead of uint8_tmoneromooo-monero1-2/+2
2017-12-16cryptonote_core does not depend on p2p anymoremoneromooo-monero1-36/+1
2017-12-16Merge pull request #2878Riccardo Spagni1-4/+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' directionrbrunner71-12/+10
2017-11-14move cryptonote command line options to cryptonote_coremoneromooo-monero1-2/+3
2017-10-09Fix an object lifetime bug in net load testsmoneromooo-monero1-1/+1
2017-10-05Upgrades to epee::net_utils::network_addressLee Clagett1-4/+4
2017-09-25Merge pull request #2428Riccardo Spagni1-0/+2
2017-09-21Merge pull request #2302Riccardo Spagni1-0/+5
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_portMaxXor1-5/+5
2017-08-29Delete UPnP port mapping on exitMaxXor1-43/+95
2017-08-23print peer id in 0 padded hex for consistencymoneromooo-monero1-6/+6
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-15Merge pull request #2282Riccardo Spagni1-0/+2
2017-08-15Merge pull request #2236Riccardo Spagni1-22/+22
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-09p2p: fallback on seed nodes if we can't make a connectionmoneromooo-monero1-6/+25
2017-08-08net_node: fix m_in_timedsync initializationmoneromooo-monero1-0/+1
2017-08-07Merge pull request #2149Riccardo Spagni1-0/+8
2017-08-07Merge pull request #2219Riccardo Spagni1-6/+14
2017-08-07cryptonote_protocol_handler: sync speedupmoneromooo-monero1-0/+8
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-monero1-1/+1
2017-06-28Remove typeid use in network_addressmoneromooo-monero1-8/+8
2017-06-24Merge pull request #2073Riccardo Spagni1-2/+6
2017-06-15Don't issue a new timedsync while one is already in progressHoward Chu1-2/+6
2017-05-27abstracted nework addressesmoneromooo-monero1-108/+107
2017-05-05Merge pull request #1701Riccardo Spagni1-12/+105
2017-03-18p2p: use the fallback seed IPs when not enough seeds are foundmoneromooo-monero1-26/+61
2017-02-28Make gray peer selection uniformMiguel Herranz1-1/+8
2017-02-21updated fallback nodesRiccardo Spagni1-6/+12
2017-02-21update copyright year, fix occasional lack of newline at line endRiccardo Spagni1-1/+1
2017-02-21core: add p2p bind port options from net_nodemoneromooo-monero1-2/+2
2017-02-10Add anchor connectionsMiguel Herranz1-12/+105
2017-02-02Merge pull request #1641Riccardo Spagni1-0/+5
2017-01-28Separate data per P2P portMiguel Herranz1-0/+5
2017-01-22Replace BOOST_FOREACH with C++11 ranged forMiguel Herranz1-2/+2
2017-01-22Merge pull request #1609Riccardo Spagni1-1/+10
2017-01-22Merge pull request #1606Riccardo Spagni1-3/+3
2017-01-22p2p: always recreate a new peer id on startupmoneromooo-monero1-1/+10
2017-01-21p2p: show ban/unban logs by default againmoneromooo-monero1-3/+3
2017-01-21Rename method to get_random_gray_peerMiguel Herranz1-1/+1
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 Herranz1-0/+71
2017-01-20Merge pull request #1572Riccardo Spagni1-0/+30
2017-01-16Reduce to one connection per IPMiguel Herranz1-1/+1
2017-01-16Change logging to easylogging++moneromooo-monero1-83/+80
2017-01-15Limit incoming connections from the same IPMiguel Herranz1-0/+30
2016-12-20also use portable serializer for boost_serialization_helper.h and net_node.in...kenshi841-6/+26
2016-12-04Merge pull request #1398Riccardo Spagni1-4/+4
2016-12-04Merge pull request #1397Riccardo Spagni1-0/+1
2016-12-04Merge pull request #1396Riccardo Spagni1-4/+6
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-monero1-6/+11
2016-11-23Fix DNS failures in offline mode preventing daemon startupmoneromooo-monero1-1/+1
2016-11-09add lightweight block propagation ("fluffy blocks")Dion Ahmetaj1-3/+49
2016-10-02p2p: drop any existing connection to a banned IPmoneromooo-monero1-0/+12
2016-09-18remove dead backup seed nodes, add new onesRiccardo Spagni1-24/+6
2016-07-03allow peers without portmoneromooo-monero1-0/+5
2016-04-17net_node: fix connection leak when ping fails with bad responsemoneromooo-monero1-0/+1
2016-03-11Use boost::thread instead of std::threadHoward Chu1-1/+1
2016-02-18Use boost::thread instead of std::threadHoward Chu1-1/+1
2016-01-14'max limit of...' is redundant wording, rephrasebinaryFate1-1/+1
2015-12-31updated copyright yearRiccardo Spagni1-1/+1
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-18Merge pull request #543Riccardo Spagni1-1/+1
2015-12-17p2p: minor log formatting fixmoneromooo-monero1-1/+1
2015-12-15Replace tabs with two spaces for consistency with rest of codebasewarptangent1-203/+203
2015-12-09Merge pull request #527Riccardo Spagni1-2/+1
2015-12-08Register daemon command line arguments to core if they're used in coremoneromooo-monero1-2/+1
2015-12-08Merge pull request #526Riccardo Spagni1-0/+10
2015-12-07net_node: add a --offline argumentmoneromooo-monero1-0/+10
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-monero1-1/+13
2015-11-25net_node: allow bans for custom amounts of timemoneromooo-monero1-3/+3
2015-11-23Add IP blocking for misbehaving nodes (adapted from Boolberry)Javier Smooth1-0/+68
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)NoodleDoodleNoodleDoodleNoodleDoodleNoo1-9/+23
2015-05-26Merge pull request #292Riccardo Spagni1-31/+36
2015-05-25Fix compile for GCC 5.1.0warptangent1-1/+5
2015-05-25Build seed node list without duplicateswarptangent1-31/+36
2015-05-06Merge branch 'clang_fixes' into clang_fixes-masterSergey Kazenyuk1-4/+3
2015-04-20Fix missing virtual destructorSergey Kazenyuk1-2/+2
2015-04-02Merge pull request #252Riccardo Spagni1-40/+202
2015-04-02update hardcoded fallback seedsRiccardo Spagni1-12/+25
2015-04-01remerged; commands JSON. logging upgrade. doxygenrfree2monero1-25/+35
2015-04-01Merge remote-tracking branch 'monero-official/master' into network-1.6-work1rfree2monero1-2/+6
2015-02-24fix locking in count-peers thread (2)rfree2monero1-9/+10
2015-02-24Daemonize changes pulled in -- daemon buildsThomas Winget1-1/+6
2015-02-202014 network limit 1.2 +utils +toc -doc -drmonerorfree2monero1-29/+16
2015-02-202014 network limit 1.1 +utils +toc -doc -drmonerorfree2monero1-6/+60
2015-02-202014 network limit 1.0a +utils +toc -doc -drmonerorfree2monero1-38/+149
2015-01-14Fix seed node threaded DNS lookupwarptangent1-28/+41
2015-01-08Merge pull request #206Riccardo Spagni1-11/+57
2015-01-02year updated in licenseRiccardo Spagni1-1/+1
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-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 Winget1-11/+27
2014-09-15Fix time_t serialization issueZachary Michaels1-2/+6
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 p2p port for testnetZachary Michaels1-4/+19
2014-09-15Reorganize testnet constantsZachary Michaels1-2/+2
2014-09-15Add testnet flagZachary Michaels1-15/+19
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-clausefluffypony1-6/+32
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.8updatemydesktop1-68/+126
2014-04-30mac osx building fixesmydesktop1-1/+4