|
|
@ -1827,7 +1827,7 @@ bool AppInitMain(NodeContext& node, interfaces::BlockAndHeaderTipInfo* tip_info)
|
|
|
|
if (node.peerman) node.peerman->SetBestBlock(chain_active_height, std::chrono::seconds{best_block_time});
|
|
|
|
if (node.peerman) node.peerman->SetBestBlock(chain_active_height, std::chrono::seconds{best_block_time});
|
|
|
|
|
|
|
|
|
|
|
|
// Map ports with NAT-PMP
|
|
|
|
// Map ports with NAT-PMP
|
|
|
|
StartMapPort(false, args.GetBoolArg("-natpmp", DEFAULT_NATPMP));
|
|
|
|
StartMapPort(args.GetBoolArg("-natpmp", DEFAULT_NATPMP));
|
|
|
|
|
|
|
|
|
|
|
|
CConnman::Options connOptions;
|
|
|
|
CConnman::Options connOptions;
|
|
|
|
connOptions.m_local_services = g_local_services;
|
|
|
|
connOptions.m_local_services = g_local_services;
|
|
|
|