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.
Declared in <wallet/wallet.h>
[[requires_capability(0x7fd7422a9468), requires_capability(0x7fd745ce0068), requires_capability(0x7fd73e2a2548), requires_capability(0x7fd73e4519e8), requires_capability(0x7fd739991a88)]]
bool
MigrateToSQLite(bilingual_str& error);
true if the database was migrated to SQLite.
| Name | Description |
|---|---|
| error | Set to an error message on failure. |