virtual std::vector< uint256 > getTxHashes(LedgerIndex seq)=0
getTxHashes Returns a vector of the hashes of transactions belonging to the ledger with the provided ...
virtual std::string getCompleteLedgers()=0
getCompleteLedgers Returns a string which contains a list of completed ledgers.
virtual Transaction::Locator locateTransaction(uint256 const &id)=0
locateTransaction Returns information used to locate a transaction.
virtual std::pair< AccountTxResult, RPC::Status > getAccountTx(AccountTxArgs const &args)=0
getAccountTx Get the last account transactions specified by the AccountTxArgs struct.
virtual std::chrono::seconds getValidatedLedgerAge()=0
getValidatedLedgerAge Returns the age of the last validated ledger.
virtual void sweep()=0
sweep Sweeps the database.
virtual bool writeLedgerAndTransactions(LedgerInfo const &info, std::vector< AccountTransactionsData > const &accountTxData)=0
writeLedgerAndTransactions Writes new ledger and transaction data into the database.
virtual bool isCaughtUp(std::string &reason)=0
isCaughtUp returns whether the database is caught up with the network