729 Commits (871c6fb11eb84bb7defde875596995649f238c74)

Author SHA1 Message Date
Luke Dashjr 18b0c69e2f
Bugfix: Include <memory> for std::unique_ptr 7 years ago
e0 f60e84dba4 Limit the number of IPs we use from each DNS seeder 7 years ago
Adrian Gallagher a74a01e617
Litecoin: Branding 7 years ago
Cory Fields 5303970c26
net: don't retry failed oneshot connections forever 7 years ago
Cory Fields e54c1ac110
net: initialize socket to avoid closing random fd's 7 years ago
Matt Corallo 62e764219b Fall back to oneshot for DNS Seeds which don't support filtering. 7 years ago
Matt Corallo 51ae7660b8 Use GetDesireableServiceFlags in static seeds, document this. 7 years ago
Akira Takizawa 595a7bab23 Increment MIT Licence copyright header year on files modified in 2017 7 years ago
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 8 years ago
Jorge Timón 506b700dcb
Util: Remove redundant calls to gArgs.IsArgSet() 8 years ago
Cory Fields d5c7c1cfe3 net: use an internal address for fixed seeds 8 years ago
Marko Bencun 07b2afef10 add Binds, WhiteBinds to CConnman::Options 8 years ago
Marko Bencun ce79f32518 add WhitelistedRange to CConnman::Options 8 years ago
Cory Fields 6cdc488e36 net: switch to dummy internal ip for dns seed source 8 years ago