simulate x ledgers at once

This commit is contained in:
CJ Cobb
2021-06-24 18:29:19 +00:00
parent efa0dd5478
commit 43374e55bd
3 changed files with 35 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
#include <functional>
#include <backend/CassandraBackend.h>
#include <backend/DBHelpers.h>
#include <functional>
#include <unordered_map>
/*
namespace std {
@@ -268,7 +268,9 @@ CassandraBackend::fetchAllTransactionHashesInLedger(
CassandraResult result = executeSyncRead(statement);
if (!result)
{
BOOST_LOG_TRIVIAL(error) << __func__ << " - no rows";
BOOST_LOG_TRIVIAL(error)
<< __func__
<< " - no rows . ledger = " << std::to_string(ledgerSequence);
return {};
}
std::vector<ripple::uint256> hashes;