From eca40592424772742ace09180935028a52194c31 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Wed, 5 Dec 2012 11:24:15 -0800 Subject: [PATCH] Operation limit. --- src/cpp/ripple/SerializeProto.h | 1 + src/cpp/ripple/TransactionFormats.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/src/cpp/ripple/SerializeProto.h b/src/cpp/ripple/SerializeProto.h index 5b510e969e..7c88837d3f 100644 --- a/src/cpp/ripple/SerializeProto.h +++ b/src/cpp/ripple/SerializeProto.h @@ -58,6 +58,7 @@ FIELD(FirstLedgerSequence, UINT32, 26) FIELD(LastLedgerSequence, UINT32, 27) FIELD(TransactionIndex, UINT32, 28) + FIELD(OperationLimit, UINT32, 29) // 64-bit integers FIELD(IndexNext, UINT64, 1) diff --git a/src/cpp/ripple/TransactionFormats.cpp b/src/cpp/ripple/TransactionFormats.cpp index 5f0feb40e1..6835178922 100644 --- a/src/cpp/ripple/TransactionFormats.cpp +++ b/src/cpp/ripple/TransactionFormats.cpp @@ -10,6 +10,7 @@ std::map TransactionFormat::byName; << SOElement(sfAccount, SOE_REQUIRED) \ << SOElement(sfSequence, SOE_REQUIRED) \ << SOElement(sfFee, SOE_REQUIRED) \ + << SOElement(sfOperationLimit, SOE_OPTIONAL) \ << SOElement(sfSigningPubKey, SOE_REQUIRED) \ << SOElement(sfTxnSignature, SOE_OPTIONAL)