mirror of
https://github.com/XRPLF/rippled.git
synced 2026-03-30 16:42:30 +00:00
This change modularizes the `WalletDB` and `Manifest`. Note that the wallet db has nothing to do with account wallets and it stores node configuration, which is why it depends on the manifest code.
17 lines
394 B
C++
17 lines
394 B
C++
#pragma once
|
|
|
|
#include <xrpl/rdb/DatabaseCon.h>
|
|
|
|
namespace xrpl {
|
|
|
|
/**
|
|
* @brief doVacuumDB Creates, initialises, and performs cleanup on a database.
|
|
* @param setup Path to the database and other opening parameters.
|
|
* @param j Journal.
|
|
* @return True if the vacuum process completed successfully.
|
|
*/
|
|
bool
|
|
doVacuumDB(DatabaseCon::Setup const& setup, beast::Journal j);
|
|
|
|
} // namespace xrpl
|