MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / Rewrite

Method Rewrite

src/wallet/sqlite.cpp:346–351  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

344}
345
346bool SQLiteDatabase::Rewrite()
347{
348 // Rewrite the database using the VACUUM command: https://sqlite.org/lang_vacuum.html
349 int ret = sqlite3_exec(m_db, "VACUUM", nullptr, nullptr, nullptr);
350 return ret == SQLITE_OK;
351}
352
353bool SQLiteDatabase::Backup(const std::string& dest) const
354{

Callers 1

EncryptWalletMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected