635 Commits (e007b243c4840e44857b5ccf686ed35899e44af0)

Author SHA1 Message Date
Matt Corallo e007b243c4 Fix shutdown hang with >= 8 -addnodes set 8 years ago
Matt Corallo 73296f54d6 CScheduler boost->std::function, use millisecs for times, not secs 8 years ago
keystrike 6d37ee8314 Trivial: Debug log ambiguity fix for peer addrs 8 years ago
Matt Corallo db2dc7a58c Move CNode::addrLocal access behind locked accessors 8 years ago
Matt Corallo 036073bf87 Move CNode::addrName accesses behind locked accessors 8 years ago
Matt Corallo 22b4966a29 Move [clean|str]SubVer writes/copyStats into a lock 8 years ago
Matt Corallo 512731bed0 Access fRelayTxes with cs_filter lock in copyStats 8 years ago
Matt Corallo ae683c1b19 Avoid copying CNodeStats to make helgrind OK with buggy std::string 8 years ago
Matt Corallo 644f1234e2 Make nTimeConnected const in CNode 8 years ago
Cory Fields 321d0fc6b6 net: fix a few races. Credit @TheBlueMatt 8 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
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
Cory Fields f5c36d19b6 net: record bytes written before notifying the message processor 8 years ago
Cory Fields 60befa3997 net: handle message accounting in ReceiveMsgBytes 8 years ago
Douglas Roark cc0589639c
Remove stray semicolon (Fix empty body warning) 8 years ago
Gregory Maxwell 032ba3f066 RPC help documentation for addnode peerinfo. 8 years ago
Gregory Maxwell 50bd12ce0c Break addnode out from the outbound connection limits. 8 years ago
Cory Fields 56212e20ac net: set message deserialization version when it's actually time to deserialize 8 years ago
Cory Fields 60425870d7 net: wait until the node is destroyed to delete its recv buffer 8 years ago
Cory Fields f6315e07f9 net: only disconnect if fDisconnect has been set 8 years ago
Cory Fields e5bcd9c84f net: make vRecvMsg a list so that we can use splice() 8 years ago
Cory Fields 53ad9a133a net: fix typo causing the wrong receive buffer size 8 years ago
Cory Fields 67ee4ec901 net: misc header cleanups 8 years ago
Cory Fields 8b3159ef0a net: make proxy receives interruptible 8 years ago
Cory Fields d3d7056d2a net: make net processing interruptible 8 years ago
Cory Fields 0985052319 net: make net interruptible 8 years ago
Cory Fields 7325b15566 net: a few small cleanups before replacing boost threads 8 years ago
isle2983 27765b6403 Increment MIT Licence copyright header year on files modified in 2016 8 years ago
Matt Corallo 2b5f085ad1 Fix non-const mapMultiArgs[] access after init. 8 years ago
Gregory Maxwell bdb922b34c Remove pnodeLocalHost. 8 years ago
Gregory Maxwell 083f203698 Remove fNetworkNode. 8 years ago