Add disabled support for setting RequireDestTag.

This commit is contained in:
Arthur Britto
2013-01-03 14:25:57 -08:00
parent 039568616c
commit 21940ee9cf
2 changed files with 45 additions and 0 deletions

View File

@@ -2,6 +2,7 @@
#define __TRANSACTIONFORMATS__
#include "SerializedObject.h"
#include "LedgerFormats.h"
enum TransactionType
{
@@ -58,6 +59,13 @@ const int TransactionMaxLen = 1048576;
// Transaction flags.
//
#if ENABLE_REQUIRE_DEST_TAG
// AccountSet flags:
const uint32 tfRequireDestTag = 0x00010000;
const uint32 tfOptionalDestTag = 0x00020000;
const uint32 tfAccountSetMask = ~(tfRequireDestTag|tfOptionalDestTag);
#endif
// OfferCreate flags:
const uint32 tfPassive = 0x00010000;
const uint32 tfOfferCreateMask = ~(tfPassive);