diff --git a/src/interfaces/chain.h b/src/interfaces/chain.h index ea5fe712abf0d..a9b42bcaa4c58 100644 --- a/src/interfaces/chain.h +++ b/src/interfaces/chain.h @@ -133,9 +133,6 @@ class Chain //! or one of its ancestors. virtual std::optional findLocatorFork(const CBlockLocator& locator) = 0; - //! Check if transaction will be final given chain height current time. - virtual bool checkFinalTx(const CTransaction& tx) = 0; - //! Check if transaction is locked by InstantSendManager virtual bool isInstantSendLockedTx(const uint256& hash) = 0; diff --git a/src/interfaces/wallet.h b/src/interfaces/wallet.h index 06ff08caf83f7..a5112918d7512 100644 --- a/src/interfaces/wallet.h +++ b/src/interfaces/wallet.h @@ -424,7 +424,6 @@ struct WalletTxStatus int depth_in_main_chain; unsigned int time_received; uint32_t lock_time; - bool is_final; bool is_trusted; bool is_abandoned; bool is_coinbase; diff --git a/src/node/interfaces.cpp b/src/node/interfaces.cpp index d680ab8488952..7856dc99461d0 100644 --- a/src/node/interfaces.cpp +++ b/src/node/interfaces.cpp @@ -764,11 +764,6 @@ class ChainImpl : public Chain } return std::nullopt; } - bool checkFinalTx(const CTransaction& tx) override - { - LOCK(cs_main); - return CheckFinalTx(m_node.chainman->ActiveChain().Tip(), tx); - } bool isInstantSendLockedTx(const uint256& hash) override { if (m_node.llmq_ctx == nullptr || m_node.llmq_ctx->isman == nullptr) return false; diff --git a/src/qt/transactiondesc.cpp b/src/qt/transactiondesc.cpp index 2f90ca679faee..61af346a4f2d5 100644 --- a/src/qt/transactiondesc.cpp +++ b/src/qt/transactiondesc.cpp @@ -18,7 +18,6 @@ #include #include #include -#include