rippled
Loading...
Searching...
No Matches
BuildLedger.h
1#ifndef XRPL_APP_LEDGER_BUILD_LEDGER_H_INCLUDED
2#define XRPL_APP_LEDGER_BUILD_LEDGER_H_INCLUDED
3
4#include <xrpl/basics/chrono.h>
5#include <xrpl/beast/utility/Journal.h>
6#include <xrpl/ledger/ApplyView.h>
7
8namespace ripple {
9
10class Application;
11class CanonicalTXSet;
12class Ledger;
13class LedgerReplay;
14class SHAMap;
15
35 NetClock::time_point closeTime,
36 bool const closeTimeCorrect,
37 NetClock::duration closeResolution,
38 Application& app,
39 CanonicalTXSet& txns,
40 std::set<TxID>& failedTxs,
42
55 LedgerReplay const& replayData,
56 ApplyFlags applyFlags,
57 Application& app,
59
60} // namespace ripple
61#endif
A generic endpoint for log messages.
Definition Journal.h:41
std::chrono::time_point< NetClock > time_point
Definition chrono.h:50
std::chrono::duration< rep, period > duration
Definition chrono.h:49
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:6
std::shared_ptr< Ledger > buildLedger(std::shared_ptr< Ledger const > const &parent, NetClock::time_point closeTime, bool const closeTimeCorrect, NetClock::duration closeResolution, Application &app, CanonicalTXSet &txns, std::set< TxID > &failedTxs, beast::Journal j)
Build a new ledger by applying consensus transactions.