Skip to content
Bitcoin Roots

v29.4-roots.1 · Commit 9: [PATCH 09/13] fix: complete reconstructed runtime integration

src/init.cpp

Before: src/init.cpp · After: src/init.cpp

File metadata
index eb95fea118afa7242001520a258e0258e9c5998a..b29d357ffb9128d14fe4b2076842eadc2a5901e0 100644

Download original patch · Release notes

Diff rows 1–7 of 7. 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/init.cpp CHANGED
@@ -2023,6 +2023,7 @@ bool AppInitMain(NodeContext& node, interfaces::BlockAndHeaderTipInfo* tip_info)
2023
  connOptions.m_peer_connect_timeout = peer_connect_timeout;
2024
  connOptions.whitelist_forcerelay = args.GetBoolArg("-whitelistforcerelay", DEFAULT_WHITELISTFORCERELAY);
2025
  connOptions.whitelist_relay = args.GetBoolArg("-whitelistrelay", DEFAULT_WHITELISTRELAY);
 
2026
  connOptions.disable_v1conn_clearnet = args.GetBoolArg("-v2onlyclearnet", false);
2027
 
2028
  // Port to bind to if `-bind=addr` is provided without a `:port` suffix.
 
2023
  connOptions.m_peer_connect_timeout = peer_connect_timeout;
2024
  connOptions.whitelist_forcerelay = args.GetBoolArg("-whitelistforcerelay", DEFAULT_WHITELISTFORCERELAY);
2025
  connOptions.whitelist_relay = args.GetBoolArg("-whitelistrelay", DEFAULT_WHITELISTRELAY);
2026
+ connOptions.m_capture_messages = args.GetBoolArg("-capturemessages", false);
2027
  connOptions.disable_v1conn_clearnet = args.GetBoolArg("-v2onlyclearnet", false);
2028
 
2029
  // Port to bind to if `-bind=addr` is provided without a `:port` suffix.