ripple-binary-codec
Advanced tools
Comparing version
@@ -694,2 +694,22 @@ { | ||
[ | ||
"GasPrice", | ||
{ | ||
"isSerialized": true, | ||
"isSigningField": true, | ||
"isVLEncoded": false, | ||
"nth": 54, | ||
"type": "UInt32" | ||
} | ||
], | ||
[ | ||
"ComputationAllowance", | ||
{ | ||
"isSerialized": true, | ||
"isSigningField": true, | ||
"isVLEncoded": false, | ||
"nth": 55, | ||
"type": "UInt32" | ||
} | ||
], | ||
[ | ||
"IndexNext", | ||
@@ -3035,4 +3055,6 @@ { | ||
"tefNO_TICKET": -180, | ||
"tefNO_WASM": -177, | ||
"tefPAST_SEQ": -190, | ||
"tefTOO_BIG": -181, | ||
"tefWASM_FIELD_NOT_INCLUDED": -176, | ||
"tefWRONG_PRIOR": -189, | ||
@@ -3039,0 +3061,0 @@ |
@@ -25,4 +25,5 @@ import { SerializedType } from '../types/serialized-type'; | ||
* Present rippled types in a typed and updatable format. | ||
* For an example of the input format see `definitions.json` | ||
* To generate a new definitions file from rippled source code, use this tool: https://github.com/RichardAH/xrpl-codec-gen | ||
* For an example of the input format see `definitions.json`. | ||
* To generate a new definitions file from rippled source code, use the tool at | ||
* `packages/ripple-binary-codec/tools/generateDefinitions.js`. | ||
* | ||
@@ -29,0 +30,0 @@ * See the definitions.test.js file for examples of how to create your own updated definitions.json. |
@@ -17,4 +17,5 @@ "use strict"; | ||
* Present rippled types in a typed and updatable format. | ||
* For an example of the input format see `definitions.json` | ||
* To generate a new definitions file from rippled source code, use this tool: https://github.com/RichardAH/xrpl-codec-gen | ||
* For an example of the input format see `definitions.json`. | ||
* To generate a new definitions file from rippled source code, use the tool at | ||
* `packages/ripple-binary-codec/tools/generateDefinitions.js`. | ||
* | ||
@@ -21,0 +22,0 @@ * See the definitions.test.js file for examples of how to create your own updated definitions.json. |
@@ -12,3 +12,4 @@ import { type DefinitionsData, XrplDefinitionsBase } from './xrpl-definitions-base'; | ||
* For an example of the input format see `definitions.json` | ||
* To generate a new definitions file from rippled source code, use this tool: https://github.com/RichardAH/xrpl-codec-gen | ||
* To generate a new definitions file from rippled source code, use the tool at | ||
* `packages/ripple-binary-codec/tools/generateDefinitions.js`. | ||
* | ||
@@ -15,0 +16,0 @@ * See the definitions.test.js file for examples of how to create your own updated definitions.json. |
@@ -15,3 +15,4 @@ "use strict"; | ||
* For an example of the input format see `definitions.json` | ||
* To generate a new definitions file from rippled source code, use this tool: https://github.com/RichardAH/xrpl-codec-gen | ||
* To generate a new definitions file from rippled source code, use the tool at | ||
* `packages/ripple-binary-codec/tools/generateDefinitions.js`. | ||
* | ||
@@ -18,0 +19,0 @@ * See the definitions.test.js file for examples of how to create your own updated definitions.json. |
@@ -25,4 +25,5 @@ import { SerializedType } from '../types/serialized-type'; | ||
* Present rippled types in a typed and updatable format. | ||
* For an example of the input format see `definitions.json` | ||
* To generate a new definitions file from rippled source code, use this tool: https://github.com/RichardAH/xrpl-codec-gen | ||
* For an example of the input format see `definitions.json`. | ||
* To generate a new definitions file from rippled source code, use the tool at | ||
* `packages/ripple-binary-codec/tools/generateDefinitions.js`. | ||
* | ||
@@ -29,0 +30,0 @@ * See the definitions.test.js file for examples of how to create your own updated definitions.json. |
@@ -17,4 +17,5 @@ "use strict"; | ||
* Present rippled types in a typed and updatable format. | ||
* For an example of the input format see `definitions.json` | ||
* To generate a new definitions file from rippled source code, use this tool: https://github.com/RichardAH/xrpl-codec-gen | ||
* For an example of the input format see `definitions.json`. | ||
* To generate a new definitions file from rippled source code, use the tool at | ||
* `packages/ripple-binary-codec/tools/generateDefinitions.js`. | ||
* | ||
@@ -21,0 +22,0 @@ * See the definitions.test.js file for examples of how to create your own updated definitions.json. |
@@ -12,3 +12,4 @@ import { type DefinitionsData, XrplDefinitionsBase } from './xrpl-definitions-base'; | ||
* For an example of the input format see `definitions.json` | ||
* To generate a new definitions file from rippled source code, use this tool: https://github.com/RichardAH/xrpl-codec-gen | ||
* To generate a new definitions file from rippled source code, use the tool at | ||
* `packages/ripple-binary-codec/tools/generateDefinitions.js`. | ||
* | ||
@@ -15,0 +16,0 @@ * See the definitions.test.js file for examples of how to create your own updated definitions.json. |
@@ -15,3 +15,4 @@ "use strict"; | ||
* For an example of the input format see `definitions.json` | ||
* To generate a new definitions file from rippled source code, use this tool: https://github.com/RichardAH/xrpl-codec-gen | ||
* To generate a new definitions file from rippled source code, use the tool at | ||
* `packages/ripple-binary-codec/tools/generateDefinitions.js`. | ||
* | ||
@@ -18,0 +19,0 @@ * See the definitions.test.js file for examples of how to create your own updated definitions.json. |
{ | ||
"name": "ripple-binary-codec", | ||
"version": "2.4.0-smartescrow.0", | ||
"version": "2.4.0-smartescrow.1", | ||
"description": "XRP Ledger binary codec", | ||
@@ -47,3 +47,3 @@ "files": [ | ||
}, | ||
"gitHead": "4934ad3686c563c13e7e2832f57e7890dd96fd1a" | ||
"gitHead": "a5e2e341e910a7f57e3edd4050450040d29f543f" | ||
} |
@@ -694,2 +694,22 @@ { | ||
[ | ||
"GasPrice", | ||
{ | ||
"isSerialized": true, | ||
"isSigningField": true, | ||
"isVLEncoded": false, | ||
"nth": 54, | ||
"type": "UInt32" | ||
} | ||
], | ||
[ | ||
"ComputationAllowance", | ||
{ | ||
"isSerialized": true, | ||
"isSigningField": true, | ||
"isVLEncoded": false, | ||
"nth": 55, | ||
"type": "UInt32" | ||
} | ||
], | ||
[ | ||
"IndexNext", | ||
@@ -3035,4 +3055,6 @@ { | ||
"tefNO_TICKET": -180, | ||
"tefNO_WASM": -177, | ||
"tefPAST_SEQ": -190, | ||
"tefTOO_BIG": -181, | ||
"tefWASM_FIELD_NOT_INCLUDED": -176, | ||
"tefWRONG_PRIOR": -189, | ||
@@ -3039,0 +3061,0 @@ |
@@ -60,3 +60,3 @@ # Definitions | ||
To generate a new definitions file from rippled source code, use this tool: https://github.com/RichardAH/xrpl-codec-gen | ||
To generate a new definitions file from rippled source code, use [this tool](../../tools/generateDefinitions.js). | ||
@@ -73,3 +73,3 @@ ## Transaction Types | ||
1. Generate your own `definitions.json` file from rippled source code using [this tool](https://github.com/RichardAH/xrpl-codec-gen) (The default `definitions.json` for mainnet can be found [here](https://github.com/XRPLF/xrpl.js/blob/main/packages/ripple-binary-codec/src/enums/definitions.json)) | ||
1. Generate your own `definitions.json` file from rippled source code using [this tool](../../tools/generateDefinitions.js). The default `definitions.json` for mainnet can be found [here](https://github.com/XRPLF/xrpl.js/blob/main/packages/ripple-binary-codec/src/enums/definitions.json). | ||
2. Create new SerializedType classes for any new Types (So that encode/decode behavior is defined). The SerializedType classes correspond to "ST..." classes in Rippled. Note: This is very rarely required. | ||
@@ -76,0 +76,0 @@ |
@@ -41,4 +41,5 @@ import { SerializedType } from '../types/serialized-type' | ||
* Present rippled types in a typed and updatable format. | ||
* For an example of the input format see `definitions.json` | ||
* To generate a new definitions file from rippled source code, use this tool: https://github.com/RichardAH/xrpl-codec-gen | ||
* For an example of the input format see `definitions.json`. | ||
* To generate a new definitions file from rippled source code, use the tool at | ||
* `packages/ripple-binary-codec/tools/generateDefinitions.js`. | ||
* | ||
@@ -45,0 +46,0 @@ * See the definitions.test.js file for examples of how to create your own updated definitions.json. |
@@ -17,3 +17,4 @@ import { | ||
* For an example of the input format see `definitions.json` | ||
* To generate a new definitions file from rippled source code, use this tool: https://github.com/RichardAH/xrpl-codec-gen | ||
* To generate a new definitions file from rippled source code, use the tool at | ||
* `packages/ripple-binary-codec/tools/generateDefinitions.js`. | ||
* | ||
@@ -20,0 +21,0 @@ * See the definitions.test.js file for examples of how to create your own updated definitions.json. |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
997139
0.17%26765
0.28%