mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-23 15:10:34 +00:00
18 lines
434 B
C++
18 lines
434 B
C++
#pragma once
|
|
|
|
#include <xrpl/beast/utility/Journal.h>
|
|
#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
|