From 439ed0c65e8b9d7e3bc3b8e25700c5defaf89d5e Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Mon, 6 May 2013 18:16:55 -0700 Subject: [PATCH] Mark some future work. --- src/cpp/ripple/TransactionCheck.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/cpp/ripple/TransactionCheck.cpp b/src/cpp/ripple/TransactionCheck.cpp index d3f42fb38..05431b6a9 100644 --- a/src/cpp/ripple/TransactionCheck.cpp +++ b/src/cpp/ripple/TransactionCheck.cpp @@ -40,6 +40,13 @@ bool TransactionEngine::checkInvariants(TER result, const SerializedTransaction& const LedgerEntrySetEntry& entry = it->second; if (entry.mAction == taaMODIFY) { +#if 0 + if (entry.mEntry->getType() == ltRIPPLE_STATE) + { + // if this transaction pushes a ripple state over its limit, make sure it also modifies + // an offer placed by that same user + } +#endif if (entry.mEntry->getType() == ltACCOUNT_ROOT) { // account modified xrpChange += entry.mEntry->getFieldAmount(sfBalance).getSNValue();