Crate kaspa_database

source

Modules§

Macros§

  • 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.
  • 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.
  • 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.