mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-13 12:33:42 +02:00
rpc: getTransactionsUpdated via miner interface
This commit is contained in:
parent
64ebb0f971
commit
9e228351e7
3 changed files with 12 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue