This adds a new task to the processor to run the cleanups periodically. For now only the obsolete orphans are cleaned up, i.e. orphans that have been registered for 30 minutes or more and did not make it into the valid poolcleanup method to the peer manager for removing the inactive proofs.
More cleanups will be added to this taskFor now only the obsolete orphans are cleaned up, i.e. orphans that have been registered for 30 minutes or more and did not make it into the valid pool.
Since it is trivial to fill the orphan pool with garbage, this is a best effort attempt to recover from such a bad state should it happen.
More cleanups will be added later.
Depends on D11630 and D11636.