693 Commits (5a6d00c6defc587e22c93e63029fdd538ce8858d)

Author SHA1 Message Date
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
Matt Corallo dfed983f19 Fix unlocked access to vNodes.size() 8 years ago
Cory Fields c7be56dcef net: push only raw data into CConnman 8 years ago
Cory Fields 902768099c net: handle version push in InitializeNode 8 years ago
Cory Fields 440f1d3e4c net: remove now-unused ssSend and Fuzz 8 years ago
Cory Fields 5c2169cc3f drop the optimistic write counter hack 8 years ago
Cory Fields ea3326891d net: switch all callers to connman for pushing messages 8 years ago
Cory Fields 3e32cd09f6 connman is in charge of pushing messages 8 years ago
Gregory Maxwell d32036a47d Use RelevantServices instead of node_network in AttemptToEvict. 8 years ago