@@ -14,7 +14,6 @@ struct ValidationInterfaceConnections {
1414 boost::signals2::scoped_connection TransactionAddedToMempool;
1515 boost::signals2::scoped_connection BlockConnected;
1616 boost::signals2::scoped_connection BlockDisconnected;
17- boost::signals2::scoped_connection NotifyTransactionLock;
1817 boost::signals2::scoped_connection SetBestChain;
1918 boost::signals2::scoped_connection Broadcast;
2019 boost::signals2::scoped_connection BlockChecked;
@@ -33,8 +32,6 @@ struct MainSignalsInstance {
3332 boost::signals2::signal<void (const std::shared_ptr<const CBlock> &, const CBlockIndex *pindex, const std::vector<CTransactionRef> &)> BlockConnected;
3433 /* * Notifies listeners of a block being disconnected */
3534 boost::signals2::signal<void (const std::shared_ptr<const CBlock> &, int nBlockHeight)> BlockDisconnected;
36- /* * Notifies listeners of an updated transaction lock without new data. */
37- boost::signals2::signal<void (const CTransaction &)> NotifyTransactionLock;
3835 /* * Notifies listeners of a new active block chain. */
3936 boost::signals2::signal<void (const CBlockLocator &)> SetBestChain;
4037 /* * Tells listeners to broadcast their data. */
@@ -63,7 +60,6 @@ void RegisterValidationInterface(CValidationInterface* pwalletIn)
6360 conns.TransactionAddedToMempool = g_signals.m_internals ->TransactionAddedToMempool .connect (std::bind (&CValidationInterface::TransactionAddedToMempool, pwalletIn, std::placeholders::_1));
6461 conns.BlockConnected = g_signals.m_internals ->BlockConnected .connect (std::bind (&CValidationInterface::BlockConnected, pwalletIn, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3));
6562 conns.BlockDisconnected = g_signals.m_internals ->BlockDisconnected .connect (std::bind (&CValidationInterface::BlockDisconnected, pwalletIn, std::placeholders::_1, std::placeholders::_2));
66- conns.NotifyTransactionLock = g_signals.m_internals ->NotifyTransactionLock .connect (std::bind (&CValidationInterface::NotifyTransactionLock, pwalletIn, std::placeholders::_1));
6763 conns.SetBestChain = g_signals.m_internals ->SetBestChain .connect (std::bind (&CValidationInterface::SetBestChain, pwalletIn, std::placeholders::_1));
6864 conns.Broadcast = g_signals.m_internals ->Broadcast .connect (std::bind (&CValidationInterface::ResendWalletTransactions, pwalletIn, std::placeholders::_1));
6965 conns.BlockChecked = g_signals.m_internals ->BlockChecked .connect (std::bind (&CValidationInterface::BlockChecked, pwalletIn, std::placeholders::_1, std::placeholders::_2));
@@ -100,10 +96,6 @@ void CMainSignals::BlockDisconnected(const std::shared_ptr<const CBlock> &block,
10096 m_internals->BlockDisconnected (block, nBlockHeight);
10197}
10298
103- void CMainSignals::NotifyTransactionLock (const CTransaction& tx) {
104- m_internals->NotifyTransactionLock (tx);
105- }
106-
10799void CMainSignals::SetBestChain (const CBlockLocator& locator) {
108100 m_internals->SetBestChain (locator);
109101}
0 commit comments