Skip to content

Commit

Permalink
update sfields
Browse files Browse the repository at this point in the history
  • Loading branch information
dangell7 committed Oct 12, 2023
1 parent f8f5029 commit 1b66366
Show file tree
Hide file tree
Showing 4 changed files with 223 additions and 463 deletions.
186 changes: 107 additions & 79 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ You can use the bump script if you already have the definitions file or a ripple

python3 bump.py | action | name | path

- `python3 bump.py definitions Hooks ./definitions.json`
- `python3 bump.py rippled Hooks ./rippled`
- `python3 bump.py definitions XLS30 ./definitions.json`

If you would like to know what sfields your rippled build is missing then run with:

Expand All @@ -33,10 +32,10 @@ Type 1
|5|TradingFee|XLS30|n/a|
|6|DiscountedFee|XLS30|n/a|
|16|Version|n/a|n/a|
|17|HookStateChangeCount|Hooks|n/a|
|18|HookEmitCount|Hooks|n/a|
|19|HookExecutionIndex|Hooks|n/a|
|20|HookApiVersion|Hooks|n/a|
|17|HookStateChangeCount|Xahau|n/a|
|18|HookEmitCount|Xahau|n/a|
|19|HookExecutionIndex|Xahau|n/a|
|20|HookApiVersion|Xahau|n/a|


## UINT32
Expand Down Expand Up @@ -87,11 +86,17 @@ Type 2
|42|NFTokenTaxon|XLS20|n/a|
|43|MintedNFTokens|XLS20|n/a|
|44|BurnedNFTokens|XLS20|n/a|
|45|HookStateCount|Hooks|n/a|
|46|EmitGeneration|Hooks|n/a|
|45|HookStateCount|Xahau|n/a|
|46|EmitGeneration|Xahau|n/a|
|47|LockCount|XLS34|n/a|
|48|VoteWeight|XLS30|n/a|
|49|LockCount|Xahau|n/a|
|50|FirstNFTokenSequence|XLS30|n/a|
|96|XahauActivationLgrSeq|Xahau|n/a|
|97|ImportSequence|Xahau|n/a|
|98|RewardTime|Xahau|n/a|
|99|RewardLgrFirst|Xahau|n/a|
|100|RewardLgrLast|Xahau|n/a|


## UINT64
Expand All @@ -111,14 +116,17 @@ Type 3
|10|Cookie|Validations|n/a|
|11|ServerVersion|Validations|n/a|
|12|NFTokenOfferNode|XLS20|n/a|
|13|EmitBurden|Hooks|n/a|
|16|HookOn|Hooks|n/a|
|17|HookInstructionCount|Hooks|n/a|
|18|HookReturnCode|Hooks|n/a|
|19|ReferenceCount|Hooks|n/a|
|13|EmitBurden|Xahau|n/a|
|16|HookOn|Xahau|n/a|
|17|HookInstructionCount|Xahau|n/a|
|18|HookReturnCode|Xahau|n/a|
|19|ReferenceCount|Xahau|n/a|
|20|XChainClaimID|XLS38|n/a|
|21|XChainAccountCreateCount|XLS38|n/a|
|22|XChainAccountClaimCount|XLS38|n/a|
|98|AccountIndex|Xahau|n/a|
|99|AccountCount|Xahau|n/a|
|100|RewardAccumulator|Xahau|n/a|


## HASH128
Expand All @@ -144,31 +152,34 @@ Type 5
|8|RootIndex|Directories|n/a|
|9|AccountTxnID|Account Root|n/a|
|10|NFTokenID|XLS20|n/a|
|11|EmitParentTxnID|Hooks|n/a|
|12|EmitNonce|Hooks|n/a|
|13|EmitHookHash|Hooks|n/a|
|11|EmitParentTxnID|Xahau|n/a|
|12|EmitNonce|Xahau|n/a|
|13|EmitHookHash|Xahau|n/a|
|14|AMMID|XLS30|n/a|
|16|BookDirectory|Directories|n/a|
|17|InvoiceID|Payment, Check|n/a|
|18|Nickname|legacy/unused|n/a|
|19|Amendment|Consensus|n/a|
|20|HookOn|Hooks|n/a|
|20|HookOn|Xahau|n/a|
|21|Digest|XLS35|n/a|
|22|Channel|Paychan|n/a|
|23|ConsensusHash|Consensus|n/a|
|24|CheckID|Hooks|n/a|
|24|CheckID|Xahau|n/a|
|25|ValidatedHash|Consensus|n/a|
|26|PreviousPageMin|XLS20|n/a|
|27|NextPageMin|XLS20|n/a|
|28|NFTokenBuyOffer|XLS20|n/a|
|29|NFTokenSellOffer|XLS20|n/a|
|30|HookStateKey|Hooks|n/a|
|31|HookHash|Hooks|n/a|
|32|HookNamespace|Hooks|n/a|
|33|HookSetTxnID|Hooks|n/a|
|34|OfferID|Hooks|n/a|
|30|HookStateKey|Xahau|n/a|
|31|HookHash|Xahau|n/a|
|32|HookNamespace|Xahau|n/a|
|33|HookSetTxnID|Xahau|n/a|
|34|OfferID|Xahau|n/a|
|35|EscrowID|XLS35|n/a|
|36|URITokenID|XLS35|n/a|
|97|EmittedTxnID|Xahau|n/a|
|98|GovernanceMarks|Xahau|n/a|
|99|GovernanceFlags|Xahau|n/a|
|257|hash|legacy|n/a|
|258|index|legacy|n/a|

Expand All @@ -195,7 +206,7 @@ Type 6
|17|RippleEscrow|legacy/unused|n/a|
|18|DeliveredAmount|Partial payments|n/a|
|19|NFTokenBrokerFee|XLS20|n/a|
|20|HookCallbackFee|Hooks|n/a|
|20|HookCallbackFee|Xahau|n/a|
|21|LockedBalance|XLS34|n/a|
|22|BaseFeeDrops|FeeSettings|n/a|
|23|ReserveBaseDrops|FeeSettings|n/a|
Expand Down Expand Up @@ -226,7 +237,7 @@ Type 7
|8|FundCode|Legacy/unused|n/a|
|9|RemoveCode|Legacy/unused|n/a|
|10|ExpireCode|Legacy/unused|n/a|
|11|CreateCode|Hooks|n/a|
|11|CreateCode|Xahau|n/a|
|12|MemoType|All Txns|n/a|
|13|MemoData|All Txns|n/a|
|14|MemoFormat|All Txns|n/a|
Expand All @@ -236,11 +247,11 @@ Type 7
|19|UNLModifyValidator|negativeUNL|n/a|
|20|ValidatorToDisable|negativeUNL|n/a|
|21|ValidatorToReEnable|negativeUNL|n/a|
|22|HookStateData|Hooks|n/a|
|23|HookReturnString|Hooks|n/a|
|24|HookParameterName|Hooks|n/a|
|25|HookParameterValue|Hooks|n/a|
|26|Blob|Hooks|n/a|
|22|HookStateData|Xahau|n/a|
|23|HookReturnString|Xahau|n/a|
|24|HookParameterName|Xahau|n/a|
|25|HookParameterValue|Xahau|n/a|
|26|Blob|Xahau|n/a|


## ACCOUNTID
Expand All @@ -256,9 +267,9 @@ Type 8
|6|Unauthorize|AccountSet|n/a|
|8|RegularKey|AccountSet|n/a|
|9|NFTokenMinter|XLS20|n/a|
|10|EmitCallback|Hooks|n/a|
|10|EmitCallback|Xahau|n/a|
|11|AMMAccount|XLS30|n/a|
|16|HookAccount|Hooks|n/a|
|16|HookAccount|Xahau|n/a|
|18|OtherChainSource|XLS38|n/a|
|19|OtherChainDestination|XLS38|n/a|
|20|AttestationSignerAccount|XLS38|n/a|
Expand All @@ -284,27 +295,31 @@ Type 14
|10|Memo|All Txn|n/a|
|11|SignerEntry|Multisign|n/a|
|12|NFToken|XLS20|n/a|
|13|EmitDetails|Hooks|n/a|
|14|Hook|Hooks|n/a|
|13|EmitDetails|Xahau|n/a|
|14|Hook|Xahau|n/a|
|16|Signer|Multisign|n/a|
|18|Majority|Consensus|n/a|
|19|DisabledValidator|negativeUNL|n/a|
|20|EmittedTxn|Hooks|n/a|
|21|HookExecution|Hooks|n/a|
|22|HookDefinition|Hooks|n/a|
|23|HookParameter|Hooks|n/a|
|24|HookGrant|Hooks|n/a|
|20|EmittedTxn|Xahau|n/a|
|21|HookExecution|Xahau|n/a|
|22|HookDefinition|Xahau|n/a|
|23|HookParameter|Xahau|n/a|
|24|HookGrant|Xahau|n/a|
|25|VoteEntry|XLS30|n/a|
|26|AuctionSlot|XLS30|n/a|
|27|AuthAccount|XLS30|n/a|
|28|XChainClaimProofSig|XLS38|n/a|
|29|XChainCreateAccountProofSig|XLS38|n/a|
|30|XChainClaimAttestationBatchElement|XLS38|n/a|
|31|XChainCreateAccountAttestationBatchElement|XLS38|n/a|
|30|XChainClaimAttestationCollectionElement|XLS38|n/a|
|31|XChainCreateAccountAttestationCollectionElement|XLS38|n/a|
|32|XChainClaimProofSig|XLS30|n/a|
|33|XChainCreateAccountProofSig|XLS30|n/a|
|34|XChainClaimAttestationCollectionElement|XLS30|n/a|
|35|XChainCreateAccountAttestationCollectionElement|XLS30|n/a|
|93|HookEmission|Xahau|n/a|
|94|ImportVLKey|Xahau|n/a|
|95|ActiveValidator|Xahau|n/a|
|96|GenesisMint|Xahau|n/a|


## STARRAY
Expand All @@ -325,12 +340,16 @@ Type 15
|12|VoteSlots|XLS30|n/a|
|16|Majorities|Consensus|n/a|
|17|DisabledValidators|negativeUNL|n/a|
|18|HookExecutions|Hooks|n/a|
|19|HookParameters|Hooks|n/a|
|20|HookGrants|Hooks|n/a|
|21|AuthAccounts|XLS30|n/a|
|22|XChainClaimAttestations|XLS38|n/a|
|23|XChainCreateAccountAttestations|XLS38|n/a|
|18|HookExecutions|Xahau|n/a|
|19|HookParameters|Xahau|n/a|
|20|HookGrants|Xahau|n/a|
|21|XChainClaimAttestations|XLS38|n/a|
|22|XChainCreateAccountAttestations|XLS38|n/a|
|25|AuthAccounts|XLS38|n/a|
|93|HookEmissions|Xahau|n/a|
|94|ImportVLKeys|Xahau|n/a|
|95|ActiveValidators|Xahau|n/a|
|96|GenesisMints|Xahau|n/a|


## UINT8
Expand All @@ -343,7 +362,7 @@ Type 16
|3|TransactionResult|Metadata|n/a|
|16|TickSize|Orderbooks|n/a|
|17|UNLModifyDisabling|negativeUNL|n/a|
|18|HookResult|Hooks|n/a|
|18|HookResult|Xahau|n/a|
|19|WasLockingChainSend|XLS38|n/a|


Expand Down Expand Up @@ -375,7 +394,7 @@ Type 19
|2|Hashes|Ledger|n/a|
|3|Amendments|Ledger|n/a|
|4|NFTokenOffers|XLS20|n/a|
|5|HookNamespaces|Hooks|n/a|
|5|HookNamespaces|Xahau|n/a|


