681 Commits (bcc8a620eae9cd8fe95f0a02f17183c4a132e5a2)

Author SHA1 Message Date
practicalswift 36d326e8b0 Use nullptr instead of zero (0) as the null pointer constant 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
Cory Fields 0f3471f3ad net: make CNode's id private 7 years ago
Cory Fields 9ff0a51164 scripted-diff: net: Use accessor rather than node's id directly 7 years ago
John Newbery 77c54b270d [net] listbanned RPC and QT should show correct banned subnets 7 years ago
Matt Corallo b2c9254205 Check interruptNet during dnsseed lookups 7 years ago
Thomas Snider ad415bc16a [net] Added SetSocketNoDelay() utility function 7 years ago
Matthias Grundmann 31a14d4909
Correct indentation and remove unnecessary braces 7 years ago
Gregory Maxwell 6b3bb3d9ba Change LogAcceptCategory to use uint32_t rather than sets of strings. 7 years ago
practicalswift 8dc957ae06 Remove unused code 7 years ago
Matt Corallo 819b513a54 Add missing braces in semaphore posts in net 7 years ago
Matt Corallo e007b243c4 Fix shutdown hang with >= 8 -addnodes set 7 years ago
Matt Corallo 73296f54d6 CScheduler boost->std::function, use millisecs for times, not secs 7 years ago
Wladimir J. van der Laan 25da1ee36c build: cleanup: define MSG_DONTWAIT/MSG_NO_SIGNAL locally 7 years ago
keystrike 6d37ee8314 Trivial: Debug log ambiguity fix for peer addrs 7 years ago
Matt Corallo db2dc7a58c Move CNode::addrLocal access behind locked accessors 7 years ago
Matt Corallo 036073bf87 Move CNode::addrName accesses behind locked accessors 7 years ago
Matt Corallo 22b4966a29 Move [clean|str]SubVer writes/copyStats into a lock 7 years ago
Matt Corallo 512731bed0 Access fRelayTxes with cs_filter lock in copyStats 7 years ago
Matt Corallo ae683c1b19 Avoid copying CNodeStats to make helgrind OK with buggy std::string 7 years ago
Matt Corallo 644f1234e2 Make nTimeConnected const in CNode 7 years ago
Cory Fields 321d0fc6b6 net: fix a few races. Credit @TheBlueMatt 7 years ago
Matt Corallo 2cbd1196b7 Disconnect peers which we do not receive VERACKs from within 60 sec 8 years ago
Cory Fields 9a0b784dea net: add a lock around hSocket 8 years ago
Cory Fields 45e2e08561 net: rearrange so that socket accesses can be grouped together 8 years ago
Matt Corallo 2a962d4540 Fixup style a bit by moving { to the same line as if statements 8 years ago
Matt Corallo fd13eca147 Lock cs_vSend and cs_inventory in a consistent order even in TRY 8 years ago
Cory Fields 08bb6f4ed4 net: log an error rather than asserting if send version is misused 8 years ago
Cory Fields 12752af0cc net: don't run callbacks on nodes that haven't completed the version handshake 8 years ago
Matt Corallo 885cfdd217 Fix super-unlikely race introduced in 236618061a 8 years ago