Commit Graph

108 Commits (92b7efcf54d3154e4b31c9a6eae60f27e349f45e)

Author SHA1 Message Date
Sebastian Falbesoner 8b3136bd30 refactor: replace CNode pointers by references within net_processing.{h,cpp}
5 years ago
MarcoFalke fa05fdf0f1
net: Pass chainman into PeerLogicValidation
5 years ago
Jim Posen 9ccaaba11e [init] Add -peerblockfilters option
5 years ago
fanquake 0ef0d33f75
Merge #18038: P2P: Mempool tracks locally submitted transactions to improve wallet privacy
5 years ago
Amiti Uttarwar e25e42f20a [p2p] Reattempt initial send of unbroadcast transactions
5 years ago
MarcoFalke fa369651c5
net: Add missing cs_vNodes lock
5 years ago
Wladimir J. van der Laan 312d27b11c
Merge #17477: Remove the mempool's NotifyEntryAdded and NotifyEntryRemoved signals
5 years ago
MarcoFalke fa7fea3654
refactor: Remove mempool global from net
5 years ago
John Newbery cdb893443c [validation interface] Remove vtxConflicted from BlockConnected
5 years ago
Suhas Daftuar a029e18c2b Use rolling bloom filter of recent block tx's for AlreadyHave() check
5 years ago
MarcoFalke e09c701e01 scripted-diff: Bump copyright of files changed in 2020
5 years ago
MarcoFalke 6cbe620964 scripted-diff: Replace CCriticalSection with RecursiveMutex
5 years ago
MarcoFalke aaaaad6ac9
scripted-diff: Bump copyright of files changed in 2019
5 years ago
John Newbery a27a2957ed [validation] Add CValidationState subclasses
5 years ago
MarcoFalke fa25f43ac5
p2p: Remove BIP61 reject messages
5 years ago
Antoine Riard 9bc8b28c1d refactor : use RelayTransaction in BroadcastTransaction utility
5 years ago
Matt Corallo f27309f55c Move DEFAULT_PEERBLOOMFILTERS from validation.h to net_processing.h
6 years ago
Cory Fields 4c0d961eb0 banman: create and split out banman
6 years ago
MarcoFalke 011c39c296
Merge #14331: doxygen: Fix member comments
6 years ago
MarcoFalke 423cb37658
Merge #14027: Skip stale tip checking if outbound connections are off or if reindexing.
6 years ago
MarcoFalke fa69ac7614
doxygen: Fix member comments
6 years ago
MarcoFalke fa14b54a87
p2p: Disable BIP 61 by default
6 years ago
practicalswift 9e0a514112 Add compile time checking for all cs_main runtime locking assertions
6 years ago
Gregory Maxwell 66b3fc5437 Skip stale tip checking if outbound connections are off or if reindexing.
6 years ago
DrahtBot eb7daf4d60 Update copyright headers to 2018
6 years ago
Pieter Wuille 1e90862f5d
Merge #13417: [net] Tighten scope in net_processing
6 years ago
Jesse Cohen 3339ba28e9 Make g_enable_bip61 a member variable of PeerLogicValidation
6 years ago
fanquake c469ecf22e
net: Remove unused interrupt from SendMessages
6 years ago
Jesse Cohen 1d4df02b7e [move-only] Move things only referenced in net_processing out of header file
7 years ago
Jesse Cohen 02bbc05310 Rescope g_enable_bip61 to net_processing
7 years ago
practicalswift 9fdf05d70c tests: Fix lock-order-inversion (potential deadlock) in DoS_tests. Reported by TSAN.
7 years ago
Wladimir J. van der Laan fe16dd8226 net: Add option `-enablebip61` to configure sending of BIP61 notifications
7 years ago
Russell Yanofsky e0b66a3b7c Remove direct bitcoin calls from qt/peertablemodel.cpp
7 years ago
Vasil Dimov 2b3ea39de4
Polish interfaces around PeerLogicValidation
7 years ago
James O'Beirne b7cd08b717 Add documentation to PeerLogicValidation interface and related functions
7 years ago
Wladimir J. van der Laan d3a185a33b net: Move misbehaving logging to net logging category
7 years ago
Akira Takizawa 595a7bab23 Increment MIT Licence copyright header year on files modified in 2017
7 years ago
MeshCollider 1a445343f6 scripted-diff: Replace #include "" with #include <> (ryanofsky)
7 years ago
Suhas Daftuar ac7b37cd2b Connect to an extra outbound peer if our tip is stale
7 years ago
Suhas Daftuar 5a6d00c6de Permit disconnection of outbound peers on bad/slow chains
7 years ago
Cory Fields 80e2e9d0ce net: drop unused connman param
7 years ago
Cory Fields 8ad663c1fa net: use an interface class rather than signals for message processing
7 years ago
Cory Fields 28f11e9406 net: pass CConnman via pointer rather than reference
7 years ago
practicalswift 64fb0ac016 Declare single-argument (non-converting) constructors "explicit"
7 years ago
Suhas Daftuar 76f74811c4 Add timeout for headers sync
8 years ago
Matt Corallo acad82f375 Add override to functions using CValidationInterface methods
8 years ago
Matt Corallo 461e49fee2 SyncTransaction->TxAddedToMempool/BlockConnected/Disconnected
8 years ago
Jorge Timón 0729102f99
Net: pass interruptMsgProc as const where possible
8 years ago
Wladimir J. van der Laan 9c9af5ab2d
Merge #9499: Use recent-rejects, orphans, and recently-replaced txn for compact-block-reconstruction
8 years ago
Pieter Wuille 3908fc4728
Merge #9375: Relay compact block messages prior to full block connection
8 years ago
Cory Fields c5a8b1b946 net: rework the way that the messagehandler sleeps
8 years ago
Matt Corallo 1531652e02 Keep shared_ptrs to recently-replaced txn for compact blocks
8 years ago
Matt Corallo c735540428 Move ORPHAN constants from validation.h to net_processing.h
8 years ago
Matt Corallo c802092142 Relay compact block messages prior to full block connection
8 years ago
Wladimir J. van der Laan d9ae1cefa0
Merge #9289: net: drop boost::thread_group
8 years ago
Cory Fields d3d7056d2a net: make net processing interruptible
8 years ago
isle2983 27765b6403 Increment MIT Licence copyright header year on files modified in 2016
8 years ago
Matt Corallo e736772c56 Move network-msg-processing code out of main to its own file
8 years ago