727 Commits (master)

Author SHA1 Message Date
e0 f60e84dba4 Limit the number of IPs we use from each DNS seeder 5 years ago
SHI c93b275591 Rename all 5 years ago
Cory Fields 5303970c26
net: don't retry failed oneshot connections forever 5 years ago
Cory Fields e54c1ac110
net: initialize socket to avoid closing random fd's 5 years ago
Matt Corallo 62e764219b Fall back to oneshot for DNS Seeds which don't support filtering. 5 years ago
Matt Corallo 51ae7660b8 Use GetDesireableServiceFlags in static seeds, document this. 5 years ago
Akira Takizawa 595a7bab23 Increment MIT Licence copyright header year on files modified in 2017 5 years ago
Cory Fields 3830b6e065 net: use CreateSocket for binds 5 years ago
Cory Fields 9e3b2f576b net: Move IsSelectableSocket check into socket creation 5 years ago
Cory Fields 1729c29ded net: split socket creation out of connection 5 years ago
practicalswift 63f21d27ee net: Add missing locks in net.{cpp,h} 5 years ago
Jonas Schnelli 57ac471a29
Call BannedListChanged outside of cs_setBanned lock 5 years ago
practicalswift a720b928c8 Remove includes in .cpp files for things the corresponding .h file already included 5 years ago
MeshCollider 1a445343f6 scripted-diff: Replace #include "" with #include <> (ryanofsky) 5 years ago
Matt Corallo be9f38c613 Do not make it trivial for inbound peers to generate log entries 5 years ago
Jonas Schnelli c8538123a7
Update ban-state in case of dirty-state during periodic sweep 5 years ago
practicalswift 3e09b390b4 Use MakeUnique<T>(...) instead of std::unique_ptr<T>(new T(...)) 5 years ago
practicalswift f72cbf9ba9 Use unique_ptr for pfilter (CBloomFilter) 5 years ago
practicalswift 8ccf1bb0c3 Use unique_ptr for sem{Addnode,Outbound} (CSemaphore) 5 years ago
practicalswift 73db0635a3 Use unique_ptr for upnp_thread (boost::thread) 5 years ago
Thomas Snider 5ce7cb9518 [net] De-duplicate connection eviction logic 5 years ago
Suhas Daftuar ac7b37cd2b Connect to an extra outbound peer if our tip is stale 5 years ago
Suhas Daftuar 2d4327db19 net: Allow connecting to extra outbound peers 5 years ago
Matt Corallo 15f5d3b172 Switch DNSSeed-needed metric to any-automatic-nodes, not services 5 years ago
Matt Corallo 57edc0b0c8 Rename fAddnode to a more-descriptive "manual_connection" 5 years ago
Matt Corallo 44407100ff Replace relevant services logic with a function suite. 5 years ago
practicalswift 680bc2cbb3 Use range-based for loops (C++11) when looping over map elements 5 years ago
Cory Fields 45fd75453e net: remove now-superfluous numeric resolve 5 years ago
Cory Fields 2416dd7cc9 net: separate resolving and conecting 5 years ago
Marko Bencun 05cae8aefd range-based loops and const qualifications in net.cpp 5 years ago
Marko Bencun 605918272c add m_added_nodes to connman options 5 years ago
Cory Fields 80e2e9d0ce net: drop unused connman param 5 years ago
Cory Fields 8ad663c1fa net: use an interface class rather than signals for message processing 5 years ago
Cory Fields 28f11e9406 net: pass CConnman via pointer rather than reference 5 years ago
practicalswift 36d326e8b0 Use nullptr instead of zero (0) as the null pointer constant 5 years ago
practicalswift b109a1c396 Remove redundant nullptr checks before deallocation 5 years ago
Marko Bencun bb81e17355 scripted-diff: stop using the gArgs wrappers 5 years ago
practicalswift 90d4d89230 scripted-diff: Use the C++11 keyword nullptr to denote the pointer literal instead of the macro NULL 5 years ago
practicalswift 11dd29b658 [net] Fix use of uninitialized value in getnetworkinfo(const JSONRPCRequest& request) 5 years ago
Marko Bencun f228b8e163 remove some unused functions 5 years ago
Dag Robole 05e023f2ec Move CloseSocket out of SetSocketNonBlocking and pass SOCKET by const reference in SetSocket* functions 5 years ago
Marko Bencun 352d582ba2 Add vConnect to CConnman::Options 5 years ago
João Barbosa a2420ae2f1 Avoid unnecessary work in SetNetworkActive 5 years ago
Jeremy Rubin e0451e3e2a Fix subscript[0] bug in net.cpp if GetGroup returns a 0-sized vector 5 years ago
Jorge Timón 506b700dcb
Util: Remove redundant calls to gArgs.IsArgSet() 5 years ago
Cory Fields d5c7c1cfe3 net: use an internal address for fixed seeds 5 years ago
Marko Bencun 07b2afef10 add Binds, WhiteBinds to CConnman::Options 5 years ago
Marko Bencun ce79f32518 add WhitelistedRange to CConnman::Options 5 years ago
Cory Fields 6cdc488e36 net: switch to dummy internal ip for dns seed source 5 years ago
Cory Fields 7f31762cb6 net: add an internal subnet for representing unresolved hostnames 5 years ago