
David Schwartz, co-founder of the XRP Ledger and Ripple CTO Emeritus, has developed a two-tiered booking system to address potential risks on the XRPL DEX and AMM.
The decision, which appeared in response to complaints expressed by the account of XRP-focused analytics XRPresso.io, shows the initial guarantees for users who want to pay a deposit fee, a level of market observation that is directly related as the institutions entering into XRP products continue to grow.
This proposal is currently under public discussion and has not been established as a network change. That distinction is important: on the XRP Ledger, protocol changes require a majority of people to agree to a vote in order to start accepting them, meaning that Schwartz’s design has weight but faces a regulatory process before it hits the mainnet.
How Ripple XRP ReservedTxns Mechanism Works
The scheme introduces two new protocol layers. The first is the ReservedTxns ledger object, which stores the target’s sequence number and up to 32 identifiers.
When the virtual ledger executes, any transaction specified in the contract is processed first, before all other transactions, and then the object is deleted. The second component is the TxnReserve transaction model, which allows the user to place an order for one or more future investments by sending a reservation before the book closes.
Three restrictions govern TxnReserve: the payment amount must be at least twice the payment amount; The ledger you want to track must fall within the current 16 ledgers; and the actual event must set the LastLedgerSequence to match the stored ledger.
Those rules are not accidental, they define both the financial cost of using the system and the narrow time it works. The 16-ledger roof keeps the reserves tightly connected to the long execution, preventing the machine from being equipped as a tool for linear games.
DoS protection is built through the increase of the power rate: when the storage space fills 16, the fee increases, reaching several times the storage space near 30 slots. Schwartz noted that XRPL’s server software processes cached transactions and releases them close to the time the ledger’s views are known, forcing the window to appear before it occurs.
“This ensures that you can do what you did before you started any work that was done after the disclosure,” Schwartz said. “You can use this method whenever you want to do something you want to make sure it doesn’t happen or in the future.”
The XRPL-Specific Front-Running Problem Schwartz Solves
The concern of XRPresso is focused on the design of the XRP Ledger: the prospects are in a transparent queue before the ledger closes, giving the verifiers and the connected nodes a clear preview of the upcoming transactions.
Because the legitimate bidding on XRPL is determined by a known, proven method of hashing, an exerciser can send similar transactions over and over again to increase the chances of getting to the right place in relation to the desired trade, a way to sandwich an attack on DEX or AMM.
Schwartz accepted the appearance but denied the production. He also said that all participants have equal access to the public queue, and that the verifiers do not get the opportunity to fix the system unless several of them conspire.
“If several validators conspired, or one validator tried, it would be obvious to anyone doing it,” he said, adding that no such attempt has been proven outside of the concept of evidence.
He also gave a sign of profit restriction: earning profit requires simultaneous high investment (to provide the right amount to target) and low investment (to move the price at the possible price), a combination that is rarely found on XRPL.
That argument didn’t convince the critics, but it contrasts the currently vulnerable XRPL with Ethereum’s already active MEV ecosystem.

The leading debate in DeFi is not limited to the XRP ecosystem. Binance co-founder Changpeng Zhao wants to pool the dark perpetuals DEX last year using zero-knowledge cryptography to hide the data of the system until execution, a method that attracted criticism from proponents of decentralization who said it recreates many of the asymmetries crypto was created to solve.
XRPresso made a similar argument in response to Schwartz, arguing that the privacy that is monitored on pending transactions will be cleaner for longer than the layering of the reservation fee, pointing to the precedent set in the competition.
Don’t miss our $1,000 USDT Airdrop on ByBit





