fedimint_testing_core::db

Function get_temp_database

Source
fn get_temp_database(
    db_prefix: &str,
    decoders: &ModuleDecoderRegistry,
) -> Result<(Database, TempDir)>
Expand description

Retrieves a temporary database from the database backup directory. The first folder that starts with db_prefix will return as a temporary database.