Crate kaspa_database

Source

Modules§

prelude
registry
utils

Macros§

create_permanent_db
Creates a DB within the provided directory path. Callers must keep the TempDbLifetime guard for as long as they wish the DB instance to exist.
create_temp_db
Creates a DB within a temp directory under <OS SPECIFIC TEMP DIR>/kaspa-rust Callers must keep the TempDbLifetime guard for as long as they wish the DB to exist.
load_existing_db
Loads an existing DB from the provided directory path. Callers must keep the TempDbLifetime guard for as long as they wish the DB instance to exist.