|
xrpld
|
Invariants: Confidential MPToken consistency. More...
#include <MPTInvariant.h>

Classes | |
| struct | Changes |
Public Member Functions | |
| void | visitEntry (bool isDelete, std::shared_ptr< SLE const > const &before, std::shared_ptr< SLE const > const &after) |
| Track confidential MPT balance, issuance, and version changes. | |
| bool | finalize (STTx const &tx, TER const result, XRPAmount const fee, ReadView const &view, beast::Journal const &j) |
| Verify confidential MPT accounting and encrypted-field invariants. | |
Private Attributes | |
| std::map< uint192, Changes > | changes_ |
Invariants: Confidential MPToken consistency.
Definition at line 142 of file MPTInvariant.h.
| void xrpl::ValidConfidentialMPToken::visitEntry | ( | bool | isDelete, |
| std::shared_ptr< SLE const > const & | before, | ||
| std::shared_ptr< SLE const > const & | after ) |
Track confidential MPT balance, issuance, and version changes.
| isDelete | Whether the ledger entry is being deleted. |
| before | The ledger entry before transaction application. |
| after | The ledger entry after transaction application. |
Definition at line 519 of file MPTInvariant.cpp.
| bool xrpl::ValidConfidentialMPToken::finalize | ( | STTx const & | tx, |
| TER const | result, | ||
| XRPAmount const | fee, | ||
| ReadView const & | view, | ||
| beast::Journal const & | j ) |
Verify confidential MPT accounting and encrypted-field invariants.
| tx | The transaction being checked. |
| result | The transaction result code. |
| fee | The fee charged by the transaction. |
| view | The ledger view after transaction application. |
| j | Journal used for diagnostics. |
Definition at line 647 of file MPTInvariant.cpp.
Definition at line 156 of file MPTInvariant.h.