Remove getTransactionsUpdated() from mining interface

It's unnecessary to expose it via this interface.
This commit is contained in:
Sjors Provoost
2024-10-31 11:58:18 -07:00
parent bfc4e029d4
commit 9a47852d88
4 changed files with 4 additions and 13 deletions

View File

@@ -102,10 +102,6 @@ public:
*/
virtual bool processNewBlock(const std::shared_ptr<const CBlock>& block, bool* new_block) = 0;
//! Return the number of transaction updates in the mempool,
//! used to decide whether to make a new block template.
virtual unsigned int getTransactionsUpdated() = 0;
//! Get internal node context. Useful for RPC and testing,
//! but not accessible across processes.
virtual node::NodeContext* context() { return nullptr; }