66 Commits (9b4d2673b7757fd242b13c972c73897c92a90ce1)

Author SHA1 Message Date
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
Pieter Wuille 62607d796c Convert COrphanTx to keep a CTransactionRef 8 years ago
Pieter Wuille c44e4c467c Make AcceptToMemoryPool take CTransactionRef 8 years ago
MarcoFalke fa16b8fdba If we don't allow free txs, always send a fee filter (take 2) 8 years ago
Suhas Daftuar 7017298eb2 Allow compactblock reconstruction when block is in flight 8 years ago
Gregory Maxwell da9cdd2c9c Do not run functions with necessary side-effects in assert() 8 years ago
Alex Morcos 01fea7a048 If we don't allow free txs, always send a fee filter 8 years ago
Pieter Wuille 2efc43874c Align struct COrphan definition 8 years ago
Pieter Wuille f6fb7acda4 Move CTxInWitness inside CTxIn 8 years ago
Matt Corallo a13fa4c80f Remove unused CDiskBlockPos* argument from ProcessNewBlock 8 years ago
Matt Corallo 2d6e5619af Switch pblock in ProcessNewBlock to a shared_ptr 8 years ago
Alex Morcos dfbe0d530f Add unstored orphans with rejected parents to recentRejects 8 years ago
Matt Corallo 9b9324ee49 Fix rounding privacy leak introduced in #9260 8 years ago
Pieter Wuille 81e3228fcb Make CTransaction actually immutable 8 years ago
Matt Corallo 76faa3cdfe Rename the remaining main.{h,cpp} to validation.{h,cpp} 8 years ago
Matt Corallo e736772c56 Move network-msg-processing code out of main to its own file 8 years ago