677 Commits (ce74799a3c21355b35fed923106d13a0f8133721)

Author SHA1 Message Date
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
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
Gregory Maxwell bf376eaccc Return early in IsBanned. 5 years ago
Jorge Timón 7c00c26726
scripted-diff: Fully remove BOOST_FOREACH 5 years ago
Wladimir J. van der Laan a7e3c2814c rpc: Add listen address to incoming connections in `getpeerinfo` 5 years ago
Marko Bencun 5d67526026 add SeedNodes to CConnman::Options 5 years ago
Cory Fields b6fbfc2282 net: only enforce the services required to connect 5 years ago
Alex Morcos 307013469f Populate services in GetLocalAddress 5 years ago
Jorge Timón b3cbd554d9
scripted-diff: Util: Encapsulate mapMultiArgs behind gArgs 5 years ago
Cory Fields 0f3471f3ad net: make CNode's id private 5 years ago
Cory Fields 9ff0a51164 scripted-diff: net: Use accessor rather than node's id directly 5 years ago
John Newbery 77c54b270d [net] listbanned RPC and QT should show correct banned subnets 6 years ago
Matt Corallo b2c9254205 Check interruptNet during dnsseed lookups 6 years ago
Thomas Snider ad415bc16a [net] Added SetSocketNoDelay() utility function 6 years ago
Matthias Grundmann 31a14d4909
Correct indentation and remove unnecessary braces 6 years ago
Gregory Maxwell 6b3bb3d9ba Change LogAcceptCategory to use uint32_t rather than sets of strings. 6 years ago
practicalswift 8dc957ae06 Remove unused code 6 years ago
Matt Corallo 819b513a54 Add missing braces in semaphore posts in net 6 years ago
Matt Corallo e007b243c4 Fix shutdown hang with >= 8 -addnodes set 6 years ago
Matt Corallo 73296f54d6 CScheduler boost->std::function, use millisecs for times, not secs 6 years ago
Wladimir J. van der Laan 25da1ee36c build: cleanup: define MSG_DONTWAIT/MSG_NO_SIGNAL locally 6 years ago
keystrike 6d37ee8314 Trivial: Debug log ambiguity fix for peer addrs 6 years ago
Matt Corallo db2dc7a58c Move CNode::addrLocal access behind locked accessors 6 years ago
Matt Corallo 036073bf87 Move CNode::addrName accesses behind locked accessors 6 years ago
Matt Corallo 22b4966a29 Move [clean|str]SubVer writes/copyStats into a lock 6 years ago
Matt Corallo 512731bed0 Access fRelayTxes with cs_filter lock in copyStats 6 years ago
Matt Corallo ae683c1b19 Avoid copying CNodeStats to make helgrind OK with buggy std::string 6 years ago
Matt Corallo 644f1234e2 Make nTimeConnected const in CNode 6 years ago
Cory Fields 321d0fc6b6 net: fix a few races. Credit @TheBlueMatt 6 years ago
Matt Corallo 2cbd1196b7 Disconnect peers which we do not receive VERACKs from within 60 sec 6 years ago
Cory Fields 9a0b784dea net: add a lock around hSocket 6 years ago
Cory Fields 45e2e08561 net: rearrange so that socket accesses can be grouped together 6 years ago
Matt Corallo 2a962d4540 Fixup style a bit by moving { to the same line as if statements 6 years ago
Matt Corallo fd13eca147 Lock cs_vSend and cs_inventory in a consistent order even in TRY 6 years ago
Cory Fields 08bb6f4ed4 net: log an error rather than asserting if send version is misused 6 years ago
Cory Fields 12752af0cc net: don't run callbacks on nodes that haven't completed the version handshake 6 years ago
Matt Corallo 885cfdd217 Fix super-unlikely race introduced in 236618061a 6 years ago
Jorge Timón d45955fa09
Net: CConnman: Make some methods const 6 years ago
Matt Corallo 236618061a Do not add to vNodes until fOneShot/fFeeler/fAddNode have been set 6 years ago
Suhas Daftuar 99464bc38e net: Consistently use GetTimeMicros() for inactivity checks 6 years ago