aboutsummaryrefslogtreecommitdiff
path: root/doc/schema/consistency_proof.schema.json
diff options
context:
space:
mode:
Diffstat (limited to 'doc/schema/consistency_proof.schema.json')
-rw-r--r--doc/schema/consistency_proof.schema.json30
1 files changed, 0 insertions, 30 deletions
diff --git a/doc/schema/consistency_proof.schema.json b/doc/schema/consistency_proof.schema.json
deleted file mode 100644
index 003f3c7..0000000
--- a/doc/schema/consistency_proof.schema.json
+++ /dev/null
@@ -1,30 +0,0 @@
-{
- "$schema": "https://json-schema.org/draft-07/schema#",
- "title": "inclusion_proof",
- "description": "JSON-formatted inclusion proof, version 0.",
-
- "type": "object",
- "required": [ "new_size", "old_size", "consistency_proof" ],
- "properties": {
- "new_size": {
- "description": "The tree size of the newer Merkle tree head.",
- "type": "integer",
- "minimum": 0
- },
- "old_size": {
- "description": "The tree size of the older Merkle tree head.",
- "type": "integer",
- "minimum": 0
- },
- "consistency_proof": {
- "description": "A list of base64-encoded node hashes that proves consistency",
- "type": "array",
- "items": {
- "description": "A node hash in base64",
- "type": "string",
- "minLength": 44,
- "maxLength": 44
- }
- }
- }
-}