|
rippled
|
Invariants: Some fields are unmodifiable. 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 | |
| std::set< std::pair< SLE::const_pointer, SLE::const_pointer > > | changedEntries_ |
Invariants: Some fields are unmodifiable.
Check that any fields specified as unmodifiable are not modified when the object is modified. Creation and deletion are ignored.
Definition at line 546 of file InvariantCheck.h.
| void xrpl::NoModifiedUnmodifiableFields::visitEntry | ( | bool | isDelete, |
| std::shared_ptr< SLE const > const & | before, | ||
| std::shared_ptr< SLE const > const & | after | ||
| ) |
Definition at line 2085 of file InvariantCheck.cpp.
| bool xrpl::NoModifiedUnmodifiableFields::finalize | ( | STTx const & | tx, |
| TER const | , | ||
| XRPAmount const | , | ||
| ReadView const & | view, | ||
| beast::Journal const & | j | ||
| ) |
Definition at line 2098 of file InvariantCheck.cpp.
|
private |
Definition at line 549 of file InvariantCheck.h.