368 Commits (9ff0a51164f0e7aa0ce5424aa38ddbddd357fa2c)

Author SHA1 Message Date
Jorge Timón a1fd450328
Trivial: Remove unneeded includes from .h: 8 years ago
Cory Fields c851be4b25 net: define NodeId as an int64_t 8 years ago
Wladimir J. van der Laan 7d5172d354 Replace includes of boost/filesystem.h with fs.h 8 years ago
Matthias Grundmann 31a14d4909
Correct indentation and remove unnecessary braces 8 years ago
Pieter Wuille 4fd2d2fc97 Add a FastRandomContext::randrange and use it 8 years ago
practicalswift 8dc957ae06 Remove unused code 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 0f31872615 Make nServices atomic 8 years ago
Matt Corallo 96f42d8a12 Make nStartingHeight atomic 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
Cory Fields 9a0b784dea net: add a lock around hSocket 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
Cory Fields 2046617b5e net: deserialize the entire version message locally 8 years ago
Jorge Timón d45955fa09
Net: CConnman: Make some methods const 8 years ago
Matt Corallo 5be01906e5 Delete some unused (and broken) functions in CConnman 8 years ago
Matt Corallo f13914a0e9 Make WakeMessageHandler public 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
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 5b4a8ac6d6 net: make GetReceiveFloodSize public 8 years ago
Cory Fields e5bcd9c84f net: make vRecvMsg a list so that we can use splice() 8 years ago
Cory Fields d3d7056d2a net: make net processing interruptible 8 years ago
Cory Fields 0985052319 net: make net interruptible 8 years ago
isle2983 27765b6403 Increment MIT Licence copyright header year on files modified in 2016 8 years ago
Gregory Maxwell 083f203698 Remove fNetworkNode. 8 years ago
Matt Corallo 42071ca264 Make fDisconnect an std::atomic 8 years ago
Cory Fields c7be56dcef net: push only raw data into CConnman 8 years ago
Cory Fields 2ec935dcaa net: add CVectorWriter and CNetMsgMaker 8 years ago
Jonas Schnelli 079142b757
fNetworkActive is not protected by a lock, use an atomic 8 years ago
Pieter Wuille 528472111b Get rid of nType and nVersion 8 years ago
Pieter Wuille fad9b66504 Make nType and nVersion private and sometimes const 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
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
Jon Lund Steffensen e38993bb36 RPC: Add "togglenetwork" method to toggle network activity temporarily 8 years ago