Function validate_block_index
Source pub fn validate_block_index(json: &str) -> ValidationResult
Expand description
Validate a block index JSON string against the schema.
§Arguments
json - The JSON string to validate
§Returns
A vector of validation errors. An empty vector means the JSON is valid.
§Errors
Returns an error if the JSON cannot be parsed.