Skip to content

Commit b8c32d5

Browse files
committed
spacing
1 parent 48b5b72 commit b8c32d5

File tree

1 file changed

+46
-46
lines changed

1 file changed

+46
-46
lines changed

src/ripple/protocol/TxFlags.h

+46-46
Original file line numberDiff line numberDiff line change
@@ -53,79 +53,79 @@ namespace ripple {
5353

5454
// clang-format off
5555
// Universal Transaction flags:
56-
constexpr std::uint32_t tfFullyCanonicalSig = 0x80000000;
57-
constexpr std::uint32_t tfUniversal = tfFullyCanonicalSig;
58-
constexpr std::uint32_t tfUniversalMask = ~tfUniversal;
56+
constexpr std::uint32_t tfFullyCanonicalSig = 0x80000000;
57+
constexpr std::uint32_t tfUniversal = tfFullyCanonicalSig;
58+
constexpr std::uint32_t tfUniversalMask = ~tfUniversal;
5959

6060
// AccountSet flags:
61-
constexpr std::uint32_t tfRequireDestTag = 0x00010000;
62-
constexpr std::uint32_t tfOptionalDestTag = 0x00020000;
63-
constexpr std::uint32_t tfRequireAuth = 0x00040000;
64-
constexpr std::uint32_t tfOptionalAuth = 0x00080000;
65-
constexpr std::uint32_t tfDisallowXRP = 0x00100000;
66-
constexpr std::uint32_t tfAllowXRP = 0x00200000;
61+
constexpr std::uint32_t tfRequireDestTag = 0x00010000;
62+
constexpr std::uint32_t tfOptionalDestTag = 0x00020000;
63+
constexpr std::uint32_t tfRequireAuth = 0x00040000;
64+
constexpr std::uint32_t tfOptionalAuth = 0x00080000;
65+
constexpr std::uint32_t tfDisallowXRP = 0x00100000;
66+
constexpr std::uint32_t tfAllowXRP = 0x00200000;
6767
constexpr std::uint32_t tfAccountSetMask =
6868
~(tfUniversal | tfRequireDestTag | tfOptionalDestTag | tfRequireAuth |
6969
tfOptionalAuth | tfDisallowXRP | tfAllowXRP);
7070

7171
// AccountSet SetFlag/ClearFlag values
72-
constexpr std::uint32_t asfRequireDest = 1;
73-
constexpr std::uint32_t asfRequireAuth = 2;
74-
constexpr std::uint32_t asfDisallowXRP = 3;
75-
constexpr std::uint32_t asfDisableMaster = 4;
76-
constexpr std::uint32_t asfAccountTxnID = 5;
77-
constexpr std::uint32_t asfNoFreeze = 6;
78-
constexpr std::uint32_t asfGlobalFreeze = 7;
79-
constexpr std::uint32_t asfDefaultRipple = 8;
80-
constexpr std::uint32_t asfDepositAuth = 9;
81-
constexpr std::uint32_t asfAuthorizedNFTokenMinter = 10;
72+
constexpr std::uint32_t asfRequireDest = 1;
73+
constexpr std::uint32_t asfRequireAuth = 2;
74+
constexpr std::uint32_t asfDisallowXRP = 3;
75+
constexpr std::uint32_t asfDisableMaster = 4;
76+
constexpr std::uint32_t asfAccountTxnID = 5;
77+
constexpr std::uint32_t asfNoFreeze = 6;
78+
constexpr std::uint32_t asfGlobalFreeze = 7;
79+
constexpr std::uint32_t asfDefaultRipple = 8;
80+
constexpr std::uint32_t asfDepositAuth = 9;
81+
constexpr std::uint32_t asfAuthorizedNFTokenMinter = 10;
8282
/* // reserved for Hooks amendment
83-
constexpr std::uint32_t asfTshCollect = 11;
83+
constexpr std::uint32_t asfTshCollect = 11;
8484
*/
8585
constexpr std::uint32_t asfDisallowIncomingNFTokenOffer = 12;
86-
constexpr std::uint32_t asfDisallowIncomingCheck = 13;
87-
constexpr std::uint32_t asfDisallowIncomingPayChan = 14;
88-
constexpr std::uint32_t asfDisallowIncomingTrustline = 15;
86+
constexpr std::uint32_t asfDisallowIncomingCheck = 13;
87+
constexpr std::uint32_t asfDisallowIncomingPayChan = 14;
88+
constexpr std::uint32_t asfDisallowIncomingTrustline = 15;
8989

9090
// OfferCreate flags:
91-
constexpr std::uint32_t tfPassive = 0x00010000;
92-
constexpr std::uint32_t tfImmediateOrCancel = 0x00020000;
93-
constexpr std::uint32_t tfFillOrKill = 0x00040000;
94-
constexpr std::uint32_t tfSell = 0x00080000;
91+
constexpr std::uint32_t tfPassive = 0x00010000;
92+
constexpr std::uint32_t tfImmediateOrCancel = 0x00020000;
93+
constexpr std::uint32_t tfFillOrKill = 0x00040000;
94+
constexpr std::uint32_t tfSell = 0x00080000;
9595
constexpr std::uint32_t tfOfferCreateMask =
9696
~(tfUniversal | tfPassive | tfImmediateOrCancel | tfFillOrKill | tfSell);
9797

9898
// Payment flags:
99-
constexpr std::uint32_t tfNoRippleDirect = 0x00010000;
100-
constexpr std::uint32_t tfPartialPayment = 0x00020000;
101-
constexpr std::uint32_t tfLimitQuality = 0x00040000;
99+
constexpr std::uint32_t tfNoRippleDirect = 0x00010000;
100+
constexpr std::uint32_t tfPartialPayment = 0x00020000;
101+
constexpr std::uint32_t tfLimitQuality = 0x00040000;
102102
constexpr std::uint32_t tfPaymentMask =
103103
~(tfUniversal | tfPartialPayment | tfLimitQuality | tfNoRippleDirect);
104104

105105
// TrustSet flags:
106-
constexpr std::uint32_t tfSetfAuth = 0x00010000;
107-
constexpr std::uint32_t tfSetNoRipple = 0x00020000;
108-
constexpr std::uint32_t tfClearNoRipple = 0x00040000;
109-
constexpr std::uint32_t tfSetFreeze = 0x00100000;
110-
constexpr std::uint32_t tfClearFreeze = 0x00200000;
106+
constexpr std::uint32_t tfSetfAuth = 0x00010000;
107+
constexpr std::uint32_t tfSetNoRipple = 0x00020000;
108+
constexpr std::uint32_t tfClearNoRipple = 0x00040000;
109+
constexpr std::uint32_t tfSetFreeze = 0x00100000;
110+
constexpr std::uint32_t tfClearFreeze = 0x00200000;
111111
constexpr std::uint32_t tfTrustSetMask =
112112
~(tfUniversal | tfSetfAuth | tfSetNoRipple | tfClearNoRipple | tfSetFreeze |
113113
tfClearFreeze);
114114

115115
// EnableAmendment flags:
116-
constexpr std::uint32_t tfGotMajority = 0x00010000;
117-
constexpr std::uint32_t tfLostMajority = 0x00020000;
116+
constexpr std::uint32_t tfGotMajority = 0x00010000;
117+
constexpr std::uint32_t tfLostMajority = 0x00020000;
118118

119119
// PaymentChannelClaim flags:
120-
constexpr std::uint32_t tfRenew = 0x00010000;
121-
constexpr std::uint32_t tfClose = 0x00020000;
120+
constexpr std::uint32_t tfRenew = 0x00010000;
121+
constexpr std::uint32_t tfClose = 0x00020000;
122122
constexpr std::uint32_t tfPayChanClaimMask = ~(tfUniversal | tfRenew | tfClose);
123123

124124
// NFTokenMint flags:
125-
constexpr std::uint32_t const tfBurnable = 0x00000001;
126-
constexpr std::uint32_t const tfOnlyXRP = 0x00000002;
127-
constexpr std::uint32_t const tfTrustLine = 0x00000004;
128-
constexpr std::uint32_t const tfTransferable = 0x00000008;
125+
constexpr std::uint32_t const tfBurnable = 0x00000001;
126+
constexpr std::uint32_t const tfOnlyXRP = 0x00000002;
127+
constexpr std::uint32_t const tfTrustLine = 0x00000004;
128+
constexpr std::uint32_t const tfTransferable = 0x00000008;
129129

130130
// Prior to fixRemoveNFTokenAutoTrustLine, transfer of an NFToken between
131131
// accounts allowed a TrustLine to be added to the issuer of that token
@@ -147,15 +147,15 @@ constexpr std::uint32_t const tfNFTokenMintMask =
147147
~(tfUniversal | tfBurnable | tfOnlyXRP | tfTransferable);
148148

149149
// NFTokenCreateOffer flags:
150-
constexpr std::uint32_t const tfSellNFToken = 0x00000001;
150+
constexpr std::uint32_t const tfSellNFToken = 0x00000001;
151151
constexpr std::uint32_t const tfNFTokenCreateOfferMask =
152152
~(tfUniversal | tfSellNFToken);
153153

154154
// NFTokenCancelOffer flags:
155-
constexpr std::uint32_t const tfNFTokenCancelOfferMask = ~(tfUniversal);
155+
constexpr std::uint32_t const tfNFTokenCancelOfferMask = ~(tfUniversal);
156156

157157
// NFTokenAcceptOffer flags:
158-
constexpr std::uint32_t const tfNFTokenAcceptOfferMask = ~tfUniversal;
158+
constexpr std::uint32_t const tfNFTokenAcceptOfferMask = ~tfUniversal;
159159

160160
// clang-format on
161161

0 commit comments

Comments
 (0)