730 Commits (master)

Author SHA1 Message Date
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 7 years ago
Cory Fields 9a0b784dea net: add a lock around hSocket 7 years ago
Cory Fields 45e2e08561 net: rearrange so that socket accesses can be grouped together 7 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
Jorge Timón d45955fa09
Net: CConnman: Make some methods const 8 years ago
Matt Corallo 236618061a Do not add to vNodes until fOneShot/fFeeler/fAddNode have been set 8 years ago
Suhas Daftuar 99464bc38e net: Consistently use GetTimeMicros() for inactivity checks 8 years ago
Matt Corallo 3c37dc40d3 Ensure cs_vNodes is held when using the return value from FindNode 8 years ago
Matt Corallo 5be01906e5 Delete some unused (and broken) functions in CConnman 8 years ago
Matt Corallo 376b3c2c6e Make the cs_sendProcessing a LOCK instead of a TRY_LOCK 8 years ago
Matt Corallo d7c58ad514 Split CNode::cs_vSend: message processing and message sending 8 years ago
Cory Fields e60360e139 net: remove cs_vRecvMsg 8 years ago
Cory Fields 991955ee81 net: add a flag to indicate when a node's send buffer is full 8 years ago
Cory Fields c6e8a9bcff net: add a flag to indicate when a node's process queue is full 8 years ago
Cory Fields 4d712e366c net: add a new message queue for the message processor 8 years ago
Cory Fields c5a8b1b946 net: rework the way that the messagehandler sleeps 8 years ago
Cory Fields ef7b5ecbb7 net: Add a simple function for waking the message handler 8 years ago