Move all records from the BDB database to a new SQLite database for storage. The original BDB file will be deleted and replaced with a new SQLite file. A backup is not created. May crash if something unexpected happens in the filesystem.

Synopsis

Declared in <wallet/wallet.h>

[[requires_capability(0x7fbc76bff5f8), requires_capability(0x7fbc81b78fb8), requires_capability(0x7fbc7e016e38), requires_capability(0x7fbc7e2462e8), requires_capability(0x7fbc8e716f28)]]
bool
MigrateToSQLite(bilingual_str& error);

Return Value

true if the database was migrated to SQLite.

Parameters

Name

Description

error

Set to an error message on failure.

Created with MrDocs