## ISSUE
Expand Down Expand Up @@ -418,7 +437,9 @@ Type 25
|-386|telWRONG_NETWORK|NetworkID|n/a|
|-385|telREQUIRES_NETWORK_ID|NetworkID|n/a|
|-384|telNETWORK_ID_MAKES_TX_NON_CANONICAL|NetworkID|n/a|
|-383|telNON_LOCAL_EMITTED_TXN|Hooks|n/a|
|-383|telNON_LOCAL_EMITTED_TXN|Xahau|n/a|
|-382|telIMPORT_VL_KEY_NOT_RECOGNISED|Xahau|n/a|
|-381|telCAN_NOT_QUEUE_IMPORT|Xahau|n/a|
|-299|temMALFORMED|legacy|n/a|
|-298|temBAD_AMOUNT|legacy|n/a|
|-297|temBAD_CURRENCY|legacy|n/a|
Expand Down Expand Up @@ -457,16 +478,16 @@ Type 25
|-264|temUNKNOWN|legacy|n/a|
|-263|temSEQ_AND_TICKET|legacy|n/a|
|-262|temBAD_NFTOKEN_TRANSFER_FEE|XLS20|n/a|
|-261|temAMM_BAD_TOKENS|XLS30|n/a|
|-261|temBAD_AMM_TOKENS|XLS30|n/a|
|-260|temXCHAIN_EQUAL_DOOR_ACCOUNTS|XLS38|n/a|
|-259|temXCHAIN_BAD_PROOF|XLS38|n/a|
|-258|temXCHAIN_BRIDGE_BAD_ISSUES|XLS38|n/a|
|-257|temXCHAIN_BRIDGE_NONDOOR_OWNER|XLS38|n/a|
|-256|temXCHAIN_BRIDGE_BAD_MIN_ACCOUNT_CREATE_AMOUNT|XLS38|n/a|
|-255|temXCHAIN_BRIDGE_BAD_REWARD_AMOUNT|XLS38|n/a|
|-254|temXCHAIN_TOO_MANY_ATTESTATIONS|XLS38|n/a|
|-253|temHOOK_DATA_TOO_LARGE|Hooks|n/a|
|-252|temHOOK_REJECTED|Hooks|n/a|
|-254|temXCHAIN_TOO_MANY_ATTESTATIONS|Xahau|n/a|
|-253|temHOOK_DATA_TOO_LARGE|Xahau|n/a|
|-252|temHOOK_REJECTED|Xahau|n/a|
|-199|tefFAILURE|legacy|n/a|
|-198|tefALREADY|legacy|n/a|
|-197|tefBAD_ADD_AUTH|legacy|n/a|
Expand All @@ -488,6 +509,8 @@ Type 25
|-181|tefTOO_BIG|legacy|n/a|
|-180|tefNO_TICKET|Tickets|n/a|
|-179|tefNFTOKEN_IS_NOT_TRANSFERABLE|XLS20|n/a|
|-178|tefPAST_IMPORT_SEQ|Xahau|n/a|
|-177|tefPAST_IMPORT_VL_SEQ|Xahau|n/a|
|-99|terRETRY|legacy|n/a|
|-98|terFUNDS_SPENT|legacy|n/a|
|-97|terINSUF_FEE_B|legacy|n/a|
Expand All @@ -501,7 +524,8 @@ Type 25
|-89|terQUEUED|legacy|n/a|
|-88|terPRE_TICKET|Tickets|n/a|
|-87|terNO_AMM|XLS30|n/a|
|-86|terNO_HOOK|Hooks|n/a|
|-86|terSUBMITTED|XLS38|n/a|
|-85|terNO_HOOK|Xahau|n/a|
|0|tesSUCCESS|legacy|n/a|
|100|tecCLAIM|legacy|n/a|
|101|tecPATH_PARTIAL|legacy|n/a|
Expand Down Expand Up @@ -541,7 +565,7 @@ Type 25
|150|tecKILLED|legacy|n/a|
|151|tecHAS_OBLIGATIONS|legacy|n/a|
|152|tecTOO_SOON|legacy|n/a|
|153|tecHOOK_REJECTED|Hooks|n/a|
|153|tecHOOK_REJECTED|Xahau|n/a|
|154|tecMAX_SEQUENCE_REACHED|legacy|n/a|
|155|tecNO_SUITABLE_NFTOKEN_PAGE|XLS20|n/a|
|156|tecNFTOKEN_BUY_SELL_MISMATCH|XLS20|n/a|
Expand All @@ -550,29 +574,33 @@ Type 25
|159|tecINSUFFICIENT_FUNDS|legacy|n/a|
|160|tecOBJECT_NOT_FOUND|legacy|n/a|
|161|tecINSUFFICIENT_PAYMENT|legacy|n/a|
|162|tecAMM_UNFUNDED|XLS30|n/a|
|162|tecUNFUNDED_AMM|XLS30|n/a|
|163|tecAMM_BALANCE|XLS30|n/a|
|164|tecAMM_FAILED_DEPOSIT|XLS30|n/a|
|165|tecAMM_FAILED_WITHDRAW|XLS30|n/a|
|166|tecAMM_INVALID_TOKENS|XLS30|n/a|
|167|tecAMM_FAILED_BID|XLS30|n/a|
|168|tecAMM_FAILED_VOTE|XLS30|n/a|
|169|tecXCHAIN_BAD_TRANSFER_ISSUE|XLS38|n/a|
|170|tecXCHAIN_NO_CLAIM_ID|XLS38|n/a|
|171|tecXCHAIN_BAD_CLAIM_ID|XLS38|n/a|
|172|tecXCHAIN_CLAIM_NO_QUORUM|XLS38|n/a|
|173|tecXCHAIN_PROOF_UNKNOWN_KEY|XLS38|n/a|
|174|tecXCHAIN_CREATE_ACCOUNT_NONXRP_ISSUE|XLS38|n/a|
|175|tecXCHAIN_WRONG_CHAIN|XLS38|n/a|
|176|tecXCHAIN_REWARD_MISMATCH|XLS38|n/a|
|177|tecXCHAIN_NO_SIGNERS_LIST|XLS38|n/a|
|178|tecXCHAIN_SENDING_ACCOUNT_MISMATCH|XLS38|n/a|
|179|tecXCHAIN_INSUFF_CREATE_AMOUNT|XLS38|n/a|
|180|tecXCHAIN_ACCOUNT_CREATE_PAST|XLS38|n/a|
|181|tecXCHAIN_ACCOUNT_CREATE_TOO_MANY|XLS38|n/a|
|182|tecXCHAIN_PAYMENT_FAILED|XLS38|n/a|
|183|tecXCHAIN_SELF_COMMIT|XLS38|n/a|
|184|tecXCHAIN_BAD_PUBLIC_KEY_ACCOUNT_PAIR|XLS38|n/a|
|185|tecXCHAIN_CREATE_ACCOUNT_DISABLED|XLS30|n/a|
|164|tecAMM_FAILED|XLS30|n/a|
|165|tecAMM_INVALID_TOKENS|XLS30|n/a|
|166|tecAMM_EMPTY|XLS30|n/a|
|167|tecAMM_NOT_EMPTY|XLS30|n/a|
|168|tecAMM_ACCOUNT|XLS30|n/a|
|169|tecINCOMPLETE|XLS30|n/a|
|170|tecXCHAIN_BAD_TRANSFER_ISSUE|XLS38|n/a|
|171|tecXCHAIN_NO_CLAIM_ID|XLS38|n/a|
|172|tecXCHAIN_BAD_CLAIM_ID|XLS38|n/a|
|173|tecXCHAIN_CLAIM_NO_QUORUM|XLS38|n/a|
|174|tecXCHAIN_PROOF_UNKNOWN_KEY|XLS38|n/a|
|175|tecXCHAIN_CREATE_ACCOUNT_NONXRP_ISSUE|XLS38|n/a|
|176|tecXCHAIN_WRONG_CHAIN|XLS38|n/a|
|177|tecXCHAIN_REWARD_MISMATCH|XLS38|n/a|
|178|tecXCHAIN_NO_SIGNERS_LIST|XLS38|n/a|
|179|tecXCHAIN_SENDING_ACCOUNT_MISMATCH|XLS38|n/a|
|180|tecXCHAIN_INSUFF_CREATE_AMOUNT|XLS38|n/a|
|181|tecXCHAIN_ACCOUNT_CREATE_PAST|XLS38|n/a|
|182|tecXCHAIN_ACCOUNT_CREATE_TOO_MANY|XLS38|n/a|
|183|tecXCHAIN_PAYMENT_FAILED|XLS38|n/a|
|184|tecXCHAIN_SELF_COMMIT|XLS38|n/a|
|185|tecXCHAIN_BAD_PUBLIC_KEY_ACCOUNT_PAIR|XLS38|n/a|
|186|tecXCHAIN_CREATE_ACCOUNT_DISABLED|XLS38|n/a|
|187|tecREQUIRES_FLAG|Xahau|n/a|
|188|tecPRECISION_LOSS|Xahau|n/a|
|255|tecLAST_POSSIBLE_ENTRY|Xahau|n/a|


Loading

0 comments on commit 1b66366

Please sign in to comment.