|
|
|
@ -14,7 +14,6 @@ CMainSignals& GetMainSignals()
@@ -14,7 +14,6 @@ CMainSignals& GetMainSignals()
|
|
|
|
|
|
|
|
|
|
void RegisterValidationInterface(CValidationInterface* pwalletIn) { |
|
|
|
|
g_signals.SyncTransaction.connect(boost::bind(&CValidationInterface::SyncTransaction, pwalletIn, _1, _2)); |
|
|
|
|
g_signals.EraseTransaction.connect(boost::bind(&CValidationInterface::EraseFromWallet, pwalletIn, _1)); |
|
|
|
|
g_signals.UpdatedTransaction.connect(boost::bind(&CValidationInterface::UpdatedTransaction, pwalletIn, _1)); |
|
|
|
|
g_signals.SetBestChain.connect(boost::bind(&CValidationInterface::SetBestChain, pwalletIn, _1)); |
|
|
|
|
g_signals.Inventory.connect(boost::bind(&CValidationInterface::Inventory, pwalletIn, _1)); |
|
|
|
@ -28,7 +27,6 @@ void UnregisterValidationInterface(CValidationInterface* pwalletIn) {
@@ -28,7 +27,6 @@ void UnregisterValidationInterface(CValidationInterface* pwalletIn) {
|
|
|
|
|
g_signals.Inventory.disconnect(boost::bind(&CValidationInterface::Inventory, pwalletIn, _1)); |
|
|
|
|
g_signals.SetBestChain.disconnect(boost::bind(&CValidationInterface::SetBestChain, pwalletIn, _1)); |
|
|
|
|
g_signals.UpdatedTransaction.disconnect(boost::bind(&CValidationInterface::UpdatedTransaction, pwalletIn, _1)); |
|
|
|
|
g_signals.EraseTransaction.disconnect(boost::bind(&CValidationInterface::EraseFromWallet, pwalletIn, _1)); |
|
|
|
|
g_signals.SyncTransaction.disconnect(boost::bind(&CValidationInterface::SyncTransaction, pwalletIn, _1, _2)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -38,7 +36,6 @@ void UnregisterAllValidationInterfaces() {
@@ -38,7 +36,6 @@ void UnregisterAllValidationInterfaces() {
|
|
|
|
|
g_signals.Inventory.disconnect_all_slots(); |
|
|
|
|
g_signals.SetBestChain.disconnect_all_slots(); |
|
|
|
|
g_signals.UpdatedTransaction.disconnect_all_slots(); |
|
|
|
|
g_signals.EraseTransaction.disconnect_all_slots(); |
|
|
|
|
g_signals.SyncTransaction.disconnect_all_slots(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|