1#ifndef XRPL_APP_RDB_PEERFINDER_H_INCLUDED 
    2#define XRPL_APP_RDB_PEERFINDER_H_INCLUDED 
    4#include <xrpld/core/Config.h> 
    5#include <xrpld/core/DatabaseCon.h> 
    6#include <xrpld/peerfinder/detail/Store.h> 
   18    soci::session& session,
 
   19    BasicConfig 
const& config,
 
   30    soci::session& session,
 
   31    int currentSchemaVersion,
 
   42    soci::session& session,
 
   52    soci::session& session,
 
A generic endpoint for log messages.
 
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
 
void readPeerFinderDB(soci::session &session, std::function< void(std::string const &, int)> const &func)
readPeerFinderDB Reads all entries from the peer finder database and invokes the given callback for e...
 
void updatePeerFinderDB(soci::session &session, int currentSchemaVersion, beast::Journal j)
updatePeerFinderDB Updates the peer finder database to a new version.
 
void initPeerFinderDB(soci::session &session, BasicConfig const &config, beast::Journal j)
initPeerFinderDB Opens a session with the peer finder database.
 
void savePeerFinderDB(soci::session &session, std::vector< PeerFinder::Store::Entry > const &v)
savePeerFinderDB Saves a new entry to the peer finder database.