Amendment · Payments

EnforceInvariantsSwitched on 7 July 2017

In plain words

This amendment adds safety checks that run on every transaction. If a transaction would break a basic rule of the ledger, it is stopped.

Written by zerps in plain words, from the source linked below.
Switched on
7 July 2017
In ledger
31,054,081
First in server version
0.70.0
Amendment ID
DC9CA96AEA1DCF83E527D1AFC916EFAF5D27388ECA4060A88817C1238CAEE0BF

What it changes

The checks are an extra, independent layer of protection in transaction processing. It adds two result codes, tecINVARIANT_FAILED and tefINVARIANT_FAILED. Examples of checks: the XRP destroyed by a transaction must match the transaction cost exactly, XRP cannot be created, an entry in the ledger cannot change its type, and there cannot be a trust line for XRP. AccountRoot objects cannot be deleted unless DeletableAccounts is enabled. Future versions of rippled may add more checks without new amendments.

Where it stands

Switched on 7 July 2017, in ledger 31,054,081. It arrived in server version 0.70.0.

In the source's words
Adds sanity checks to transaction processing to ensure that certain conditions are always met. This provides an extra, independent layer of protection against bugs in transaction processing that could otherwise cause exploits and vulnerabilities in the XRP Ledger.xrpl.org

Source: xrpl.org, The transaction that switched it on, Dates and votes: XRP Ledger validator data service. Read 6 December 2026.

Zerpedia states what the source says, in plain words, and gives no opinion. How Zerpedia is made

zerps Trading tokens on the XRP Ledger carries risk, including total loss. zerps is a self-custodial interface; it does not hold funds, give advice, or execute trades on your behalf.