Skip to content
Bitcoin Roots

v29.4-roots.3 · Commit 3: [PATCH 03/30] 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. The two line-number columns refer to before and after.

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