|
xrpld
|
Invariant: Trust lines with deep freeze flag are not allowed if normal freeze flag is not set. More...
#include <InvariantCheck.h>
Public Member Functions | |
| void | visitEntry (bool, SLE::const_ref, SLE::const_ref) |
| bool | finalize (STTx const &, TER const, XRPAmount const, ReadView const &, beast::Journal const &) const |
Private Attributes | |
| bool | deepFreezeWithoutFreeze_ = false |
Invariant: Trust lines with deep freeze flag are not allowed if normal freeze flag is not set.
We iterate all the trust lines created by this transaction and ensure that they don't have deep freeze flag set without normal freeze flag set.
Definition at line 245 of file InvariantCheck.h.
| void xrpl::NoDeepFreezeTrustLinesWithoutFreeze::visitEntry | ( | bool | , |
| SLE::const_ref | , | ||
| SLE::const_ref | after ) |
Definition at line 644 of file InvariantCheck.cpp.
|
nodiscard |
Definition at line 669 of file InvariantCheck.cpp.
|
private |
Definition at line 247 of file InvariantCheck.h.