175 Commits (46ca8f383e53a3cf93d7ea9425e55ef972e8939b)

Author SHA1 Message Date
Suhas Daftuar 1530bfc72d Add logging to FinalizeNode() 8 years ago
Suhas Daftuar e2652002b6 Delay parallel block download until chain has sufficient work 8 years ago
Greg Griffith c707ca872d removed unused code in INV message 8 years ago
Cory Fields 9ff0a51164 scripted-diff: net: Use accessor rather than node's id directly 8 years ago
practicalswift 6345f0b7ec Remove unused argument from MarkBlockAsInFlight(...) 8 years ago
BtcDrak 1ff2bb4e3e
Remove unused args from GetFetchhFlags() 8 years ago
Matt Corallo 461e49fee2 SyncTransaction->TxAddedToMempool/BlockConnected/Disconnected 8 years ago
Matthias Grundmann 31a14d4909
Correct indentation and remove unnecessary braces 8 years ago
Gregory Maxwell 6b3bb3d9ba Change LogAcceptCategory to use uint32_t rather than sets of strings. 8 years ago
John Newbery 5d08c9c579 Send the correct error code in reject messages 8 years ago
Alex Morcos f838005444 No longer allow "free" transactions 8 years ago
practicalswift 95543d8747 [net] Avoid possibility of NULL pointer dereference in MarkBlockAsInFlight(...) 8 years ago
Matt Corallo b49ad44efe Add comment about cs_most_recent_block coverage 8 years ago
Matt Corallo c47f5b7982 Cache witness-enabled state with recent-compact-block-cache 8 years ago
Matt Corallo efc135ff6d Use cached [compact] blocks to respond to getdata messages 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