Crate kaspa_database
source ·Modules§
Macros§
- Creates a DB within the provided directory path. Callers must keep the
TempDbLifetimeguard for as long as they wish the DB instance to exist. - Creates a DB within a temp directory under
<OS SPECIFIC TEMP DIR>/kaspa-rustCallers must keep theTempDbLifetimeguard for as long as they wish the DB to exist. - Loads an existing DB from the provided directory path. Callers must keep the
TempDbLifetimeguard for as long as they wish the DB instance to exist.