@@ -1542,7 +1542,7 @@ bool AcceptToMemoryPoolWorker(CTxMemPool& pool, CValidationState& state, const C
1542
1542
}
1543
1543
}
1544
1544
1545
- SyncWithWallets ( tx, NULL );
1545
+ GetMainSignals (). SyncTransaction ( tx, NULL , CMainSignals::SYNC_TRANSACTION_NOT_IN_BLOCK );
1546
1546
1547
1547
return true ;
1548
1548
}
@@ -2775,7 +2775,7 @@ bool static DisconnectTip(CValidationState& state, const CChainParams& chainpara
2775
2775
// Let wallets know transactions went from 1-confirmed to
2776
2776
// 0-confirmed or conflicted:
2777
2777
BOOST_FOREACH (const CTransaction &tx, block.vtx ) {
2778
- SyncWithWallets ( tx, pindexDelete->pprev );
2778
+ GetMainSignals (). SyncTransaction ( tx, pindexDelete->pprev , CMainSignals::SYNC_TRANSACTION_NOT_IN_BLOCK );
2779
2779
}
2780
2780
return true ;
2781
2781
}
@@ -3059,11 +3059,11 @@ bool ActivateBestChain(CValidationState &state, const CChainParams& chainparams,
3059
3059
// while _not_ holding the cs_main lock
3060
3060
BOOST_FOREACH (const CTransaction &tx, txConflicted)
3061
3061
{
3062
- SyncWithWallets ( tx, pindexNewTip);
3062
+ GetMainSignals (). SyncTransaction ( tx, pindexNewTip, CMainSignals::SYNC_TRANSACTION_NOT_IN_BLOCK );
3063
3063
}
3064
3064
// ... and about transactions that got confirmed:
3065
3065
for (unsigned int i = 0 ; i < txChanged.size (); i++)
3066
- SyncWithWallets (std::get<0 >(txChanged[i]), std::get<1 >(txChanged[i]), std::get<2 >(txChanged[i]));
3066
+ GetMainSignals (). SyncTransaction (std::get<0 >(txChanged[i]), std::get<1 >(txChanged[i]), std::get<2 >(txChanged[i]));
3067
3067
3068
3068
// Notify external listeners about the new tip.
3069
3069
GetMainSignals ().UpdatedBlockTip (pindexNewTip, pindexFork, fInitialDownload );
0 commit comments