aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
AgeCommit message (Expand)Author
2017-03-16Merge #9921: build: Probe MSG_DONTWAIT in the same way as MSG_NOSIGNALWladimir J. van der Laan
2017-03-08Add missing braces in semaphore posts in netMatt Corallo
2017-03-08Fix shutdown hang with >= 8 -addnodes setMatt Corallo
2017-03-06CScheduler boost->std::function, use millisecs for times, not secsMatt Corallo
2017-03-05build: cleanup: define MSG_DONTWAIT/MSG_NO_SIGNAL locallyWladimir J. van der Laan
2017-02-28Trivial: Debug log ambiguity fix for peer addrskeystrike
2017-02-14Merge #9715: Disconnect peers which we do not receive VERACKs from within 60 secWladimir J. van der Laan
2017-02-10Move CNode::addrLocal access behind locked accessorsMatt Corallo
2017-02-10Move CNode::addrName accesses behind locked accessorsMatt Corallo
2017-02-10Move [clean|str]SubVer writes/copyStats into a lockMatt Corallo
2017-02-10Access fRelayTxes with cs_filter lock in copyStatsMatt Corallo
2017-02-10Avoid copying CNodeStats to make helgrind OK with buggy std::stringMatt Corallo
2017-02-10Make nTimeConnected const in CNodeMatt Corallo
2017-02-10net: fix a few races. Credit @TheBlueMattCory Fields
2017-02-10Merge #9698: net: fix socket close raceWladimir J. van der Laan
2017-02-08Merge #9674: Always enforce strict lock ordering (try or not)Wladimir J. van der Laan
2017-02-07Disconnect peers which we do not receive VERACKs from within 60 secMatt Corallo
2017-02-06net: add a lock around hSocketCory Fields
2017-02-06net: rearrange so that socket accesses can be grouped togetherCory Fields
2017-02-06Merge #9659: Net: Turn some methods and params/variables constWladimir J. van der Laan
2017-02-04Fixup style a bit by moving { to the same line as if statementsMatt Corallo
2017-02-04Merge #9671: Fix super-unlikely race introduced in 236618061a445d2cb11e72Wladimir J. van der Laan
2017-02-02Lock cs_vSend and cs_inventory in a consistent order even in TRYMatt Corallo
2017-02-02net: log an error rather than asserting if send version is misusedCory Fields
2017-02-02net: don't run callbacks on nodes that haven't completed the version handshakeCory Fields
2017-02-02Fix super-unlikely race introduced in 236618061a445d2cb11e72Matt Corallo
2017-01-31Net: CConnman: Make some methods constJorge Timón
2017-01-30Merge #9626: Clean up a few CConnman cs_vNodes/CNode thingsWladimir J. van der Laan
2017-01-26Merge #9606: net: Consistently use GetTimeMicros() for inactivity checksWladimir J. van der Laan
2017-01-25Do not add to vNodes until fOneShot/fFeeler/fAddNode have been setMatt Corallo
2017-01-25net: Consistently use GetTimeMicros() for inactivity checksSuhas Daftuar
2017-01-24Ensure cs_vNodes is held when using the return value from FindNodeMatt Corallo
2017-01-24Delete some unused (and broken) functions in CConnmanMatt Corallo
2017-01-13Make the cs_sendProcessing a LOCK instead of a TRY_LOCKMatt Corallo
2017-01-13Split CNode::cs_vSend: message processing and message sendingMatt Corallo
2017-01-13Merge #9441: Net: Massive speedup. Net locks overhaulPieter Wuille
2017-01-12net: remove cs_vRecvMsgCory Fields
2017-01-12net: add a flag to indicate when a node's send buffer is fullCory Fields
2017-01-12net: add a flag to indicate when a node's process queue is fullCory Fields
2017-01-12net: add a new message queue for the message processorCory Fields
2017-01-12net: rework the way that the messagehandler sleepsCory Fields
2017-01-12net: Add a simple function for waking the message handlerCory Fields
2017-01-12net: record bytes written before notifying the message processorCory Fields
2017-01-12net: handle message accounting in ReceiveMsgBytesCory Fields
2017-01-07Remove stray semicolon (Fix empty body warning)Douglas Roark
2017-01-05RPC help documentation for addnode peerinfo.Gregory Maxwell
2017-01-05Break addnode out from the outbound connection limits.Gregory Maxwell
2017-01-04net: set message deserialization version when it's actually time to deserializeCory Fields
2017-01-04net: wait until the node is destroyed to delete its recv bufferCory Fields
2017-01-04net: only disconnect if fDisconnect has been setCory Fields