pub fn check_and_delete_old_state_databases(
    config: &Config,
    network: &Network
) -> JoinHandle<()>
Expand description

Spawns a task that checks if there are old state database folders, and deletes them from the filesystem.

See check_and_delete_old_databases() for details.