xrpld
Toggle main menu visibility
Loading...
Searching...
No Matches
xrpld
app
ledger
BuildLedger.h
1
#pragma once
2
3
#include <xrpl/basics/chrono.h>
4
#include <xrpl/beast/utility/Journal.h>
5
#include <xrpl/ledger/ApplyView.h>
6
#include <xrpl/protocol/Protocol.h>
7
8
#include <
memory
>
9
#include <
set
>
10
11
namespace
xrpl
{
12
13
class
Application
;
14
class
CanonicalTXSet
;
15
class
Ledger
;
16
class
LedgerReplay
;
17
class
SHAMap
;
18
36
std::shared_ptr<Ledger>
37
buildLedger
(
38
std::shared_ptr<Ledger const>
const
& parent,
39
NetClock::time_point
closeTime,
40
bool
const
closeTimeCorrect,
41
NetClock::duration
closeResolution,
42
Application
& app,
43
CanonicalTXSet
& txns,
44
std::set<TxID>& failedTxs,
45
beast::Journal j);
46
58
std::shared_ptr<Ledger>
59
buildLedger
(
60
LedgerReplay
const
& replayData,
61
ApplyFlags
applyFlags,
62
Application
& app,
63
beast::Journal j);
64
65
}
// namespace xrpl
xrpl::Application
Definition
Application.h:94
xrpl::CanonicalTXSet
Holds transactions which were deferred to the next pass of consensus.
Definition
CanonicalTXSet.h:25
xrpl::LedgerReplay
Definition
LedgerReplay.h:15
xrpl::Ledger
Holds a ledger.
Definition
include/xrpl/ledger/Ledger.h:76
xrpl::NetClock::time_point
std::chrono::time_point< NetClock > time_point
Definition
chrono.h:48
xrpl::NetClock::duration
std::chrono::duration< rep, period > duration
Definition
chrono.h:47
xrpl::SHAMap
Definition
SHAMap.h:113
memory
xrpl
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition
algorithm.h:5
xrpl::buildLedger
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.
Definition
BuildLedger.cpp:176
xrpl::ApplyFlags
ApplyFlags
Definition
ApplyView.h:27
set
Generated by
1.17.0