|
rippled
|
Invariants: Permissioned Domains must have some rules and AcceptedCredentials must have length between 1 and 10 inclusive. More...
#include <InvariantCheck.h>

Classes | |
| struct | SleStatus |
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::vector< SleStatus > | sleStatus_ |
Invariants: Permissioned Domains must have some rules and AcceptedCredentials must have length between 1 and 10 inclusive.
Since only permissions constitute rules, an empty credentials list means that there are no rules and the invariant is violated.
Credentials must be sorted and no duplicates allowed
Definition at line 447 of file InvariantCheck.h.
| void xrpl::ValidPermissionedDomain::visitEntry | ( | bool | isDel, |
| std::shared_ptr< SLE const > const & | before, | ||
| std::shared_ptr< SLE const > const & | after | ||
| ) |
Definition at line 1509 of file InvariantCheck.cpp.
| bool xrpl::ValidPermissionedDomain::finalize | ( | STTx const & | tx, |
| TER const | result, | ||
| XRPAmount const | , | ||
| ReadView const & | view, | ||
| beast::Journal const & | j | ||
| ) |
Definition at line 1545 of file InvariantCheck.cpp.
|
private |
Definition at line 456 of file InvariantCheck.h.