mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Define flags for disabling the master key.
This commit is contained in:
@@ -84,6 +84,7 @@ enum LedgerSpecificFlags
|
|||||||
lsfRequireDestTag = 0x00020000, // True, to require a DestinationTag for payments.
|
lsfRequireDestTag = 0x00020000, // True, to require a DestinationTag for payments.
|
||||||
lsfRequireAuth = 0x00040000, // True, to require a authorization to hold IOUs.
|
lsfRequireAuth = 0x00040000, // True, to require a authorization to hold IOUs.
|
||||||
lsfDisallowXRP = 0x00080000, // True, to disallow sending XRP.
|
lsfDisallowXRP = 0x00080000, // True, to disallow sending XRP.
|
||||||
|
lsfDisableMaster = 0x00100000, // True, force regular key
|
||||||
|
|
||||||
// ltOFFER
|
// ltOFFER
|
||||||
lsfPassive = 0x00010000,
|
lsfPassive = 0x00010000,
|
||||||
|
|||||||
@@ -33,9 +33,12 @@ const uint32 tfRequireAuth = 0x00040000;
|
|||||||
const uint32 tfOptionalAuth = 0x00080000;
|
const uint32 tfOptionalAuth = 0x00080000;
|
||||||
const uint32 tfDisallowXRP = 0x00100000;
|
const uint32 tfDisallowXRP = 0x00100000;
|
||||||
const uint32 tfAllowXRP = 0x00200000;
|
const uint32 tfAllowXRP = 0x00200000;
|
||||||
|
const uint32 tfDisableMaster = 0x00400000;
|
||||||
|
const uint32 tfEnableMaster = 0x00800000;
|
||||||
const uint32 tfAccountSetMask = ~ (TxFlag::requireDestTag | tfOptionalDestTag
|
const uint32 tfAccountSetMask = ~ (TxFlag::requireDestTag | tfOptionalDestTag
|
||||||
| tfRequireAuth | tfOptionalAuth
|
| tfRequireAuth | tfOptionalAuth
|
||||||
| tfDisallowXRP | tfAllowXRP);
|
| tfDisallowXRP | tfAllowXRP
|
||||||
|
| tfDisableMaster | tfEnableMaster);
|
||||||
|
|
||||||
// OfferCreate flags:
|
// OfferCreate flags:
|
||||||
const uint32 tfPassive = 0x00010000;
|
const uint32 tfPassive = 0x00010000;
|
||||||
|
|||||||
Reference in New Issue
Block a user