|
rippled
|
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, 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 &) |
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 271 of file InvariantCheck.h.
| void xrpl::NoDeepFreezeTrustLinesWithoutFreeze::visitEntry | ( | bool | , |
| std::shared_ptr< SLE const > const & | , | ||
| std::shared_ptr< SLE const > const & | after | ||
| ) |
Definition at line 695 of file InvariantCheck.cpp.
| bool xrpl::NoDeepFreezeTrustLinesWithoutFreeze::finalize | ( | STTx const & | , |
| TER const | , | ||
| XRPAmount const | , | ||
| ReadView const & | , | ||
| beast::Journal const & | j | ||
| ) |
Definition at line 715 of file InvariantCheck.cpp.
|
private |
Definition at line 273 of file InvariantCheck.h.