Skip to content
Bitcoin Roots

v29.4-roots.4 · Commit 3: [PATCH 03/37] policy: restore conservative relay and network controls

src/test/fuzz/p2p_headers_presync.cpp

Before: src/test/fuzz/p2p_headers_presync.cpp · After: src/test/fuzz/p2p_headers_presync.cpp

File metadata
index ed7041ad1f1ad3748b8c5437081996f87ae7175c..d4cdc384bb0d7ff9e9fa5ec9403866a7278d0f4d 100644

Download original patch · Release notes

Diff rows 1–8 of 8. Line numbers refer to the original before/after files.

+ Added− RemovedUnmarked lines are context.

Scroll the code area horizontally to read long lines. Before is on the left; after is on the right. Unified view fits narrow screens more easily.

src/test/fuzz/p2p_headers_presync.cpp CHANGED
@@ -60,7 +60,7 @@ void HeadersSyncSetup::ResetAndInitialize()
60
 
61
  for (auto conn_type : conn_types) {
62
  CAddress addr{};
63
- m_connections.push_back(new CNode(id++, nullptr, addr, 0, 0, addr, "", conn_type, false));
64
  CNode& p2p_node = *m_connections.back();
65
 
66
  connman.Handshake(
 
60
 
61
  for (auto conn_type : conn_types) {
62
  CAddress addr{};
63
+ m_connections.push_back(new CNode(id++, nullptr, addr, 0, 0, addr, "", conn_type, false, 0));
64
  CNode& p2p_node = *m_connections.back();
65
 
66
  connman.Handshake(