20#ifndef RIPPLE_APP_RDB_STATE_H_INCLUDED
21#define RIPPLE_APP_RDB_STATE_H_INCLUDED
23#include <xrpld/app/ledger/Ledger.h>
24#include <xrpld/app/misc/Manifest.h>
25#include <xrpld/core/Config.h>
26#include <xrpld/core/DatabaseCon.h>
27#include <xrpld/peerfinder/detail/Store.h>
29#include <boost/filesystem.hpp>
48 soci::session& session,
Holds unparsed configuration information.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
LedgerIndex getCanDelete(soci::session &session)
getCanDelete Returns the ledger sequence which can be deleted.
SavedState getSavedState(soci::session &session)
getSavedState Returns the saved state.
void setSavedState(soci::session &session, SavedState const &state)
setSavedState Saves the given state.
void initStateDB(soci::session &session, BasicConfig const &config, std::string const &dbName)
initStateDB Opens a session with the State database.
LedgerIndex setCanDelete(soci::session &session, LedgerIndex canDelete)
setCanDelete Updates the ledger sequence which can be deleted.
void setLastRotated(soci::session &session, LedgerIndex seq)
setLastRotated Updates the last rotated ledger sequence.