mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Remove processNewBlock() from mining interface
processNewBlock was added in7b4d3249ce, but became unnecessary with the introduction of interfaces::BlockTemplate::submitSolution in7b4d3249ce. getTransactionsUpdated() is only needed by the implementation of waitFeesChanged() (not yet part of the interface).
This commit is contained in:
parent
9a47852d88
commit
c991cea1a0
4 changed files with 5 additions and 23 deletions
|
|
@ -979,11 +979,6 @@ public:
|
|||
return BlockRef{chainman().ActiveChain().Tip()->GetBlockHash(), chainman().ActiveChain().Tip()->nHeight};
|
||||
}
|
||||
|
||||
bool processNewBlock(const std::shared_ptr<const CBlock>& block, bool* new_block) override
|
||||
{
|
||||
return chainman().ProcessNewBlock(block, /*force_processing=*/true, /*min_pow_checked=*/true, /*new_block=*/new_block);
|
||||
}
|
||||
|
||||
std::unique_ptr<BlockTemplate> createNewBlock(const BlockCreateOptions& options) override
|
||||
{
|
||||
BlockAssembler::Options assemble_options{options};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue