Commit Graph

121 Commits (b884ababc29ce963826d8a4327ed6a5e629ff175)

Author SHA1 Message Date
Amiti Uttarwar dd8f7f2500 scripted-diff: Rename CAddrMan to AddrMan
3 years ago
MarcoFalke 5b2d8661c9
Merge bitcoin/bitcoin#22577: Close minor startup race between main and scheduler threads
3 years ago
Larry Ruane 703b1e612a Close minor startup race between main and scheduler threads
3 years ago
Amiti Uttarwar 3893da06db [RPC] Add field to getpeerinfo to indicate if addr relay is enabled
3 years ago
Pieter Wuille f424d601e1 Add logging and addr rate limiting statistics
3 years ago
John Newbery 39e19713cd [net processing] Add internal _RelayTransactions()
4 years ago
MarcoFalke faabeb854a
refactor: Mark member functions const
4 years ago
John Newbery 392a95d393 [net_processing] Keep addrman reference in PeerManager
4 years ago
fanquake e057e01b7b
Merge #21162: Net Processing: Move RelayTransaction() into PeerManager
4 years ago
fanquake 33921379b6
Merge #21015: Make all of net_processing (and some of net) use std::chrono types
4 years ago
John Newbery 680eb56d82 [net processing] Don't pass CConnman to RelayTransactions
4 years ago
John Newbery a38a4e8f03 [net processing] Move RelayTransaction into PeerManager
4 years ago
Pieter Wuille 4d98b401fb Change all ping times to std::chrono types
4 years ago
Anthony Towns 9d5313df7e move-only: Add txorphanage module
4 years ago
John Newbery 45dcf22661 [net processing] Move ping data fields to net processing
4 years ago
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