Commit Graph

106 Commits (dd2646d12c172cb8899669af717c590483a17404)

Author SHA1 Message Date
Anthony Towns c97f70c861 net_processing: move Peer definition to .cpp
4 years ago
Anthony Towns e0f2e6d2df net_processing: move PeerManagerImpl into cpp file
4 years ago
Anthony Towns a568b82feb net_processing: split PeerManager into interface and implementation classes
4 years ago
Anthony Towns 0df3d3fd6b net_processing: make more of PeerManager private
4 years ago
Anthony Towns 0d246a59b6 net, net_processing: move NetEventsInterface method docs to net.h
4 years ago
Ikko Ashimine 1112035d32
doc: fix various typos
4 years ago
MarcoFalke faaa4f2b6a
refactor: Remove nMyStartingHeight from CNode/Connman
4 years ago
Amiti Uttarwar 094c3beaa4 [rpc] Remove deprecated "banscore" field from getpeerinfo
4 years ago
John Newbery 3002b4af2b [net processing] Guard m_continuation_block with m_block_inv_mutex
4 years ago
John Newbery 184557e8e0 [net processing] Move hashContinue to net processing
4 years ago
John Newbery c853ef002e scripted-diff: rename vBlockHashesToAnnounce and vInventoryBlockToSend
4 years ago
John Newbery 53b7ac1b7d [net processing] Move block inventory data to Peer
4 years ago
John Newbery 78040f9168 [net processing] Rename nStartingHeight to m_starting_height
4 years ago
John Newbery 77a2c2f8f9 [net processing] Move nStartingHeight to Peer
4 years ago
John Newbery 717a374e74 [net processing] Improve documentation for Peer destruction/locking
4 years ago
Suhas Daftuar daffaf03fb Periodically make block-relay connections and sync headers
4 years ago
John Newbery 68334b3944 [net processing] Add m_ignores_incoming_txs to PeerManager and use internally
4 years ago
John Newbery f3f61d0eb9 [net processing] Add IgnoresIncomingTxs() function to PeerManager
4 years ago
John Newbery 5805b8299f [net processing] Move PushNodeVersion into PeerManager
4 years ago
John Newbery 3025ca9e77 [net processing] Add RemovePeer()
4 years ago
John Newbery a20ab22786 [net processing] Make GetPeerRef const
4 years ago
John Newbery ed7e469cee [net_processing] Move peer_map to PeerManager
4 years ago
John Newbery a529fd3e3f [net processing] Move GetNodeStateStats into PeerManager
4 years ago
Suhas Daftuar daf5553126 Avoid calling CAddrMan::Connected() on block-relay-only peer addresses
4 years ago
Pieter Wuille 242d16477d Change transaction request logic to use txrequest
4 years ago
MarcoFalke 7b7cb70f4c
Merge #19498: Tidy up ProcessOrphanTx
4 years ago
MarcoFalke fa7e407b50
Do not pass chain params to CheckForStaleTipAndEvictPeers twice
4 years ago
John Newbery 001343f4bc ProcessOrphanTx: Move AddToCompactExtraTransactions call into ProcessOrphanTx
4 years ago
John Newbery bb6a32ce99 [net processing] Move Misbehaving() to PeerManager
4 years ago
John Newbery aa114b1c9b [net_processing] Move SendBlockTransactions into PeerManager
4 years ago
John Newbery 3115e00f75 [net processing] Move MaybePunishPeerForTx to PeerManager
4 years ago
John Newbery e662e2d42a [net processing] Move ProcessOrphanTx to PeerManager
4 years ago
John Newbery b70cd890e3 [net processing] Move MaybePunishNodeForBlock into PeerManager
4 years ago
John Newbery d7778351bf [net processing] Move ProcessHeadersMessage to PeerManager
4 years ago
John Newbery 64f6162651 [whitespace] tidy up indentation after scripted diff
4 years ago
John Newbery 58bd369b0d scripted-diff: [net processing] Rename PeerLogicValidation to PeerManager
4 years ago
John Newbery 2297b26b3c [net_processing] Pass chainparams to PeerLogicValidation constructor
4 years ago
John Newbery 824bbd1ffb [move only] Collect all private members of PeerLogicValidation together
4 years ago
Wladimir J. van der Laan 1cf73fb8eb
Merge #19607: [p2p] Add Peer struct for per-peer data in net processing
4 years ago
John Newbery daed542a12 [net_processing] Move ProcessMessage to PeerLogicValidation
4 years ago
John Newbery c556770b5e [net_processing] Change PeerLogicValidation to hold a connman reference
4 years ago
John Newbery 8e35bf5906 scripted-diff: rename misbehavior members
4 years ago
Wladimir J. van der Laan 40a04814d1
Merge #19472: [net processing] Reduce cs_main scope in MaybeDiscourageAndDisconnect()
4 years ago
Suhas Daftuar ac88e2eb61 Add support for tx-relay via wtxid
4 years ago
John Newbery ca3585a483 [net/net processing] check banman pointer before dereferencing
4 years ago
Jon Atack 06059b0c2a
net: rename DEFAULT_BANSCORE_THRESHOLD to DISCOURAGEMENT_THRESHOLD
4 years ago
John Newbery a49781e56d [net processing] Only call MaybeDiscourageAndDisconnect from SendMessages
4 years ago
Pieter Wuille 2ad58381ff Clean up separated ban/discourage interface
4 years ago
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