rpc: getTransactionsUpdated via miner interface

This commit is contained in:
Sjors Provoost committed 2024-06-18 18:47:52 +02:00
1 parent 64ebb0f971
commit 9e228351e7
3 files changed
+12 -4

No files matched your search

+5
View File
@@ -855,6 +855,11 @@ public:
return tip->GetBlockHash();
}
unsigned int getTransactionsUpdated() override
{
return context()->mempool->GetTransactionsUpdated();
}
bool testBlockValidity(BlockValidationState& state, const CBlock& block, bool check_merkle_root) override
{
LOCK(::cs_main);