diff --git a/src/SerializedObject.h b/src/SerializedObject.h index 3c322486da..de9f3d2b7f 100644 --- a/src/SerializedObject.h +++ b/src/SerializedObject.h @@ -72,6 +72,7 @@ enum SOE_Field sfNextTransitStart, sfNickname, sfOfferCurrency, + sfOfferMin, sfPaths, sfPubKey, sfSendMax, diff --git a/src/TransactionFormats.cpp b/src/TransactionFormats.cpp index 66995e5a92..c0f2f73a51 100644 --- a/src/TransactionFormats.cpp +++ b/src/TransactionFormats.cpp @@ -44,6 +44,15 @@ TransactionFormat InnerTxnFormats[]= { S_FIELD(Extensions), STI_TL, SOE_IFFLAG, 0x02000000 }, { sfInvalid, NULL, STI_DONE, SOE_NEVER, -1 } } }, + { "NicknameSet", ttNICKNAME_SET, { + { S_FIELD(Flags), STI_UINT32, SOE_FLAGS, 0 }, + { S_FIELD(Nickname), STI_HASH256, SOE_IFFLAG, 8 }, + { S_FIELD(OfferMin), STI_AMOUNT, SOE_IFFLAG, 1 }, + { S_FIELD(Signature), STI_VL, SOE_IFFLAG, 2 }, + { S_FIELD(SourceTag), STI_UINT32, SOE_IFFLAG, 1 }, + { S_FIELD(Extensions), STI_TL, SOE_IFFLAG, 0x02000000 }, + { sfInvalid, NULL, STI_DONE, SOE_NEVER, -1 } } + }, { "Offer", ttOFFER, { { S_FIELD(Flags), STI_UINT32, SOE_FLAGS, 0 }, { S_FIELD(AmountIn), STI_AMOUNT, SOE_REQUIRED, 0 }, diff --git a/src/TransactionFormats.h b/src/TransactionFormats.h index 6833560696..3f053521f2 100644 --- a/src/TransactionFormats.h +++ b/src/TransactionFormats.h @@ -12,6 +12,7 @@ enum TransactionType ttACCOUNT_SET = 3, ttPASSWORD_FUND = 4, ttPASSWORD_SET = 5, + ttNICKNAME_SET = 6, ttCREDIT_SET = 20, ttTRANSIT_SET = 21, ttINVOICE = 10,