Add database timeout exception. clear out incomplete cassandra data. add ledger_entry rpc

This commit is contained in:
CJ Cobb
2021-03-12 16:37:27 -05:00
parent d2f0537f02
commit 4609010967
8 changed files with 239 additions and 74 deletions

View File

@@ -12,10 +12,11 @@ private:
mutable std::stringstream transactionsBuffer_;
mutable std::stringstream booksBuffer_;
mutable std::stringstream accountTxBuffer_;
mutable ripple::LedgerInfo ledgerHeader_;
std::shared_ptr<PgPool> pgPool_;
mutable PgQuery writeConnection_;
mutable bool abortWrite_ = false;
public:
std::shared_ptr<PgPool> pgPool_;
PostgresBackend(boost::json::object const& config);
std::optional<uint32_t>