lib_shell/chain_validator: Use asynchronous requests
Context
The chain validator registers some callbacks functions to the distributed database. These callbacks are in the lwt monads and therefore a use of dont_wait
is necessary to execute them in an asynchronous way. This mechanism already exist thanks to the Worker
library which we use here. Hence it is only a refactorisation modulo some events.
Edited by François Thiré