mirror of
				https://github.com/XRPLF/clio.git
				synced 2025-11-04 11:55:51 +00:00 
			
		
		
		
	Account tx v1 api support (#874)
* Don't fail on ledger params for v1 * Different error on invalid ledger indexes for v1 * Allow forward and binary to be not bool for v1 * Minor fixes * Fix tests * Don't fail if input ledger index is out of range for v1 * Restore deleted test * Fix comparison of integers with different signedness * Updated default api version in README and example config
This commit is contained in:
		@@ -224,16 +224,16 @@ a database in each region, and the Clio nodes in each region use their region's
 | 
			
		||||
This is effectively two systems.
 | 
			
		||||
 | 
			
		||||
Clio supports API versioning as [described here](https://xrpl.org/request-formatting.html#api-versioning).
 | 
			
		||||
It's possible to configure `minimum`, `maximum` and `default` version like so: 
 | 
			
		||||
It's possible to configure `minimum`, `maximum` and `default` version like so:
 | 
			
		||||
```json
 | 
			
		||||
"api_version": {
 | 
			
		||||
    "min": 1,
 | 
			
		||||
    "max": 2,
 | 
			
		||||
    "default": 2 
 | 
			
		||||
    "default": 1
 | 
			
		||||
}
 | 
			
		||||
```
 | 
			
		||||
All of the above are optional. 
 | 
			
		||||
Clio will fallback to hardcoded defaults when not specified in the config file or configured values are outside 
 | 
			
		||||
All of the above are optional.
 | 
			
		||||
Clio will fallback to hardcoded defaults when not specified in the config file or configured values are outside
 | 
			
		||||
of the minimum and maximum supported versions hardcoded in `src/rpc/common/APIVersion.h`.
 | 
			
		||||
> **Note:** See `example-config.json` for more details. 
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user