718 Commits (63a4dc10876bfc61c2e87d35dcf17da2f0f8c316)

Author SHA1 Message Date
Cory Fields 3830b6e065 net: use CreateSocket for binds 7 years ago
Cory Fields 9e3b2f576b net: Move IsSelectableSocket check into socket creation 7 years ago
Cory Fields 1729c29ded net: split socket creation out of connection 7 years ago
practicalswift 63f21d27ee net: Add missing locks in net.{cpp,h} 7 years ago
Jonas Schnelli 57ac471a29
Call BannedListChanged outside of cs_setBanned lock 7 years ago
practicalswift a720b928c8 Remove includes in .cpp files for things the corresponding .h file already included 7 years ago
MeshCollider 1a445343f6 scripted-diff: Replace #include "" with #include <> (ryanofsky) 7 years ago
Matt Corallo be9f38c613 Do not make it trivial for inbound peers to generate log entries 7 years ago
Jonas Schnelli c8538123a7
Update ban-state in case of dirty-state during periodic sweep 7 years ago
practicalswift 3e09b390b4 Use MakeUnique<T>(...) instead of std::unique_ptr<T>(new T(...)) 7 years ago
practicalswift f72cbf9ba9 Use unique_ptr for pfilter (CBloomFilter) 7 years ago
practicalswift 8ccf1bb0c3 Use unique_ptr for sem{Addnode,Outbound} (CSemaphore) 7 years ago
practicalswift 73db0635a3 Use unique_ptr for upnp_thread (boost::thread) 7 years ago
Thomas Snider 5ce7cb9518 [net] De-duplicate connection eviction logic 7 years ago
Suhas Daftuar ac7b37cd2b Connect to an extra outbound peer if our tip is stale 7 years ago
Suhas Daftuar 2d4327db19 net: Allow connecting to extra outbound peers 7 years ago
Matt Corallo 15f5d3b172 Switch DNSSeed-needed metric to any-automatic-nodes, not services 7 years ago
Matt Corallo 57edc0b0c8 Rename fAddnode to a more-descriptive "manual_connection" 7 years ago
Matt Corallo 44407100ff Replace relevant services logic with a function suite. 7 years ago
practicalswift 680bc2cbb3 Use range-based for loops (C++11) when looping over map elements 7 years ago
Cory Fields 45fd75453e net: remove now-superfluous numeric resolve 7 years ago
Cory Fields 2416dd7cc9 net: separate resolving and conecting 7 years ago
Marko Bencun 05cae8aefd range-based loops and const qualifications in net.cpp 7 years ago
Marko Bencun 605918272c add m_added_nodes to connman options 7 years ago
Cory Fields 80e2e9d0ce net: drop unused connman param 7 years ago
Cory Fields 8ad663c1fa net: use an interface class rather than signals for message processing 7 years ago
Cory Fields 28f11e9406 net: pass CConnman via pointer rather than reference 7 years ago
practicalswift 36d326e8b0 Use nullptr instead of zero (0) as the null pointer constant 7 years ago
practicalswift b109a1c396 Remove redundant nullptr checks before deallocation 7 years ago
Marko Bencun bb81e17355 scripted-diff: stop using the gArgs wrappers 7 years ago
practicalswift 90d4d89230 scripted-diff: Use the C++11 keyword nullptr to denote the pointer literal instead of the macro NULL 7 years ago
practicalswift 11dd29b658 [net] Fix use of uninitialized value in getnetworkinfo(const JSONRPCRequest& request) 7 years ago
Marko Bencun f228b8e163 remove some unused functions 7 years ago
Dag Robole 05e023f2ec Move CloseSocket out of SetSocketNonBlocking and pass SOCKET by const reference in SetSocket* functions 7 years ago
Marko Bencun 352d582ba2 Add vConnect to CConnman::Options 7 years ago
João Barbosa a2420ae2f1 Avoid unnecessary work in SetNetworkActive 7 years ago
Jeremy Rubin e0451e3e2a Fix subscript[0] bug in net.cpp if GetGroup returns a 0-sized vector 7 years ago
Jorge Timón 506b700dcb
Util: Remove redundant calls to gArgs.IsArgSet() 7 years ago
Cory Fields d5c7c1cfe3 net: use an internal address for fixed seeds 7 years ago
Marko Bencun 07b2afef10 add Binds, WhiteBinds to CConnman::Options 7 years ago
Marko Bencun ce79f32518 add WhitelistedRange to CConnman::Options 7 years ago
Cory Fields 6cdc488e36 net: switch to dummy internal ip for dns seed source 7 years ago
Cory Fields 7f31762cb6 net: add an internal subnet for representing unresolved hostnames 7 years ago
Gregory Maxwell bf376eaccc Return early in IsBanned. 7 years ago
Jorge Timón 7c00c26726
scripted-diff: Fully remove BOOST_FOREACH 7 years ago
Wladimir J. van der Laan a7e3c2814c rpc: Add listen address to incoming connections in `getpeerinfo` 7 years ago
Marko Bencun 5d67526026 add SeedNodes to CConnman::Options 7 years ago
Cory Fields b6fbfc2282 net: only enforce the services required to connect 7 years ago
Alex Morcos 307013469f Populate services in GetLocalAddress 7 years ago
Jorge Timón b3cbd554d9
scripted-diff: Util: Encapsulate mapMultiArgs behind gArgs 7 years ago