mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-07 18:56:47 +00:00
20 lines
467 B
C++
20 lines
467 B
C++
#ifndef XRPL_APP_RDB_VACUUM_H_INCLUDED
|
|
#define XRPL_APP_RDB_VACUUM_H_INCLUDED
|
|
|
|
#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
|
|
|
|
#endif
|