{
 "format": "zoobc-conformance-vectors/1",
 "edition": "0.6.1",
 "chapter": "35",
 "license": "CC BY 4.0, ZooBC Foundation",
 "cases": [
  {
   "id": "35-1-guard",
   "chapter": "35",
   "section": "1",
   "title": "One block per parent: re-send within the limit, one resume past it, the same after a restart",
   "kind": "35-producer-guard",
   "validity": "valid",
   "source": "computed",
   "inputs": {
    "parent_timestamp": "1793513527",
    "limit": "3600",
    "events": "draw 1793513542\ndraw 1793513602\ndraw 1793517142\ndraw 1793517202\nrestart\ndraw 1793513557\ndraw 1793517227"
   },
   "expected": {
    "actions": "sign 1793513542\nresend 1793513542\nsign 1793517142\nresend 1793517142\nresend 1793513542\nresend 1793517142"
   }
  },
  {
   "id": "35-1-guard-at-limit",
   "chapter": "35",
   "section": "1",
   "title": "A block stamped at the limit itself is within it",
   "kind": "35-producer-guard",
   "validity": "valid",
   "source": "computed",
   "inputs": {
    "parent_timestamp": "1793513527",
    "limit": "3600",
    "events": "draw 1793513542\ndraw 1793517127\ndraw 1793517128"
   },
   "expected": {
    "actions": "sign 1793513542\nresend 1793513542\nsign 1793517128"
   }
  },
  {
   "id": "35-1-guard-lost-bytes",
   "chapter": "35",
   "section": "1",
   "title": "After a restart with unreadable stored bytes the signed side refuses",
   "kind": "35-producer-guard",
   "validity": "valid",
   "source": "computed",
   "inputs": {
    "parent_timestamp": "1793513527",
    "limit": "3600",
    "events": "draw 1793513542\nrestart-lost\ndraw 1793513572\ndraw 1793517227"
   },
   "expected": {
    "actions": "sign 1793513542\nrefuse\nsign 1793517227"
   }
  },
  {
   "id": "35-1-guard-values",
   "chapter": "35",
   "section": "1",
   "title": "The guard's stated values",
   "kind": "reference",
   "validity": "valid",
   "source": "computed",
   "inputs": {},
   "expected": {
    "default_recovery_limit_seconds": "3600",
    "pruned_below": "tip - 720",
    "slots_per_parent": "2 (within the limit, past it)"
   }
  },
  {
   "id": "35-2-body",
   "chapter": "35",
   "section": "2",
   "title": "Two headers by one blocksmith over one parent: signatures, the 544-byte body and its hash",
   "kind": "35-report-body",
   "validity": "valid",
   "source": "computed",
   "inputs": {
    "seed": "e40dfcf9bcaf9468c0d0cc6cd42d5f9511c76388cbc0a7b3be65ba5f2239388a",
    "header1": "5902000046d8e66a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006fbbeb57e9c7948cbd056e62f80c6b840b9432fc0bd2f9edf88ae9a1e0c532f200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041ac95d64c57201f1a100e1e2323ea09174698b7188e6ac8720e267657dfed6",
    "header2": "5902000055d8e66a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006fbbeb57e9c7948cbd056e62f80c6b840b9432fc0bd2f9edf88ae9a1e0c532f200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041ac95d64c57201f1a100e1e2323ea09174698b7188e6ac8720e267657dfed6"
   },
   "expected": {
    "public_key": "6fbbeb57e9c7948cbd056e62f80c6b840b9432fc0bd2f9edf88ae9a1e0c532f2",
    "signature1": "19bc735e5d2fb10e2d534d9cfd7ca0ce4cb30df906348ed7637c09396968e9e3118ec088191b14f55d41a5b35ea7d018af3f4fcebbd2702370a44a98265f350b",
    "signature2": "d49b03ec2dc672f2e99bf06e1859ee326d8d6c3d4635435063f03344ca1e5675484aab0eb99e4569f4189afad2e3246efdfaa886164908d8fb9fcea9d7f4c601",
    "body": "cc0000005902000046d8e66a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006fbbeb57e9c7948cbd056e62f80c6b840b9432fc0bd2f9edf88ae9a1e0c532f200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041ac95d64c57201f1a100e1e2323ea09174698b7188e6ac8720e267657dfed619bc735e5d2fb10e2d534d9cfd7ca0ce4cb30df906348ed7637c09396968e9e3118ec088191b14f55d41a5b35ea7d018af3f4fcebbd2702370a44a98265f350bcc0000005902000055d8e66a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006fbbeb57e9c7948cbd056e62f80c6b840b9432fc0bd2f9edf88ae9a1e0c532f200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041ac95d64c57201f1a100e1e2323ea09174698b7188e6ac8720e267657dfed6d49b03ec2dc672f2e99bf06e1859ee326d8d6c3d4635435063f03344ca1e5675484aab0eb99e4569f4189afad2e3246efdfaa886164908d8fb9fcea9d7f4c601",
    "length": "544",
    "body_hash": "8ebeb14bb163dd1dbc0c45c84e1e084a29f434c5bc168489bb2192db79795966"
   }
  },
  {
   "id": "35-2-parse",
   "chapter": "35",
   "section": "2",
   "title": "The body reads back into two 204-byte headers",
   "kind": "35-report-parse",
   "validity": "valid",
   "source": "computed",
   "inputs": {
    "body": "cc0000005902000046d8e66a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006fbbeb57e9c7948cbd056e62f80c6b840b9432fc0bd2f9edf88ae9a1e0c532f200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041ac95d64c57201f1a100e1e2323ea09174698b7188e6ac8720e267657dfed619bc735e5d2fb10e2d534d9cfd7ca0ce4cb30df906348ed7637c09396968e9e3118ec088191b14f55d41a5b35ea7d018af3f4fcebbd2702370a44a98265f350bcc0000005902000055d8e66a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006fbbeb57e9c7948cbd056e62f80c6b840b9432fc0bd2f9edf88ae9a1e0c532f200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041ac95d64c57201f1a100e1e2323ea09174698b7188e6ac8720e267657dfed6d49b03ec2dc672f2e99bf06e1859ee326d8d6c3d4635435063f03344ca1e5675484aab0eb99e4569f4189afad2e3246efdfaa886164908d8fb9fcea9d7f4c601"
   },
   "expected": {
    "len1": "204",
    "len2": "204",
    "signature1": "19bc735e5d2fb10e2d534d9cfd7ca0ce4cb30df906348ed7637c09396968e9e3118ec088191b14f55d41a5b35ea7d018af3f4fcebbd2702370a44a98265f350b",
    "signature2": "d49b03ec2dc672f2e99bf06e1859ee326d8d6c3d4635435063f03344ca1e5675484aab0eb99e4569f4189afad2e3246efdfaa886164908d8fb9fcea9d7f4c601"
   }
  },
  {
   "id": "35-2-cut",
   "chapter": "35",
   "section": "2",
   "title": "The body cut to 543 bytes",
   "kind": "35-report-parse",
   "validity": "invalid",
   "source": "computed",
   "inputs": {
    "body": "cc0000005902000046d8e66a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006fbbeb57e9c7948cbd056e62f80c6b840b9432fc0bd2f9edf88ae9a1e0c532f200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041ac95d64c57201f1a100e1e2323ea09174698b7188e6ac8720e267657dfed619bc735e5d2fb10e2d534d9cfd7ca0ce4cb30df906348ed7637c09396968e9e3118ec088191b14f55d41a5b35ea7d018af3f4fcebbd2702370a44a98265f350bcc0000005902000055d8e66a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006fbbeb57e9c7948cbd056e62f80c6b840b9432fc0bd2f9edf88ae9a1e0c532f200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041ac95d64c57201f1a100e1e2323ea09174698b7188e6ac8720e267657dfed6d49b03ec2dc672f2e99bf06e1859ee326d8d6c3d4635435063f03344ca1e5675484aab0eb99e4569f4189afad2e3246efdfaa886164908d8fb9fcea9d7f4c6"
   },
   "expected": {
    "error": "EquivocationReport header length out of range"
   }
  },
  {
   "id": "35-2-trailing",
   "chapter": "35",
   "section": "2",
   "title": "The body with one byte appended",
   "kind": "35-report-parse",
   "validity": "invalid",
   "source": "computed",
   "inputs": {
    "body": "cc0000005902000046d8e66a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006fbbeb57e9c7948cbd056e62f80c6b840b9432fc0bd2f9edf88ae9a1e0c532f200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041ac95d64c57201f1a100e1e2323ea09174698b7188e6ac8720e267657dfed619bc735e5d2fb10e2d534d9cfd7ca0ce4cb30df906348ed7637c09396968e9e3118ec088191b14f55d41a5b35ea7d018af3f4fcebbd2702370a44a98265f350bcc0000005902000055d8e66a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006fbbeb57e9c7948cbd056e62f80c6b840b9432fc0bd2f9edf88ae9a1e0c532f200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041ac95d64c57201f1a100e1e2323ea09174698b7188e6ac8720e267657dfed6d49b03ec2dc672f2e99bf06e1859ee326d8d6c3d4635435063f03344ca1e5675484aab0eb99e4569f4189afad2e3246efdfaa886164908d8fb9fcea9d7f4c60100"
   },
   "expected": {
    "error": "EquivocationReport: trailing bytes"
   }
  },
  {
   "id": "35-2-too-short",
   "chapter": "35",
   "section": "2",
   "title": "A body of three bytes",
   "kind": "35-report-parse",
   "validity": "invalid",
   "source": "computed",
   "inputs": {
    "body": "cc0000"
   },
   "expected": {
    "error": "EquivocationReport body too short"
   }
  },
  {
   "id": "35-2-zero-length",
   "chapter": "35",
   "section": "2",
   "title": "A header length of 0",
   "kind": "35-report-parse",
   "validity": "invalid",
   "source": "computed",
   "inputs": {
    "body": "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
   },
   "expected": {
    "error": "EquivocationReport header length out of range"
   }
  },
  {
   "id": "35-2-over-4096",
   "chapter": "35",
   "section": "2",
   "title": "A header length of 4,097",
   "kind": "35-report-parse",
   "validity": "invalid",
   "source": "computed",
   "inputs": {
    "body": "01100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cc0000005902000055d8e66a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006fbbeb57e9c7948cbd056e62f80c6b840b9432fc0bd2f9edf88ae9a1e0c532f200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041ac95d64c57201f1a100e1e2323ea09174698b7188e6ac8720e267657dfed6d49b03ec2dc672f2e99bf06e1859ee326d8d6c3d4635435063f03344ca1e5675484aab0eb99e4569f4189afad2e3246efdfaa886164908d8fb9fcea9d7f4c601"
   },
   "expected": {
    "error": "EquivocationReport header length out of range"
   }
  },
  {
   "id": "35-2-sizes",
   "chapter": "35",
   "section": "2",
   "title": "The stated body sizes",
   "kind": "reference",
   "validity": "valid",
   "source": "computed",
   "inputs": {},
   "expected": {
    "two_204_byte_headers": "544",
    "two_284_byte_headers": "704",
    "type": "60",
    "version": "1",
    "fee": "0",
    "survival": "0"
   }
  },
  {
   "id": "35-3-accepted",
   "chapter": "35",
   "section": "3",
   "title": "A valid report judged at height 331",
   "kind": "35-report-validity",
   "validity": "valid",
   "source": "computed",
   "inputs": {
    "seed": "e40dfcf9bcaf9468c0d0cc6cd42d5f9511c76388cbc0a7b3be65ba5f2239388a",
    "header1": "5902000046d8e66a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006fbbeb57e9c7948cbd056e62f80c6b840b9432fc0bd2f9edf88ae9a1e0c532f200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041ac95d64c57201f1a100e1e2323ea09174698b7188e6ac8720e267657dfed6",
    "header2": "5902000055d8e66a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006fbbeb57e9c7948cbd056e62f80c6b840b9432fc0bd2f9edf88ae9a1e0c532f200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041ac95d64c57201f1a100e1e2323ea09174698b7188e6ac8720e267657dfed6",
    "edit": "",
    "fee": "0",
    "parent_in_chain": "true",
    "parent_height": "300",
    "parent_timestamp": "1793513527",
    "height": "331",
    "limit": "",
    "producer_registered": "true",
    "sender_registered": "true",
    "charged": ""
   },
   "expected": {
    "equivocated_height": "301",
    "verdict": "accepted"
   }
  },
  {
   "id": "35-3-bad-signature",
   "chapter": "35",
   "section": "3",
   "title": "Header 2 changed after signing (body offset 276 from 55 to 56)",
   "kind": "35-report-validity",
   "validity": "invalid",
   "source": "computed",
   "inputs": {
    "seed": "e40dfcf9bcaf9468c0d0cc6cd42d5f9511c76388cbc0a7b3be65ba5f2239388a",
    "header1": "5902000046d8e66a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006fbbeb57e9c7948cbd056e62f80c6b840b9432fc0bd2f9edf88ae9a1e0c532f200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041ac95d64c57201f1a100e1e2323ea09174698b7188e6ac8720e267657dfed6",
    "header2": "5902000055d8e66a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006fbbeb57e9c7948cbd056e62f80c6b840b9432fc0bd2f9edf88ae9a1e0c532f200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041ac95d64c57201f1a100e1e2323ea09174698b7188e6ac8720e267657dfed6",
    "edit": "276:56",
    "fee": "0",
    "parent_in_chain": "true",
    "parent_height": "300",
    "parent_timestamp": "1793513527",
    "height": "331",
    "limit": "",
    "producer_registered": "true",
    "sender_registered": "true",
    "charged": ""
   },
   "expected": {
    "error": "EquivocationReport: a header signature does not verify under the producer key"
   }
  },
  {
   "id": "35-3-same-block",
   "chapter": "35",
   "section": "3",
   "title": "Header 2 replaced by header 1",
   "kind": "35-report-validity",
   "validity": "invalid",
   "source": "computed",
   "inputs": {
    "seed": "e40dfcf9bcaf9468c0d0cc6cd42d5f9511c76388cbc0a7b3be65ba5f2239388a",
    "header1": "5902000046d8e66a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006fbbeb57e9c7948cbd056e62f80c6b840b9432fc0bd2f9edf88ae9a1e0c532f200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041ac95d64c57201f1a100e1e2323ea09174698b7188e6ac8720e267657dfed6",
    "header2": "5902000046d8e66a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006fbbeb57e9c7948cbd056e62f80c6b840b9432fc0bd2f9edf88ae9a1e0c532f200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041ac95d64c57201f1a100e1e2323ea09174698b7188e6ac8720e267657dfed6",
    "edit": "",
    "fee": "0",
    "parent_in_chain": "true",
    "parent_height": "300",
    "parent_timestamp": "1793513527",
    "height": "331",
    "limit": "",
    "producer_registered": "true",
    "sender_registered": "true",
    "charged": ""
   },
   "expected": {
    "error": "EquivocationReport: the two headers are the same block"
   }
  },
  {
   "id": "35-3-too-old",
   "chapter": "35",
   "section": "3",
   "title": "The valid report judged at height 1,022",
   "kind": "35-report-validity",
   "validity": "invalid",
   "source": "computed",
   "inputs": {
    "seed": "e40dfcf9bcaf9468c0d0cc6cd42d5f9511c76388cbc0a7b3be65ba5f2239388a",
    "header1": "5902000046d8e66a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006fbbeb57e9c7948cbd056e62f80c6b840b9432fc0bd2f9edf88ae9a1e0c532f200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041ac95d64c57201f1a100e1e2323ea09174698b7188e6ac8720e267657dfed6",
    "header2": "5902000055d8e66a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006fbbeb57e9c7948cbd056e62f80c6b840b9432fc0bd2f9edf88ae9a1e0c532f200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041ac95d64c57201f1a100e1e2323ea09174698b7188e6ac8720e267657dfed6",
    "edit": "",
    "fee": "0",
    "parent_in_chain": "true",
    "parent_height": "300",
    "parent_timestamp": "1793513527",
    "height": "1022",
    "limit": "",
    "producer_registered": "true",
    "sender_registered": "true",
    "charged": ""
   },
   "expected": {
    "error": "EquivocationReport: evidence older than 720 blocks"
   }
  },
  {
   "id": "35-3-last-height",
   "chapter": "35",
   "section": "3",
   "title": "The valid report judged at height 1,021, the last height of the window",
   "kind": "35-report-validity",
   "validity": "valid",
   "source": "computed",
   "inputs": {
    "seed": "e40dfcf9bcaf9468c0d0cc6cd42d5f9511c76388cbc0a7b3be65ba5f2239388a",
    "header1": "5902000046d8e66a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006fbbeb57e9c7948cbd056e62f80c6b840b9432fc0bd2f9edf88ae9a1e0c532f200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041ac95d64c57201f1a100e1e2323ea09174698b7188e6ac8720e267657dfed6",
    "header2": "5902000055d8e66a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006fbbeb57e9c7948cbd056e62f80c6b840b9432fc0bd2f9edf88ae9a1e0c532f200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041ac95d64c57201f1a100e1e2323ea09174698b7188e6ac8720e267657dfed6",
    "edit": "",
    "fee": "0",
    "parent_in_chain": "true",
    "parent_height": "300",
    "parent_timestamp": "1793513527",
    "height": "1021",
    "limit": "",
    "producer_registered": "true",
    "sender_registered": "true",
    "charged": ""
   },
   "expected": {
    "equivocated_height": "301",
    "verdict": "accepted"
   }
  },
  {
   "id": "35-3-fee",
   "chapter": "35",
   "section": "3",
   "title": "The valid report with fee 1",
   "kind": "35-report-validity",
   "validity": "invalid",
   "source": "computed",
   "inputs": {
    "seed": "e40dfcf9bcaf9468c0d0cc6cd42d5f9511c76388cbc0a7b3be65ba5f2239388a",
    "header1": "5902000046d8e66a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006fbbeb57e9c7948cbd056e62f80c6b840b9432fc0bd2f9edf88ae9a1e0c532f200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041ac95d64c57201f1a100e1e2323ea09174698b7188e6ac8720e267657dfed6",
    "header2": "5902000055d8e66a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006fbbeb57e9c7948cbd056e62f80c6b840b9432fc0bd2f9edf88ae9a1e0c532f200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041ac95d64c57201f1a100e1e2323ea09174698b7188e6ac8720e267657dfed6",
    "edit": "",
    "fee": "1",
    "parent_in_chain": "true",
    "parent_height": "300",
    "parent_timestamp": "1793513527",
    "height": "331",
    "limit": "",
    "producer_registered": "true",
    "sender_registered": "true",
    "charged": ""
   },
   "expected": {
    "error": "Transaction fee must be exactly 0: a node duty declares a fee of exactly zero (this one declares 1)"
   }
  },
  {
   "id": "35-3-short-header",
   "chapter": "35",
   "section": "3",
   "title": "A header of 203 bytes",
   "kind": "35-report-validity",
   "validity": "invalid",
   "source": "computed",
   "inputs": {
    "seed": "e40dfcf9bcaf9468c0d0cc6cd42d5f9511c76388cbc0a7b3be65ba5f2239388a",
    "header1": "5902000046d8e66a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006fbbeb57e9c7948cbd056e62f80c6b840b9432fc0bd2f9edf88ae9a1e0c532f200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041ac95d64c57201f1a100e1e2323ea09174698b7188e6ac8720e267657dfed6",
    "header2": "5902000055d8e66a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006fbbeb57e9c7948cbd056e62f80c6b840b9432fc0bd2f9edf88ae9a1e0c532f200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041ac95d64c57201f1a100e1e2323ea09174698b7188e6ac8720e267657dfe",
    "edit": "",
    "fee": "0",
    "parent_in_chain": "true",
    "parent_height": "300",
    "parent_timestamp": "1793513527",
    "height": "331",
    "limit": "",
    "producer_registered": "true",
    "sender_registered": "true",
    "charged": ""
   },
   "expected": {
    "error": "EquivocationReport: each header must be the signed header bytes (204, or 284 with the seed proof)"
   }
  },
  {
   "id": "35-3-two-blocksmiths",
   "chapter": "35",
   "section": "3",
   "title": "The second header names another blocksmith key",
   "kind": "35-report-validity",
   "validity": "invalid",
   "source": "computed",
   "inputs": {
    "seed": "e40dfcf9bcaf9468c0d0cc6cd42d5f9511c76388cbc0a7b3be65ba5f2239388a",
    "header1": "5902000046d8e66a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006fbbeb57e9c7948cbd056e62f80c6b840b9432fc0bd2f9edf88ae9a1e0c532f200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041ac95d64c57201f1a100e1e2323ea09174698b7188e6ac8720e267657dfed6",
    "header2": "5902000055d8e66a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005e8eb28dccaa94a992f7169fa67966207d96aa55df7d24d2d6ec1f538c9f215200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041ac95d64c57201f1a100e1e2323ea09174698b7188e6ac8720e267657dfed6",
    "edit": "",
    "fee": "0",
    "parent_in_chain": "true",
    "parent_height": "300",
    "parent_timestamp": "1793513527",
    "height": "331",
    "limit": "",
    "producer_registered": "true",
    "sender_registered": "true",
    "charged": ""
   },
   "expected": {
    "error": "EquivocationReport: the two headers name different producers"
   }
  },
  {
   "id": "35-3-two-parents",
   "chapter": "35",
   "section": "3",
   "title": "The second header builds on another parent",
   "kind": "35-report-validity",
   "validity": "invalid",
   "source": "computed",
   "inputs": {
    "seed": "e40dfcf9bcaf9468c0d0cc6cd42d5f9511c76388cbc0a7b3be65ba5f2239388a",
    "header1": "5902000046d8e66a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006fbbeb57e9c7948cbd056e62f80c6b840b9432fc0bd2f9edf88ae9a1e0c532f200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041ac95d64c57201f1a100e1e2323ea09174698b7188e6ac8720e267657dfed6",
    "header2": "5902000055d8e66a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006fbbeb57e9c7948cbd056e62f80c6b840b9432fc0bd2f9edf88ae9a1e0c532f2000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002222222222222222222222222222222222222222222222222222222222222222",
    "edit": "",
    "fee": "0",
    "parent_in_chain": "true",
    "parent_height": "300",
    "parent_timestamp": "1793513527",
    "height": "331",
    "limit": "",
    "producer_registered": "true",
    "sender_registered": "true",
    "charged": ""
   },
   "expected": {
    "error": "EquivocationReport: the two headers build on different parents (not one height)"
   }
  },
  {
   "id": "35-3-unknown-parent",
   "chapter": "35",
   "section": "3",
   "title": "The parent is not a block of this chain",
   "kind": "35-report-validity",
   "validity": "invalid",
   "source": "computed",
   "inputs": {
    "seed": "e40dfcf9bcaf9468c0d0cc6cd42d5f9511c76388cbc0a7b3be65ba5f2239388a",
    "header1": "5902000046d8e66a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006fbbeb57e9c7948cbd056e62f80c6b840b9432fc0bd2f9edf88ae9a1e0c532f200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041ac95d64c57201f1a100e1e2323ea09174698b7188e6ac8720e267657dfed6",
    "header2": "5902000055d8e66a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006fbbeb57e9c7948cbd056e62f80c6b840b9432fc0bd2f9edf88ae9a1e0c532f200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041ac95d64c57201f1a100e1e2323ea09174698b7188e6ac8720e267657dfed6",
    "edit": "",
    "fee": "0",
    "parent_in_chain": "false",
    "parent_height": "300",
    "parent_timestamp": "1793513527",
    "height": "331",
    "limit": "",
    "producer_registered": "true",
    "sender_registered": "true",
    "charged": ""
   },
   "expected": {
    "error": "EquivocationReport: the parent block is not in this chain"
   }
  },
  {
   "id": "35-3-straddle",
   "chapter": "35",
   "section": "3",
   "title": "Two headers on both sides of the recovery limit (15 s and 3,601 s after the parent)",
   "kind": "35-report-validity",
   "validity": "invalid",
   "source": "computed",
   "inputs": {
    "seed": "e40dfcf9bcaf9468c0d0cc6cd42d5f9511c76388cbc0a7b3be65ba5f2239388a",
    "header1": "5902000046d8e66a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006fbbeb57e9c7948cbd056e62f80c6b840b9432fc0bd2f9edf88ae9a1e0c532f200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041ac95d64c57201f1a100e1e2323ea09174698b7188e6ac8720e267657dfed6",
    "header2": "5902000048e6e66a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006fbbeb57e9c7948cbd056e62f80c6b840b9432fc0bd2f9edf88ae9a1e0c532f200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041ac95d64c57201f1a100e1e2323ea09174698b7188e6ac8720e267657dfed6",
    "edit": "",
    "fee": "0",
    "parent_in_chain": "true",
    "parent_height": "300",
    "parent_timestamp": "1793513527",
    "height": "331",
    "limit": "",
    "producer_registered": "true",
    "sender_registered": "true",
    "charged": ""
   },
   "expected": {
    "error": "EquivocationReport: the two headers straddle the recovery limit from their parent (a resume block; rule equivocation_resume_exempt)"
   }
  },
  {
   "id": "35-3-blocksmith-unregistered",
   "chapter": "35",
   "section": "3",
   "title": "The blocksmith key is no registered node",
   "kind": "35-report-validity",
   "validity": "invalid",
   "source": "computed",
   "inputs": {
    "seed": "e40dfcf9bcaf9468c0d0cc6cd42d5f9511c76388cbc0a7b3be65ba5f2239388a",
    "header1": "5902000046d8e66a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006fbbeb57e9c7948cbd056e62f80c6b840b9432fc0bd2f9edf88ae9a1e0c532f200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041ac95d64c57201f1a100e1e2323ea09174698b7188e6ac8720e267657dfed6",
    "header2": "5902000055d8e66a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006fbbeb57e9c7948cbd056e62f80c6b840b9432fc0bd2f9edf88ae9a1e0c532f200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041ac95d64c57201f1a100e1e2323ea09174698b7188e6ac8720e267657dfed6",
    "edit": "",
    "fee": "0",
    "parent_in_chain": "true",
    "parent_height": "300",
    "parent_timestamp": "1793513527",
    "height": "331",
    "limit": "",
    "producer_registered": "false",
    "sender_registered": "true",
    "charged": ""
   },
   "expected": {
    "error": "EquivocationReport: the producer key is no registered node"
   }
  },
  {
   "id": "35-3-reporter-unregistered",
   "chapter": "35",
   "section": "3",
   "title": "The sender is no registered node",
   "kind": "35-report-validity",
   "validity": "invalid",
   "source": "computed",
   "inputs": {
    "seed": "e40dfcf9bcaf9468c0d0cc6cd42d5f9511c76388cbc0a7b3be65ba5f2239388a",
    "header1": "5902000046d8e66a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006fbbeb57e9c7948cbd056e62f80c6b840b9432fc0bd2f9edf88ae9a1e0c532f200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041ac95d64c57201f1a100e1e2323ea09174698b7188e6ac8720e267657dfed6",
    "header2": "5902000055d8e66a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006fbbeb57e9c7948cbd056e62f80c6b840b9432fc0bd2f9edf88ae9a1e0c532f200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041ac95d64c57201f1a100e1e2323ea09174698b7188e6ac8720e267657dfed6",
    "edit": "",
    "fee": "0",
    "parent_in_chain": "true",
    "parent_height": "300",
    "parent_timestamp": "1793513527",
    "height": "331",
    "limit": "",
    "producer_registered": "true",
    "sender_registered": "false",
    "charged": ""
   },
   "expected": {
    "error": "EquivocationReport must be sent by a registered node's key"
   }
  },
  {
   "id": "35-3-charged",
   "chapter": "35",
   "section": "3",
   "title": "The blocksmith is already charged for height 301",
   "kind": "35-report-validity",
   "validity": "invalid",
   "source": "computed",
   "inputs": {
    "seed": "e40dfcf9bcaf9468c0d0cc6cd42d5f9511c76388cbc0a7b3be65ba5f2239388a",
    "header1": "5902000046d8e66a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006fbbeb57e9c7948cbd056e62f80c6b840b9432fc0bd2f9edf88ae9a1e0c532f200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041ac95d64c57201f1a100e1e2323ea09174698b7188e6ac8720e267657dfed6",
    "header2": "5902000055d8e66a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006fbbeb57e9c7948cbd056e62f80c6b840b9432fc0bd2f9edf88ae9a1e0c532f200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041ac95d64c57201f1a100e1e2323ea09174698b7188e6ac8720e267657dfed6",
    "edit": "",
    "fee": "0",
    "parent_in_chain": "true",
    "parent_height": "300",
    "parent_timestamp": "1793513527",
    "height": "331",
    "limit": "",
    "producer_registered": "true",
    "sender_registered": "true",
    "charged": "301@320"
   },
   "expected": {
    "error": "EquivocationReport: this producer is already charged for that height"
   }
  },
  {
   "id": "35-3-charged-later",
   "chapter": "35",
   "section": "3",
   "title": "A charge row written at the judged height itself does not count yet",
   "kind": "35-report-validity",
   "validity": "valid",
   "source": "computed",
   "inputs": {
    "seed": "e40dfcf9bcaf9468c0d0cc6cd42d5f9511c76388cbc0a7b3be65ba5f2239388a",
    "header1": "5902000046d8e66a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006fbbeb57e9c7948cbd056e62f80c6b840b9432fc0bd2f9edf88ae9a1e0c532f200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041ac95d64c57201f1a100e1e2323ea09174698b7188e6ac8720e267657dfed6",
    "header2": "5902000055d8e66a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006fbbeb57e9c7948cbd056e62f80c6b840b9432fc0bd2f9edf88ae9a1e0c532f200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041ac95d64c57201f1a100e1e2323ea09174698b7188e6ac8720e267657dfed6",
    "edit": "",
    "fee": "0",
    "parent_in_chain": "true",
    "parent_height": "300",
    "parent_timestamp": "1793513527",
    "height": "331",
    "limit": "",
    "producer_registered": "true",
    "sender_registered": "true",
    "charged": "301@331"
   },
   "expected": {
    "equivocated_height": "301",
    "verdict": "accepted"
   }
  },
  {
   "id": "35-4-once",
   "chapter": "35",
   "section": "4",
   "title": "A first report charges, a second of the same height is a no-op, another height charges again",
   "kind": "35-charge",
   "validity": "valid",
   "source": "computed",
   "inputs": {
    "reports": "N 301 331\nN 301 332\nN 305 340"
   },
   "expected": {
    "results": "charged\nno-op\ncharged",
    "rows": "N 301 331\nN 305 340",
    "misses": "N 2"
   }
  },
  {
   "id": "35-4-table",
   "chapter": "35",
   "section": "4",
   "title": "The equivocation_charge row",
   "kind": "reference",
   "validity": "valid",
   "source": "computed",
   "inputs": {},
   "expected": {
    "key": "(node_id, equivocated_height)",
    "columns": "node_id int64, equivocated_height uint32, reporter 36 bytes, height uint32",
    "pop_off": "rows with height > target are deleted",
    "stake_taken": "none"
   }
  },
  {
   "id": "35-5-straddle",
   "chapter": "35",
   "section": "5",
   "title": "Parent at 1,000,000,000, limit 3,600: headers at +15 and +3601",
   "kind": "35-resume-straddle",
   "validity": "valid",
   "source": "computed",
   "inputs": {
    "t1": "1000000015",
    "t2": "1000003601",
    "parent_timestamp": "1000000000",
    "limit": "3600"
   },
   "expected": {
    "exempt": "true"
   }
  },
  {
   "id": "35-5-both-within",
   "chapter": "35",
   "section": "5",
   "title": "Parent at 1,000,000,000, limit 3,600: headers at +15 and +30",
   "kind": "35-resume-straddle",
   "validity": "valid",
   "source": "computed",
   "inputs": {
    "t1": "1000000015",
    "t2": "1000000030",
    "parent_timestamp": "1000000000",
    "limit": "3600"
   },
   "expected": {
    "exempt": "false"
   }
  },
  {
   "id": "35-5-both-past",
   "chapter": "35",
   "section": "5",
   "title": "Parent at 1,000,000,000, limit 3,600: headers at +3601 and +7200",
   "kind": "35-resume-straddle",
   "validity": "valid",
   "source": "computed",
   "inputs": {
    "t1": "1000003601",
    "t2": "1000007200",
    "parent_timestamp": "1000000000",
    "limit": "3600"
   },
   "expected": {
    "exempt": "false"
   }
  },
  {
   "id": "35-5-at-limit",
   "chapter": "35",
   "section": "5",
   "title": "Parent at 1,000,000,000, limit 3,600: headers at +3600 and +15",
   "kind": "35-resume-straddle",
   "validity": "valid",
   "source": "computed",
   "inputs": {
    "t1": "1000003600",
    "t2": "1000000015",
    "parent_timestamp": "1000000000",
    "limit": "3600"
   },
   "expected": {
    "exempt": "false"
   }
  },
  {
   "id": "35-6-wire",
   "chapter": "35",
   "section": "6",
   "title": "The wire check's bounds",
   "kind": "reference",
   "validity": "valid",
   "source": "computed",
   "inputs": {},
   "expected": {
    "height_window": "[tip - 720, tip + 2]",
    "pairs_per_height": "256",
    "reported_set": "4096 (cleared when full)",
    "block_dropped": "never",
    "banned": "the producer key, unless the pair straddles the recovery limit"
   }
  },
  {
   "id": "35-6-outcome",
   "chapter": "35",
   "section": "6",
   "title": "A registered blocksmith that signs two headers over one parent",
   "kind": "reference",
   "validity": "valid",
   "source": "computed",
   "inputs": {},
   "expected": {
    "value": "blacklisted by every node that relays both; the first such node per (parent, producer) submits the report that charges one miss at the next block"
   }
  },
  {
   "id": "35-7-signature-and-non-signing",
   "chapter": "35",
   "section": "7",
   "title": "A spine signer gives a spine signature and a non-signing statement on one candidate at spine height 7",
   "kind": "35-spine-report",
   "validity": "valid",
   "source": "computed",
   "inputs": {
    "genesis": "1111111111111111111111111111111111111111111111111111111111111111",
    "seed": "2252ecf5785857fb892d18788f04d355c5f41f8815874ee88382860d6ce82d4a",
    "spine_height": "7",
    "header": "0100000023bbea6a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002222222222222222222222222222222222222222222222222222222222222222000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003333333333333333333333333333333333333333333333333333333333333333",
    "fee": "0",
    "height": "1000"
   },
   "expected": {
    "node_public_key": "85d66426e016158cc09ea2d932756a78040edfe0594f26f5016afa30400b9fc5",
    "identity": "8e1678c7246364493b27808788d397ced3ea58b6703ac9ba0a87fb8c85435aab",
    "spine_signature": "f64264d066206d85a5c19493d436881b5efdb65f3a9f2849d662f4b0a169d17c6284986aae7cc55d15d66af412617eea41f357ca68825cdc3345d6c1e0601206",
    "digest": "5988d937948a2aad57021d701a36fea2612c28a5b95e4dc814350cba1e52eb01",
    "statement_signature": "1ea1e13a454697370d9ab718ee7c80af1cbcf27da29dc477d4402497ef9ee4b0f3960802f31aadf67836ea5fe9d9eb81e75e5f2102fd062bafc102858c21bd0c",
    "body": "0700000085d66426e016158cc09ea2d932756a78040edfe0594f26f5016afa30400b9fc5cc0000000100000023bbea6a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002222222222222222222222222222222222222222222222222222222222222222000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003333333333333333333333333333333333333333333333333333333333333333f64264d066206d85a5c19493d436881b5efdb65f3a9f2849d662f4b0a169d17c6284986aae7cc55d15d66af412617eea41f357ca68825cdc3345d6c1e06012061ea1e13a454697370d9ab718ee7c80af1cbcf27da29dc477d4402497ef9ee4b0f3960802f31aadf67836ea5fe9d9eb81e75e5f2102fd062bafc102858c21bd0c",
    "length": "372",
    "body_hash": "f353f552df4137663ad289d5c93edfa38eb7d713efe668650002c17b9eed5416",
    "verdict": "valid",
    "charge": "7 1000",
    "misses": "1"
   },
   "note": "The genesis hash is the example value 11 × 32: a chain substitutes its own. Sent with fee 0 from a registered node's key, the voter registered, no charge row: the row (node_id, 7) is written and the node is charged one miss."
  },
  {
   "id": "35-7-appended",
   "chapter": "35",
   "section": "7",
   "title": "The body with one byte 00 appended (373 bytes)",
   "kind": "35-spine-report",
   "validity": "invalid",
   "source": "computed",
   "inputs": {
    "genesis": "1111111111111111111111111111111111111111111111111111111111111111",
    "seed": "2252ecf5785857fb892d18788f04d355c5f41f8815874ee88382860d6ce82d4a",
    "spine_height": "7",
    "header": "0100000023bbea6a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002222222222222222222222222222222222222222222222222222222222222222000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003333333333333333333333333333333333333333333333333333333333333333",
    "fee": "0",
    "height": "1000",
    "append": "00"
   },
   "expected": {
    "error": "SpineEquivocationReport: the body must be the header and two 64-byte signatures, nothing more"
   },
   "note": "The genesis hash is the example value 11 × 32: a chain substitutes its own."
  },
  {
   "id": "35-7-cut",
   "chapter": "35",
   "section": "7",
   "title": "The body cut to 371 bytes",
   "kind": "35-spine-report",
   "validity": "invalid",
   "source": "computed",
   "inputs": {
    "genesis": "1111111111111111111111111111111111111111111111111111111111111111",
    "seed": "2252ecf5785857fb892d18788f04d355c5f41f8815874ee88382860d6ce82d4a",
    "spine_height": "7",
    "header": "0100000023bbea6a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002222222222222222222222222222222222222222222222222222222222222222000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003333333333333333333333333333333333333333333333333333333333333333",
    "fee": "0",
    "height": "1000",
    "cut": "1"
   },
   "expected": {
    "error": "SpineEquivocationReport: the body must be the header and two 64-byte signatures, nothing more"
   },
   "note": "The genesis hash is the example value 11 × 32: a chain substitutes its own."
  },
  {
   "id": "35-7-height-8",
   "chapter": "35",
   "section": "7",
   "title": "The body with spine_height changed to 8",
   "kind": "35-spine-report",
   "validity": "invalid",
   "source": "computed",
   "inputs": {
    "genesis": "1111111111111111111111111111111111111111111111111111111111111111",
    "seed": "2252ecf5785857fb892d18788f04d355c5f41f8815874ee88382860d6ce82d4a",
    "spine_height": "7",
    "header": "0100000023bbea6a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002222222222222222222222222222222222222222222222222222222222222222000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003333333333333333333333333333333333333333333333333333333333333333",
    "fee": "0",
    "height": "1000",
    "body_height": "8"
   },
   "expected": {
    "error": "SpineEquivocationReport: the non-signing statement does not verify for that candidate and spine height"
   },
   "note": "The genesis hash is the example value 11 × 32: a chain substitutes its own."
  },
  {
   "id": "35-7-digest-8",
   "chapter": "35",
   "section": "7",
   "title": "The non-signing digest of the same candidate at spine height 8",
   "kind": "35-spine-report",
   "validity": "valid",
   "source": "computed",
   "inputs": {
    "genesis": "1111111111111111111111111111111111111111111111111111111111111111",
    "seed": "2252ecf5785857fb892d18788f04d355c5f41f8815874ee88382860d6ce82d4a",
    "spine_height": "8",
    "header": "0100000023bbea6a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002222222222222222222222222222222222222222222222222222222222222222000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003333333333333333333333333333333333333333333333333333333333333333",
    "fee": "0",
    "height": "1000"
   },
   "expected": {
    "digest": "a9e199f2b4b7cdce7f3dd4588b10ab782b6aa37642af980664af7cc2bb88ebb2",
    "verdict": "valid"
   },
   "note": "The genesis hash is the example value 11 × 32: a chain substitutes its own. The statement of the case above signs the digest at 7, not this one."
  },
  {
   "id": "35-7-statement-other-candidate",
   "chapter": "35",
   "section": "7",
   "title": "The statement replaced by the signer's statement on another candidate Q",
   "kind": "35-spine-report",
   "validity": "invalid",
   "source": "computed",
   "inputs": {
    "genesis": "1111111111111111111111111111111111111111111111111111111111111111",
    "seed": "2252ecf5785857fb892d18788f04d355c5f41f8815874ee88382860d6ce82d4a",
    "spine_height": "7",
    "header": "0100000023bbea6a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002222222222222222222222222222222222222222222222222222222222222222000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003333333333333333333333333333333333333333333333333333333333333333",
    "fee": "0",
    "height": "1000",
    "statement_header": "0100000024bbea6a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002222222222222222222222222222222222222222222222222222222222222222000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003333333333333333333333333333333333333333333333333333333333333333"
   },
   "expected": {
    "error": "SpineEquivocationReport: the non-signing statement does not verify for that candidate and spine height"
   },
   "note": "The genesis hash is the example value 11 × 32: a chain substitutes its own. Q is P with the timestamp 1,793,768,228: a no on another candidate is no contradiction."
  },
  {
   "id": "35-7-candidate-q",
   "chapter": "35",
   "section": "7",
   "title": "The identity of the other candidate Q",
   "kind": "35-spine-report",
   "validity": "valid",
   "source": "computed",
   "inputs": {
    "genesis": "1111111111111111111111111111111111111111111111111111111111111111",
    "seed": "2252ecf5785857fb892d18788f04d355c5f41f8815874ee88382860d6ce82d4a",
    "spine_height": "7",
    "header": "0100000024bbea6a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002222222222222222222222222222222222222222222222222222222222222222000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003333333333333333333333333333333333333333333333333333333333333333",
    "fee": "0",
    "height": "1000"
   },
   "expected": {
    "identity": "19f358eb55ce8e6c96de3793f0cf713d4fe14119367b55204d527aa0d2f8a591",
    "verdict": "valid"
   },
   "note": "The genesis hash is the example value 11 × 32: a chain substitutes its own."
  },
  {
   "id": "35-7-two-spine-signatures",
   "chapter": "35",
   "section": "7",
   "title": "The spine signature replaced by the signer's spine signature on Q (two candidates signed)",
   "kind": "35-spine-report",
   "validity": "invalid",
   "source": "computed",
   "inputs": {
    "genesis": "1111111111111111111111111111111111111111111111111111111111111111",
    "seed": "2252ecf5785857fb892d18788f04d355c5f41f8815874ee88382860d6ce82d4a",
    "spine_height": "7",
    "header": "0100000023bbea6a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002222222222222222222222222222222222222222222222222222222222222222000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003333333333333333333333333333333333333333333333333333333333333333",
    "fee": "0",
    "height": "1000",
    "spine_header": "0100000024bbea6a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002222222222222222222222222222222222222222222222222222222222222222000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003333333333333333333333333333333333333333333333333333333333333333"
   },
   "expected": {
    "error": "SpineEquivocationReport: the spine signature does not verify under the voter's key"
   },
   "note": "The genesis hash is the example value 11 × 32: a chain substitutes its own. Not reportable."
  },
  {
   "id": "35-7-charged",
   "chapter": "35",
   "section": "7",
   "title": "The valid body sent again after it was mined",
   "kind": "35-spine-report",
   "validity": "invalid",
   "source": "computed",
   "inputs": {
    "genesis": "1111111111111111111111111111111111111111111111111111111111111111",
    "seed": "2252ecf5785857fb892d18788f04d355c5f41f8815874ee88382860d6ce82d4a",
    "spine_height": "7",
    "header": "0100000023bbea6a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002222222222222222222222222222222222222222222222222222222222222222000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003333333333333333333333333333333333333333333333333333333333333333",
    "fee": "0",
    "height": "1000",
    "mined_at": "990"
   },
   "expected": {
    "error": "SpineEquivocationReport: this node is already charged for that spine height"
   },
   "note": "The genesis hash is the example value 11 × 32: a chain substitutes its own."
  },
  {
   "id": "35-7-fee",
   "chapter": "35",
   "section": "7",
   "title": "The valid body with fee 1",
   "kind": "35-spine-report",
   "validity": "invalid",
   "source": "computed",
   "inputs": {
    "genesis": "1111111111111111111111111111111111111111111111111111111111111111",
    "seed": "2252ecf5785857fb892d18788f04d355c5f41f8815874ee88382860d6ce82d4a",
    "spine_height": "7",
    "header": "0100000023bbea6a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002222222222222222222222222222222222222222222222222222222222222222000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003333333333333333333333333333333333333333333333333333333333333333",
    "fee": "1",
    "height": "1000"
   },
   "expected": {
    "error": "Transaction fee must be exactly 0: a node duty declares a fee of exactly zero (this one declares 1)"
   },
   "note": "The genesis hash is the example value 11 × 32: a chain substitutes its own."
  },
  {
   "id": "35-7-height-0",
   "chapter": "35",
   "section": "7",
   "title": "The statement and the body at spine height 0",
   "kind": "35-spine-report",
   "validity": "invalid",
   "source": "computed",
   "inputs": {
    "genesis": "1111111111111111111111111111111111111111111111111111111111111111",
    "seed": "2252ecf5785857fb892d18788f04d355c5f41f8815874ee88382860d6ce82d4a",
    "spine_height": "0",
    "header": "0100000023bbea6a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002222222222222222222222222222222222222222222222222222222222222222000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003333333333333333333333333333333333333333333333333333333333333333",
    "fee": "0",
    "height": "1000"
   },
   "expected": {
    "error": "SpineEquivocationReport: spine height 0 has no candidates"
   },
   "note": "The genesis hash is the example value 11 × 32: a chain substitutes its own."
  },
  {
   "id": "35-7-short-header",
   "chapter": "35",
   "section": "7",
   "title": "A candidate header of 203 bytes",
   "kind": "35-spine-report",
   "validity": "invalid",
   "source": "computed",
   "inputs": {
    "genesis": "1111111111111111111111111111111111111111111111111111111111111111",
    "seed": "2252ecf5785857fb892d18788f04d355c5f41f8815874ee88382860d6ce82d4a",
    "spine_height": "7",
    "header": "0100000023bbea6a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000022222222222222222222222222222222222222222222222222222222222222220000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000033333333333333333333333333333333333333333333333333333333333333",
    "fee": "0",
    "height": "1000"
   },
   "expected": {
    "error": "SpineEquivocationReport: the header must be the signed header bytes (204, or 284 with the seed proof)"
   },
   "note": "The genesis hash is the example value 11 × 32: a chain substitutes its own."
  },
  {
   "id": "35-7-voter-unregistered",
   "chapter": "35",
   "section": "7",
   "title": "The signer's key is no registered node",
   "kind": "35-spine-report",
   "validity": "invalid",
   "source": "computed",
   "inputs": {
    "genesis": "1111111111111111111111111111111111111111111111111111111111111111",
    "seed": "2252ecf5785857fb892d18788f04d355c5f41f8815874ee88382860d6ce82d4a",
    "spine_height": "7",
    "header": "0100000023bbea6a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002222222222222222222222222222222222222222222222222222222222222222000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003333333333333333333333333333333333333333333333333333333333333333",
    "fee": "0",
    "height": "1000",
    "voter_registered": "false"
   },
   "expected": {
    "error": "SpineEquivocationReport: the voter key is no registered node"
   },
   "note": "The genesis hash is the example value 11 × 32: a chain substitutes its own."
  },
  {
   "id": "35-7-sender-unregistered",
   "chapter": "35",
   "section": "7",
   "title": "The sender is no registered node",
   "kind": "35-spine-report",
   "validity": "invalid",
   "source": "computed",
   "inputs": {
    "genesis": "1111111111111111111111111111111111111111111111111111111111111111",
    "seed": "2252ecf5785857fb892d18788f04d355c5f41f8815874ee88382860d6ce82d4a",
    "spine_height": "7",
    "header": "0100000023bbea6a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002222222222222222222222222222222222222222222222222222222222222222000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003333333333333333333333333333333333333333333333333333333333333333",
    "fee": "0",
    "height": "1000",
    "sender_registered": "false"
   },
   "expected": {
    "error": "SpineEquivocationReport must be sent by a registered node's key"
   },
   "note": "The genesis hash is the example value 11 × 32: a chain substitutes its own."
  },
  {
   "id": "35-7-sizes",
   "chapter": "35",
   "section": "7",
   "title": "The stated sizes of a SpineEquivocationReport",
   "kind": "reference",
   "validity": "valid",
   "source": "computed",
   "inputs": {},
   "expected": {
    "with_204_byte_header": "372",
    "with_284_byte_header": "452",
    "type": "62",
    "version": "1",
    "fee": "0",
    "survival": "0",
    "statements_recorded_per_spine_height": "1024"
   }
  },
  {
   "id": "35-7-table",
   "chapter": "35",
   "section": "7",
   "title": "The spine_equivocation_charge row",
   "kind": "reference",
   "validity": "valid",
   "source": "computed",
   "inputs": {},
   "expected": {
    "key": "(node_id, spine_height)",
    "columns": "node_id int64, spine_height uint32, reporter 36 bytes, height uint32",
    "pop_off": "rows with height > target are deleted",
    "stake_taken": "none"
   }
  }
 ]
}
