rippled
Loading...
Searching...
No Matches
PermissionedDEXInvariant.h
1#pragma once
2
3#include <xrpl/basics/base_uint.h>
4#include <xrpl/beast/utility/Journal.h>
5#include <xrpl/ledger/ReadView.h>
6#include <xrpl/protocol/STTx.h>
7#include <xrpl/protocol/TER.h>
8
9namespace xrpl {
10
12{
13 bool regularOffers_ = false;
14 bool badHybrids_ = false;
16
17public:
18 void
20
21 bool
22 finalize(STTx const&, TER const, XRPAmount const, ReadView const&, beast::Journal const&);
23};
24
25} // namespace xrpl
A generic endpoint for log messages.
Definition Journal.h:40
A view into a ledger.
Definition ReadView.h:31
void visitEntry(bool, std::shared_ptr< SLE const > const &, std::shared_ptr< SLE const > const &)
bool finalize(STTx const &, TER const, XRPAmount const, ReadView const &, beast::Journal const &)
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:5