@@ -1304,8 +1304,8 @@ void CConnman::NotifyNumConnectionsChanged()
1304
1304
}
1305
1305
if (vNodesSize != nPrevNodeCount) {
1306
1306
nPrevNodeCount = vNodesSize;
1307
- if (clientInterface ) {
1308
- clientInterface ->NotifyNumConnectionsChanged (vNodesSize);
1307
+ if (m_client_interface ) {
1308
+ m_client_interface ->NotifyNumConnectionsChanged (vNodesSize);
1309
1309
}
1310
1310
}
1311
1311
}
@@ -2449,8 +2449,8 @@ void CConnman::SetNetworkActive(bool active)
2449
2449
2450
2450
fNetworkActive = active;
2451
2451
2452
- if (clientInterface ) {
2453
- clientInterface ->NotifyNetworkActiveChanged (fNetworkActive );
2452
+ if (m_client_interface ) {
2453
+ m_client_interface ->NotifyNetworkActiveChanged (fNetworkActive );
2454
2454
}
2455
2455
}
2456
2456
@@ -2476,8 +2476,8 @@ bool CConnman::Bind(const CService &addr, unsigned int flags, NetPermissionFlags
2476
2476
}
2477
2477
bilingual_str strError;
2478
2478
if (!BindListenPort (addr, strError, permissions)) {
2479
- if ((flags & BF_REPORT_ERROR) && clientInterface ) {
2480
- clientInterface ->ThreadSafeMessageBox (strError, " " , CClientUIInterface::MSG_ERROR);
2479
+ if ((flags & BF_REPORT_ERROR) && m_client_interface ) {
2480
+ m_client_interface ->ThreadSafeMessageBox (strError, " " , CClientUIInterface::MSG_ERROR);
2481
2481
}
2482
2482
return false ;
2483
2483
}
@@ -2516,8 +2516,8 @@ bool CConnman::Start(CScheduler& scheduler, const Options& connOptions)
2516
2516
Init (connOptions);
2517
2517
2518
2518
if (fListen && !InitBinds (connOptions)) {
2519
- if (clientInterface ) {
2520
- clientInterface ->ThreadSafeMessageBox (
2519
+ if (m_client_interface ) {
2520
+ m_client_interface ->ThreadSafeMessageBox (
2521
2521
_ (" Failed to listen on any port. Use -listen=0 if you want this." ),
2522
2522
" " , CClientUIInterface::MSG_ERROR);
2523
2523
}
@@ -2534,8 +2534,8 @@ bool CConnman::Start(CScheduler& scheduler, const Options& connOptions)
2534
2534
AddAddrFetch (strDest);
2535
2535
}
2536
2536
2537
- if (clientInterface ) {
2538
- clientInterface ->InitMessage (_ (" Loading P2P addresses…" ).translated );
2537
+ if (m_client_interface ) {
2538
+ m_client_interface ->InitMessage (_ (" Loading P2P addresses…" ).translated );
2539
2539
}
2540
2540
// Load addresses from peers.dat
2541
2541
int64_t nStart = GetTimeMillis ();
@@ -2559,8 +2559,8 @@ bool CConnman::Start(CScheduler& scheduler, const Options& connOptions)
2559
2559
LogPrintf (" %i block-relay-only anchors will be tried for connections.\n " , m_anchors.size ());
2560
2560
}
2561
2561
2562
- if (clientInterface ) {
2563
- clientInterface ->InitMessage (_ (" Starting network threads…" ).translated );
2562
+ if (m_client_interface ) {
2563
+ m_client_interface ->InitMessage (_ (" Starting network threads…" ).translated );
2564
2564
}
2565
2565
2566
2566
fAddressesInitialized = true ;
@@ -2599,8 +2599,8 @@ bool CConnman::Start(CScheduler& scheduler, const Options& connOptions)
2599
2599
threadOpenAddedConnections = std::thread (&util::TraceThread, " addcon" , [this ] { ThreadOpenAddedConnections (); });
2600
2600
2601
2601
if (connOptions.m_use_addrman_outgoing && !connOptions.m_specified_outgoing .empty ()) {
2602
- if (clientInterface ) {
2603
- clientInterface ->ThreadSafeMessageBox (
2602
+ if (m_client_interface ) {
2603
+ m_client_interface ->ThreadSafeMessageBox (
2604
2604
_ (" Cannot provide specific connections and have addrman find outgoing connections at the same." ),
2605
2605
" " , CClientUIInterface::MSG_ERROR);
2606
2606
}
0 commit comments