[WIP] chain_validator: Refactorization for the new mempool
This MR is extracted from !968 (closed) and is mostly a refactorization of the chain_validator with some change in the vocabulary.
Mostly the refactorization is about the use of the lib_worker
library. Moreover, we have also added a request which is not used now but will be used by the new mempool (notify_mempool
).
Moreover, we have changing the name prevalidator
to mempool_validator
according to !968 (closed) but currently we keep the prevalidator
module as it is.