85 Commits (9ab9e7d1b3b4a7eac46b4e4f273c68f4e737e5f7)

Author SHA1 Message Date
Alex Morcos f838005444 No longer allow "free" transactions 8 years ago
Cory Fields cbfc5a6728 net: require a verack before responding to anything else 8 years ago
Cory Fields 8502e7acbe net: parse reject earlier 8 years ago
Cory Fields c45b9fb54c net: correctly ban before the handshake is complete 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 d8f2b8a8c0 Make nTimeBestReceived atomic 8 years ago
Matt Corallo 22b4966a29 Move [clean|str]SubVer writes/copyStats into a lock 8 years ago
Cory Fields 321d0fc6b6 net: fix a few races. Credit @TheBlueMatt 8 years ago
Cory Fields 7a8c251901 net: Disallow sending messages until the version handshake is complete 8 years ago
Cory Fields 2046617b5e net: deserialize the entire version message locally 8 years ago
Matt Corallo 80ff0344ae Dont deserialize nVersion into CNode, should fix #9212 8 years ago
Jorge Timón 0729102f99
Net: pass interruptMsgProc as const where possible 8 years ago
Jorge Timón fc7f2ffad4
Net: Make CNetMsgMaker more const 8 years ago
Karl-Johan Alm b7b48c8bbd Refactor: Remove using namespace <xxx> from src/*.cpp. 8 years ago
John Newbery dd5b0114cf [Trivial] add comment about setting peer as HB peer. 8 years ago
Pavel Janík 44f2baac48 Do not shadow local variable named `tx`. 8 years ago
Gregory Maxwell 8ff8d219c3 Send final alert message to older peers after connecting. 8 years ago
Matt Corallo c5945804ca Add braces around AddToCompactExtraTransactions 8 years ago
Matt Corallo 241d8938f4 Wake message handling thread when we receive a new block 8 years ago
Matt Corallo 02ee4eb263 Make most_recent_compact_block a pointer to a const 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 c72cc88ed3 net: remove useless comments 8 years ago
Matt Corallo 962f7f054f Call ActivateBestChain without cs_main/with most_recent_block 8 years ago
Matt Corallo 863edb45b9 Consider all (<100k memusage) txn for compact-block-extra-txn cache 8 years ago
Matt Corallo 7f8c8cab1e Consider all orphan txn for compact-block-extra-txn cache 8 years ago
Matt Corallo 93380c5247 Use replaced transactions in compact block reconstruction 8 years ago
Matt Corallo 1531652e02 Keep shared_ptrs to recently-replaced txn for compact blocks 8 years ago
Matt Corallo e6111b2398 Make peer id logging consistent ("peer=%d" instead of "peer %d") 8 years ago
Matt Corallo c1ae4fcf7d Avoid holding cs_most_recent_block while calling ReadBlockFromDisk 8 years ago
Gregory Maxwell 50bd12ce0c Break addnode out from the outbound connection limits. 8 years ago
Matt Corallo 9eb67f5000 Ensure we meet the BIP 152 old-relay-types response requirements 8 years ago
Matt Corallo 5749a853b9 Cache most-recently-connected compact block 8 years ago
Matt Corallo 9eaec08dd2 Cache most-recently-announced block's shared_ptr 8 years ago
Matt Corallo c802092142 Relay compact block messages prior to full block connection 8 years ago
Matt Corallo 80175472d1 Make CBlockIndex*es in net_processing const 8 years ago
Cory Fields 56212e20ac net: set message deserialization version when it's actually time to deserialize 8 years ago
Cory Fields 0e973d970a net: remove redundant max sendbuffer size check 8 years ago
Cory Fields e5bcd9c84f net: make vRecvMsg a list so that we can use splice() 8 years ago
Cory Fields 5cb0fcee81 net: remove thread_interrupted catch 8 years ago
Cory Fields d3d7056d2a net: make net processing interruptible 8 years ago
Gregory Sanders d4781ac6c2 Set peers as HB peers upon full block validation 8 years ago
Suhas Daftuar bd02bddb93 Release cs_main before processing cmpctblock as header 8 years ago
Suhas Daftuar 680b0c0138 Release cs_main before calling ProcessNewBlock (cmpctblock handling) 8 years ago
Matt Corallo 4cd373aea8 Un-expose mapArgs from utils.h 8 years ago
Matt Corallo 0cf86a6678 Introduce (and use) an IsArgSet accessor method 8 years ago