617 Commits (266a8114cbe2a87a6c84d7690a7716a18d782c56)

Author SHA1 Message Date
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
Cory Fields 59ac5c5b72 net: Use deterministic randomness for CNode's nonce, and make it const 8 years ago
Cory Fields aff6584e09 net: constify a few CNode vars to indicate that they're threadsafe 8 years ago
Matt Corallo fe1dc62cef Hash P2P messages as they are received instead of at process-time 8 years ago
Gregory Maxwell 515e2642eb Make connect=0 disable automatic outbound connections. 8 years ago
MarcoFalke fa1c3c2eb0 [net] Remove assert(nMaxInbound > 0) 8 years ago
Jon Lund Steffensen 32efa79e0e Qt: Add GUI feedback and control of network activity state. 8 years ago
Jon Lund Steffensen 7c9a98aac8 Allow network activity to be temporarily suspended. 8 years ago