369 Commits (381a46e38fa9262c868e5fee9ed0d1f71af4059e)

Author SHA1 Message Date
Jorge Timón 381a46e38f
Consensus: Policy: MOVEONLY: Move CFeeRate out of the consensus module 6 years ago
Jorge Timón a1fd450328
Trivial: Remove unneeded includes from .h: 6 years ago
Cory Fields c851be4b25 net: define NodeId as an int64_t 6 years ago
Wladimir J. van der Laan 7d5172d354 Replace includes of boost/filesystem.h with fs.h 6 years ago
Matthias Grundmann 31a14d4909
Correct indentation and remove unnecessary braces 6 years ago
Pieter Wuille 4fd2d2fc97 Add a FastRandomContext::randrange and use it 6 years ago
practicalswift 8dc957ae06 Remove unused code 6 years ago
Matt Corallo db2dc7a58c Move CNode::addrLocal access behind locked accessors 6 years ago
Matt Corallo 036073bf87 Move CNode::addrName accesses behind locked accessors 6 years ago
Matt Corallo 22b4966a29 Move [clean|str]SubVer writes/copyStats into a lock 6 years ago
Matt Corallo 0f31872615 Make nServices atomic 6 years ago
Matt Corallo 96f42d8a12 Make nStartingHeight atomic 6 years ago
Matt Corallo 644f1234e2 Make nTimeConnected const in CNode 6 years ago
Cory Fields 321d0fc6b6 net: fix a few races. Credit @TheBlueMatt 6 years ago
Cory Fields 9a0b784dea net: add a lock around hSocket 6 years ago
Cory Fields 08bb6f4ed4 net: log an error rather than asserting if send version is misused 6 years ago
Cory Fields 12752af0cc net: don't run callbacks on nodes that haven't completed the version handshake 6 years ago
Cory Fields 2046617b5e net: deserialize the entire version message locally 6 years ago
Jorge Timón d45955fa09
Net: CConnman: Make some methods const 6 years ago
Matt Corallo 5be01906e5 Delete some unused (and broken) functions in CConnman 6 years ago
Matt Corallo f13914a0e9 Make WakeMessageHandler public 6 years ago
Matt Corallo d7c58ad514 Split CNode::cs_vSend: message processing and message sending 6 years ago
Cory Fields e60360e139 net: remove cs_vRecvMsg 6 years ago
Cory Fields 991955ee81 net: add a flag to indicate when a node's send buffer is full 6 years ago
Cory Fields c6e8a9bcff net: add a flag to indicate when a node's process queue is full 6 years ago
Cory Fields 4d712e366c net: add a new message queue for the message processor 6 years ago
Cory Fields c5a8b1b946 net: rework the way that the messagehandler sleeps 6 years ago
Cory Fields ef7b5ecbb7 net: Add a simple function for waking the message handler 6 years ago
Gregory Maxwell 50bd12ce0c Break addnode out from the outbound connection limits. 6 years ago
Cory Fields 56212e20ac net: set message deserialization version when it's actually time to deserialize 6 years ago
Cory Fields 5b4a8ac6d6 net: make GetReceiveFloodSize public 6 years ago
Cory Fields e5bcd9c84f net: make vRecvMsg a list so that we can use splice() 6 years ago
Cory Fields d3d7056d2a net: make net processing interruptible 6 years ago
Cory Fields 0985052319 net: make net interruptible 6 years ago
isle2983 27765b6403 Increment MIT Licence copyright header year on files modified in 2016 6 years ago
Gregory Maxwell 083f203698 Remove fNetworkNode. 6 years ago
Matt Corallo 42071ca264 Make fDisconnect an std::atomic 6 years ago
Cory Fields c7be56dcef net: push only raw data into CConnman 6 years ago
Cory Fields 2ec935dcaa net: add CVectorWriter and CNetMsgMaker 6 years ago
Jonas Schnelli 079142b757
fNetworkActive is not protected by a lock, use an atomic 6 years ago
Pieter Wuille 528472111b Get rid of nType and nVersion 6 years ago
Pieter Wuille fad9b66504 Make nType and nVersion private and sometimes const 6 years ago
Cory Fields 902768099c net: handle version push in InitializeNode 6 years ago
Cory Fields 440f1d3e4c net: remove now-unused ssSend and Fuzz 6 years ago
Cory Fields 5c2169cc3f drop the optimistic write counter hack 6 years ago
Cory Fields ea3326891d net: switch all callers to connman for pushing messages 6 years ago
Cory Fields 3e32cd09f6 connman is in charge of pushing messages 6 years ago
Cory Fields 59ac5c5b72 net: Use deterministic randomness for CNode's nonce, and make it const 6 years ago
Cory Fields aff6584e09 net: constify a few CNode vars to indicate that they're threadsafe 6 years ago
Matt Corallo fe1dc62cef Hash P2P messages as they are received instead of at process-time 6 years ago