@@ -13,6 +13,7 @@ CMainSignals& GetMainSignals()
13
13
}
14
14
15
15
void RegisterValidationInterface (CValidationInterface* pwalletIn) {
16
+ g_signals.UpdatedBlockTip .connect (boost::bind (&CValidationInterface::UpdatedBlockTip, pwalletIn, _1));
16
17
g_signals.SyncTransaction .connect (boost::bind (&CValidationInterface::SyncTransaction, pwalletIn, _1, _2));
17
18
g_signals.UpdatedTransaction .connect (boost::bind (&CValidationInterface::UpdatedTransaction, pwalletIn, _1));
18
19
g_signals.SetBestChain .connect (boost::bind (&CValidationInterface::SetBestChain, pwalletIn, _1));
@@ -32,6 +33,7 @@ void UnregisterValidationInterface(CValidationInterface* pwalletIn) {
32
33
g_signals.SetBestChain .disconnect (boost::bind (&CValidationInterface::SetBestChain, pwalletIn, _1));
33
34
g_signals.UpdatedTransaction .disconnect (boost::bind (&CValidationInterface::UpdatedTransaction, pwalletIn, _1));
34
35
g_signals.SyncTransaction .disconnect (boost::bind (&CValidationInterface::SyncTransaction, pwalletIn, _1, _2));
36
+ g_signals.UpdatedBlockTip .disconnect (boost::bind (&CValidationInterface::UpdatedBlockTip, pwalletIn, _1));
35
37
}
36
38
37
39
void UnregisterAllValidationInterfaces () {
@@ -43,6 +45,8 @@ void UnregisterAllValidationInterfaces() {
43
45
g_signals.SetBestChain .disconnect_all_slots ();
44
46
g_signals.UpdatedTransaction .disconnect_all_slots ();
45
47
g_signals.SyncTransaction .disconnect_all_slots ();
48
+ g_signals.UpdatedTransaction .disconnect_all_slots ();
49
+ g_signals.UpdatedBlockTip .disconnect_all_slots ();
46
50
}
47
51
48
52
void SyncWithWallets (const CTransaction &tx, const CBlock *pblock) {
0 commit comments