Skip to content

Commit

Permalink
[audit] clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
dangell7 committed Nov 29, 2024
1 parent 43d5e68 commit 6c5c8e2
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 71 deletions.
2 changes: 1 addition & 1 deletion .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ ColumnLimit: 100
PointerAlignment: Right
AlignAfterOpenBracket: Align
AlignConsecutiveMacros: true
AllowAllParametersOfDeclarationOnNextLine: false
SortIncludes: false
SpaceAfterCStyleCast: true
AllowShortCaseLabelsOnASingleLine: false
Expand All @@ -18,3 +17,4 @@ AllowShortFunctionsOnASingleLine: None
BinPackArguments: false
BinPackParameters: false
---

140 changes: 70 additions & 70 deletions src/xah/fields.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,81 +51,81 @@ typedef enum {
#define XAH_UINT16_TRANSFER_FEE 0x04
#define XAH_UINT16_HOOK_API_VERSION 0x14
// UINT32
#define XAH_UINT32_NETWORK_ID 0x01
#define XAH_UINT32_FLAGS 0x02
#define XAH_UINT32_SOURCE_TAG 0x03
#define XAH_UINT32_SEQUENCE 0x04
#define XAH_UINT32_EXPIRATION 0x0A
#define XAH_UINT32_TRANSFER_RATE 0x0B
#define XAH_UINT32_WALLET_SIZE 0x0C
#define XAH_UINT32_DESTINATION_TAG 0x0E
#define XAH_UINT32_QUALITY_IN 0x14
#define XAH_UINT32_QUALITY_OUT 0x15
#define XAH_UINT32_NETWORK_ID 0x01
#define XAH_UINT32_FLAGS 0x02
#define XAH_UINT32_SOURCE_TAG 0x03
#define XAH_UINT32_SEQUENCE 0x04
#define XAH_UINT32_EXPIRATION 0x0A
#define XAH_UINT32_TRANSFER_RATE 0x0B
#define XAH_UINT32_WALLET_SIZE 0x0C
#define XAH_UINT32_DESTINATION_TAG 0x0E
#define XAH_UINT32_QUALITY_IN 0x14
#define XAH_UINT32_QUALITY_OUT 0x15
#define XAH_UINT32_OFFER_SEQUENCE 0x19
#define XAH_UINT32_FIRST_LEDGER_SEQUENCE 0x1A
#define XAH_UINT32_LAST_LEDGER_SEQUENCE 0x1B
#define XAH_UINT32_OPERATION_LIMIT 0x1D
#define XAH_UINT32_SET_FLAG 0x21
#define XAH_UINT32_CLEAR_FLAG 0x22
#define XAH_UINT32_SIGNER_QUORUM 0x23
#define XAH_UINT32_CANCEL_AFTER 0x24
#define XAH_UINT32_FINISH_AFTER 0x25
#define XAH_UINT32_SETTLE_DELAY 0x27
#define XAH_UINT32_TICKET_COUNT 0x28
#define XAH_UINT32_TICKET_SEQUENCE 0x29
#define XAH_UINT32_NFTOKEN_TAXON 0x2A
#define XAH_UINT32_OPERATION_LIMIT 0x1D
#define XAH_UINT32_SET_FLAG 0x21
#define XAH_UINT32_CLEAR_FLAG 0x22
#define XAH_UINT32_SIGNER_QUORUM 0x23
#define XAH_UINT32_CANCEL_AFTER 0x24
#define XAH_UINT32_FINISH_AFTER 0x25
#define XAH_UINT32_SETTLE_DELAY 0x27
#define XAH_UINT32_TICKET_COUNT 0x28
#define XAH_UINT32_TICKET_SEQUENCE 0x29
#define XAH_UINT32_NFTOKEN_TAXON 0x2A
// HASH128
#define XAH_HASH128_EMAIL_HASH 0x01
// HASH256
#define XAH_HASH256_PREVIOUS_TXN_ID 0x05
#define XAH_HASH256_WALLET_LOCATOR 0x07
#define XAH_HASH256_ACCOUNT_TXN_ID 0x09
#define XAH_HASH256_NFTOKEN_ID 0x0A
#define XAH_HASH256_INVOICE_ID 0x11
#define XAH_HASH256_NICKNAME 0x12
#define XAH_HASH256_HOOK_ON 0x14
#define XAH_HASH256_DIGEST 0x15
#define XAH_HASH256_CHANNEL 0x16
#define XAH_HASH256_CHECK_ID 0x18
#define XAH_HASH256_PREVIOUS_TXN_ID 0x05
#define XAH_HASH256_WALLET_LOCATOR 0x07
#define XAH_HASH256_ACCOUNT_TXN_ID 0x09
#define XAH_HASH256_NFTOKEN_ID 0x0A
#define XAH_HASH256_INVOICE_ID 0x11
#define XAH_HASH256_NICKNAME 0x12
#define XAH_HASH256_HOOK_ON 0x14
#define XAH_HASH256_DIGEST 0x15
#define XAH_HASH256_CHANNEL 0x16
#define XAH_HASH256_CHECK_ID 0x18
#define XAH_HASH256_NFTOKEN_BUY_OFFER 0x1C
#define XAH_HASH256_NFTOKEN_SELL_OFFER 0x1D
#define XAH_HASH256_HOOK_HASH 0x1F
#define XAH_HASH256_HOOK_NAMESPACE 0x20
#define XAH_HASH256_OFFER_ID 0x22
#define XAH_HASH256_ESCROW_ID 0x23
#define XAH_HASH256_URITOKEN_ID 0x24
#define XAH_HASH256_GOVERNANCE_MARKS 0x62
#define XAH_HASH256_GOVERNANCE_FLAGS 0x63
#define XAH_HASH256_HOOK_HASH 0x1F
#define XAH_HASH256_HOOK_NAMESPACE 0x20
#define XAH_HASH256_OFFER_ID 0x22
#define XAH_HASH256_ESCROW_ID 0x23
#define XAH_HASH256_URITOKEN_ID 0x24
#define XAH_HASH256_GOVERNANCE_MARKS 0x62
#define XAH_HASH256_GOVERNANCE_FLAGS 0x63
// AMOUNT
#define XAH_UINT64_AMOUNT 0x01
#define XAH_UINT64_BALANCE 0x02
#define XAH_UINT64_LIMIT_AMOUNT 0x03
#define XAH_UINT64_TAKER_PAYS 0x04
#define XAH_UINT64_TAKER_GETS 0x05
#define XAH_UINT64_FEE 0x08
#define XAH_UINT64_SEND_MAX 0x09
#define XAH_UINT64_DELIVER_MIN 0x0A
#define XAH_UINT64_AMOUNT 0x01
#define XAH_UINT64_BALANCE 0x02
#define XAH_UINT64_LIMIT_AMOUNT 0x03
#define XAH_UINT64_TAKER_PAYS 0x04
#define XAH_UINT64_TAKER_GETS 0x05
#define XAH_UINT64_FEE 0x08
#define XAH_UINT64_SEND_MAX 0x09
#define XAH_UINT64_DELIVER_MIN 0x0A
#define XAH_UINT64_NFTOKEN_BROKER_FEE 0x13
// BLOB
#define XAH_VL_PUBLIC_KEY 0x01
#define XAH_VL_MESSAGE_KEY 0x02
#define XAH_VL_SIGNING_PUB_KEY 0x03
#define XAH_VL_TXN_SIGNATURE 0x04
#define XAH_VL_URI 0x05
#define XAH_VL_SIGNATURE 0x06
#define XAH_VL_DOMAIN 0x07
#define XAH_VL_CREATE_CODE 0x0B
#define XAH_VL_MEMO_TYPE 0x0C
#define XAH_VL_MEMO_DATA 0x0D
#define XAH_VL_MEMO_FORMAT 0x0E
#define XAH_VL_FULFILLMENT 0x10
#define XAH_VL_CONDITION 0x11
#define XAH_VL_PUBLIC_KEY 0x01
#define XAH_VL_MESSAGE_KEY 0x02
#define XAH_VL_SIGNING_PUB_KEY 0x03
#define XAH_VL_TXN_SIGNATURE 0x04
#define XAH_VL_URI 0x05
#define XAH_VL_SIGNATURE 0x06
#define XAH_VL_DOMAIN 0x07
#define XAH_VL_CREATE_CODE 0x0B
#define XAH_VL_MEMO_TYPE 0x0C
#define XAH_VL_MEMO_DATA 0x0D
#define XAH_VL_MEMO_FORMAT 0x0E
#define XAH_VL_FULFILLMENT 0x10
#define XAH_VL_CONDITION 0x11
#define XAH_VL_HOOK_PARAMETER_NAME 0x18
#define XAH_VL_HOOK_PARAMETER_VALUE 0x19
#define XAH_VL_BLOB 0x1A
// VECTOR256
#define XAH_VECTOR256_NFTOKEN_OFFERS 0x04
#define XAH_VECTOR256_URITOKEN_IDS 0x63
#define XAH_VECTOR256_URITOKEN_IDS 0x63
// ACCOUNTID
#define XAH_ACCOUNT_ACCOUNT 0x01
#define XAH_ACCOUNT_OWNER 0x02
Expand All @@ -135,23 +135,23 @@ typedef enum {
#define XAH_ACCOUNT_UNAUTHORIZE 0x06
#define XAH_ACCOUNT_REGULAR_KEY 0x08
#define XAH_ACCOUNT_NFTOKEN_MINTER 0x09
#define XAH_ACCOUNT_INFORM 0x63
#define XAH_ACCOUNT_INFORM 0x63
// STOBJECT
#define XAH_STOBJECT_MEMO 0x0A
#define XAH_STOBJECT_SIGNER_ENTRY 0x0B
#define XAH_STOBJECT_NFTOKEN 0x0C
#define XAH_STOBJECT_HOOK 0x0E
#define XAH_STOBJECT_SIGNER 0x10
#define XAH_STOBJECT_MEMO 0x0A
#define XAH_STOBJECT_SIGNER_ENTRY 0x0B
#define XAH_STOBJECT_NFTOKEN 0x0C
#define XAH_STOBJECT_HOOK 0x0E
#define XAH_STOBJECT_SIGNER 0x10
#define XAH_STOBJECT_HOOK_PARAMETER 0x17
#define XAH_STOBJECT_HOOK_GRANT 0x18
#define XAH_STOBJECT_AMOUNT 0x5B
#define XAH_STOBJECT_MINT_URITOKEN 0x5C
// STARRAY
#define XAH_STARRAY_SIGNERS 0x03
#define XAH_STARRAY_SIGNER_ENTRIES 0x04
#define XAH_STARRAY_MEMOS 0x09
#define XAH_STARRAY_NFTOKENS 0x0A
#define XAH_STARRAY_HOOKS 0x0B
#define XAH_STARRAY_SIGNERS 0x03
#define XAH_STARRAY_SIGNER_ENTRIES 0x04
#define XAH_STARRAY_MEMOS 0x09
#define XAH_STARRAY_NFTOKENS 0x0A
#define XAH_STARRAY_HOOKS 0x0B
#define XAH_STARRAY_HOOK_PARAMETERS 0x13
#define XAH_STARRAY_HOOK_GRANTS 0x14
#define XAH_STARRAY_AMOUNTS 0x5C
Expand Down

0 comments on commit 6c5c8e2

Please sign in to comment.