There are three methods in the mining interface that can be dropped. The Template Provider doesn’t need them and other application should probably not use them either.
processNewBlock()
was added in 7b4d3249ced93ec5986500e43b324005ed89502f, but became unnecessary with the introduction of interfaces::BlockTemplate::submitSolution in 7b4d3249ced93ec5986500e43b324005ed89502f.
Dropping it was suggested in #30200 (comment)
-
getTransactionsUpdated()
: this is used in the implementation of #31003waitFeesChanged
. It’s not very useful generically because the mempool updates very frequently. -
testBlockValidity()
: it might be useful for mining application to have a way to check the validity of a block template they modified, but the Stratum v2 Template Provider doesn’t do that, and this method is a bit brittle (e.g. the block needs to build on the tip).