xrpld
Loading...
Searching...
No Matches
PermissionedDomainInvariant.h
1#pragma once
2
3#include <xrpl/beast/utility/Journal.h>
4#include <xrpl/ledger/ReadView.h>
5#include <xrpl/protocol/STLedgerEntry.h>
6#include <xrpl/protocol/STTx.h>
7#include <xrpl/protocol/TER.h>
8#include <xrpl/protocol/XRPAmount.h>
9
10#include <cstddef>
11#include <vector>
12
13namespace xrpl {
14
26{
27 struct SleStatus
28 {
30 bool isSorted = false;
31 bool isUnique = false;
32 bool isDelete = false;
33 };
35
36public:
37 void
39
40 bool
41 finalize(STTx const&, TER const, XRPAmount const, ReadView const&, beast::Journal const&);
42};
43
44} // namespace xrpl
A generic endpoint for log messages.
Definition Journal.h:44
A view into a ledger.
Definition ReadView.h:41
std::shared_ptr< STLedgerEntry const > const & const_ref
Invariants: Permissioned Domains must have some rules and AcceptedCredentials must have length betwee...
bool finalize(STTx const &, TER const, XRPAmount const, ReadView const &, beast::Journal const &)
void visitEntry(bool, SLE::const_ref, SLE::const_ref)
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:5
TERSubset< CanCvtToTER > TER
Definition TER.h:647