Define flags for disabling the master key.

This commit is contained in:
JoelKatz
2013-06-17 11:48:03 -07:00
parent e4dcbb7cb0
commit 1886283244
2 changed files with 5 additions and 1 deletions

View File

@@ -84,6 +84,7 @@ enum LedgerSpecificFlags
lsfRequireDestTag = 0x00020000, // True, to require a DestinationTag for payments.
lsfRequireAuth = 0x00040000, // True, to require a authorization to hold IOUs.
lsfDisallowXRP = 0x00080000, // True, to disallow sending XRP.
lsfDisableMaster = 0x00100000, // True, force regular key
// ltOFFER
lsfPassive = 0x00010000,

View File

@@ -33,9 +33,12 @@ const uint32 tfRequireAuth = 0x00040000;
const uint32 tfOptionalAuth = 0x00080000;
const uint32 tfDisallowXRP = 0x00100000;
const uint32 tfAllowXRP = 0x00200000;
const uint32 tfDisableMaster = 0x00400000;
const uint32 tfEnableMaster = 0x00800000;
const uint32 tfAccountSetMask = ~ (TxFlag::requireDestTag | tfOptionalDestTag
| tfRequireAuth | tfOptionalAuth
| tfDisallowXRP | tfAllowXRP);
| tfDisallowXRP | tfAllowXRP
| tfDisableMaster | tfEnableMaster);
// OfferCreate flags:
const uint32 tfPassive = 0x00010000;