{
  "brcNumber": 234,
  "profileVersion": 1,
  "addressPredicateCases": [
    {
      "id": "address-stage-0-positive",
      "stage": 0,
      "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "expectedMatches": true
    },
    {
      "id": "address-stage-1-positive",
      "stage": 1,
      "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "expectedMatches": true
    },
    {
      "id": "address-stage-1-valid-outside",
      "stage": 1,
      "address": "15W11111111111111111111111111nqR93",
      "expectedMatches": false
    },
    {
      "id": "address-stage-2-positive",
      "stage": 2,
      "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "expectedMatches": true
    },
    {
      "id": "address-stage-2-valid-outside",
      "stage": 2,
      "address": "18W11111111111111111111111111dJqTY",
      "expectedMatches": false
    },
    {
      "id": "address-stage-3-positive",
      "stage": 3,
      "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "expectedMatches": true
    },
    {
      "id": "address-stage-3-valid-outside",
      "stage": 3,
      "address": "1AW111111111111111111111111149niMy",
      "expectedMatches": false
    },
    {
      "id": "address-stage-4-positive",
      "stage": 4,
      "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "expectedMatches": true
    },
    {
      "id": "address-stage-4-valid-outside",
      "stage": 4,
      "address": "1BVzzzzzzzzzzzzzzzzzzzzzzzzzwvWnPV",
      "expectedMatches": false
    },
    {
      "id": "address-stage-5-positive",
      "stage": 5,
      "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "expectedMatches": true
    },
    {
      "id": "address-stage-5-valid-outside",
      "stage": 5,
      "address": "1DW11111111111111111111111111MN2jD",
      "expectedMatches": false
    },
    {
      "id": "address-stage-6-positive",
      "stage": 6,
      "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "expectedMatches": true
    },
    {
      "id": "address-stage-6-valid-outside",
      "stage": 6,
      "address": "1CSW1111111111111111111111112ViiaZ",
      "expectedMatches": false
    },
    {
      "id": "address-stage-7-positive",
      "stage": 7,
      "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "expectedMatches": true
    },
    {
      "id": "address-stage-7-valid-outside",
      "stage": 7,
      "address": "1CZW1111111111111111111111113VMDoH",
      "expectedMatches": false
    },
    {
      "id": "address-stage-8-positive",
      "stage": 8,
      "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "expectedMatches": true
    },
    {
      "id": "address-stage-8-valid-outside",
      "stage": 8,
      "address": "1CdW1111111111111111111111115QaBR7",
      "expectedMatches": false
    },
    {
      "id": "address-stage-9-positive",
      "stage": 9,
      "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "expectedMatches": true
    },
    {
      "id": "address-stage-9-valid-outside",
      "stage": 9,
      "address": "1CfW1111111111111111111111111w8uF5",
      "expectedMatches": false
    },
    {
      "id": "address-stage-10-positive",
      "stage": 10,
      "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "expectedMatches": true
    },
    {
      "id": "address-stage-10-valid-outside",
      "stage": 10,
      "address": "1CgVzzzzzzzzzzzzzzzzzzzzzzzzxd95wj",
      "expectedMatches": false
    },
    {
      "id": "address-stage-11-positive",
      "stage": 11,
      "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "expectedMatches": true
    },
    {
      "id": "address-stage-11-valid-outside",
      "stage": 11,
      "address": "1CiW1111111111111111111111111rqDi5",
      "expectedMatches": false
    },
    {
      "id": "address-stage-12-positive",
      "stage": 12,
      "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "expectedMatches": true
    },
    {
      "id": "address-stage-12-valid-outside",
      "stage": 12,
      "address": "1ChTVzzzzzzzzzzzzzzzzzzzzzzzxShv96",
      "expectedMatches": false
    },
    {
      "id": "address-stage-13-positive",
      "stage": 13,
      "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "expectedMatches": true
    },
    {
      "id": "address-stage-13-valid-outside",
      "stage": 13,
      "address": "1ChaW1111111111111111111111113jVCR",
      "expectedMatches": false
    },
    {
      "id": "address-stage-14-positive",
      "stage": 14,
      "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "expectedMatches": true
    },
    {
      "id": "address-stage-14-valid-outside",
      "stage": 14,
      "address": "1CheVzzzzzzzzzzzzzzzzzzzzzzzyxvdWs",
      "expectedMatches": false
    },
    {
      "id": "address-stage-15-positive",
      "stage": 15,
      "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "expectedMatches": true
    },
    {
      "id": "address-stage-15-valid-outside",
      "stage": 15,
      "address": "1ChgVzzzzzzzzzzzzzzzzzzzzzzzybj73T",
      "expectedMatches": false
    },
    {
      "id": "address-stage-16-positive",
      "stage": 16,
      "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "expectedMatches": true
    },
    {
      "id": "address-stage-16-valid-outside",
      "stage": 16,
      "address": "1ChhW111111111111111111111111uMDue",
      "expectedMatches": false
    },
    {
      "id": "address-stage-17-positive",
      "stage": 17,
      "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "expectedMatches": true
    },
    {
      "id": "address-stage-17-valid-outside",
      "stage": 17,
      "address": "1ChjW111111111111111111111112JesrU",
      "expectedMatches": false
    },
    {
      "id": "address-stage-18-positive",
      "stage": 18,
      "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "expectedMatches": true
    },
    {
      "id": "address-stage-18-valid-outside",
      "stage": 18,
      "address": "1ChidW11111111111111111111112Zhi6g",
      "expectedMatches": false
    },
    {
      "id": "address-stage-19-positive",
      "stage": 19,
      "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "expectedMatches": true
    },
    {
      "id": "address-stage-19-valid-outside",
      "stage": 19,
      "address": "1ChicmW11111111111111111111119RD8J",
      "expectedMatches": false
    },
    {
      "id": "address-stage-20-positive",
      "stage": 20,
      "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "expectedMatches": true
    },
    {
      "id": "address-stage-20-valid-outside",
      "stage": 20,
      "address": "1ChickfW111111111111111111112TQkJE",
      "expectedMatches": false
    },
    {
      "id": "address-stage-21-positive",
      "stage": 21,
      "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "expectedMatches": true
    },
    {
      "id": "address-stage-21-valid-outside",
      "stage": 21,
      "address": "1ChickeoW111111111111111111149as5V",
      "expectedMatches": false
    },
    {
      "id": "address-stage-22-positive",
      "stage": 22,
      "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "expectedMatches": true
    },
    {
      "id": "address-stage-22-valid-outside",
      "stage": 22,
      "address": "1ChickenPVzzzzzzzzzzzzzzzzzzyUy9VW",
      "expectedMatches": false
    },
    {
      "id": "address-stage-23-positive",
      "stage": 23,
      "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "expectedMatches": true
    },
    {
      "id": "address-stage-23-valid-outside",
      "stage": 23,
      "address": "1ChickenNvW1111111111111111121GgQR",
      "expectedMatches": false
    },
    {
      "id": "address-stage-24-positive",
      "stage": 24,
      "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "expectedMatches": true
    },
    {
      "id": "address-stage-24-valid-outside",
      "stage": 24,
      "address": "1ChickenNuhW11111111111111116Fxdfc",
      "expectedMatches": false
    },
    {
      "id": "address-stage-25-positive",
      "stage": 25,
      "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "expectedMatches": true
    },
    {
      "id": "address-stage-25-valid-outside",
      "stage": 25,
      "address": "1ChickenNughVzzzzzzzzzzzzzzzyEBK2z",
      "expectedMatches": false
    },
    {
      "id": "address-stage-26-positive",
      "stage": 26,
      "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "expectedMatches": true
    },
    {
      "id": "address-stage-26-valid-outside",
      "stage": 26,
      "address": "1ChickenNuggfW111111111111113PW6by",
      "expectedMatches": false
    },
    {
      "id": "address-stage-27-positive",
      "stage": 27,
      "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "expectedMatches": true
    },
    {
      "id": "address-stage-27-valid-outside",
      "stage": 27,
      "address": "1ChickenNuggeuVzzzzzzzzzzzzzxcUJXU",
      "expectedMatches": false
    },
    {
      "id": "address-invalid-checksum",
      "stage": 0,
      "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ2",
      "expectedMatches": false
    },
    {
      "id": "address-testnet-outside-profile",
      "stage": 0,
      "address": "mfWxJ45yp2SFn7UciZyNpvDM6P5f7LS17o",
      "expectedMatches": false
    },
    {
      "id": "address-whitespace-invalid",
      "stage": 0,
      "address": " 1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "expectedMatches": false
    }
  ],
  "txidPredicateCases": [
    {
      "id": "txid-stage-0-unrestricted",
      "stage": 0,
      "txid": "0000000000000000000000000000000000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-0-uppercase-normalization",
      "stage": 0,
      "txid": "9999999999999AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-1-lower",
      "stage": 1,
      "txid": "8000000000000000000000000000000000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-1-upper",
      "stage": 1,
      "txid": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-1-last-required-bit-wrong",
      "stage": 1,
      "txid": "1999999999999999999999999999999999999999999999999999999999999999",
      "expectedMatches": false
    },
    {
      "id": "txid-stage-1-uppercase-normalization",
      "stage": 1,
      "txid": "9999999999999AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-2-lower",
      "stage": 2,
      "txid": "8000000000000000000000000000000000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-2-upper",
      "stage": 2,
      "txid": "bfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-2-last-required-bit-wrong",
      "stage": 2,
      "txid": "d999999999999999999999999999999999999999999999999999999999999999",
      "expectedMatches": false
    },
    {
      "id": "txid-stage-2-uppercase-normalization",
      "stage": 2,
      "txid": "9999999999999AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-3-lower",
      "stage": 3,
      "txid": "8000000000000000000000000000000000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-3-upper",
      "stage": 3,
      "txid": "bfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-3-last-required-bit-wrong",
      "stage": 3,
      "txid": "d999999999999999999999999999999999999999999999999999999999999999",
      "expectedMatches": false
    },
    {
      "id": "txid-stage-3-uppercase-normalization",
      "stage": 3,
      "txid": "9999999999999AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-4-lower",
      "stage": 4,
      "txid": "8000000000000000000000000000000000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-4-upper",
      "stage": 4,
      "txid": "9fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-4-last-required-bit-wrong",
      "stage": 4,
      "txid": "b999999999999999999999999999999999999999999999999999999999999999",
      "expectedMatches": false
    },
    {
      "id": "txid-stage-4-uppercase-normalization",
      "stage": 4,
      "txid": "9999999999999AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-5-lower",
      "stage": 5,
      "txid": "9000000000000000000000000000000000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-5-upper",
      "stage": 5,
      "txid": "9fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-5-last-required-bit-wrong",
      "stage": 5,
      "txid": "8999999999999999999999999999999999999999999999999999999999999999",
      "expectedMatches": false
    },
    {
      "id": "txid-stage-5-uppercase-normalization",
      "stage": 5,
      "txid": "9999999999999AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-6-lower",
      "stage": 6,
      "txid": "9800000000000000000000000000000000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-6-upper",
      "stage": 6,
      "txid": "9fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-6-last-required-bit-wrong",
      "stage": 6,
      "txid": "9199999999999999999999999999999999999999999999999999999999999999",
      "expectedMatches": false
    },
    {
      "id": "txid-stage-6-uppercase-normalization",
      "stage": 6,
      "txid": "9999999999999AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-7-lower",
      "stage": 7,
      "txid": "9800000000000000000000000000000000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-7-upper",
      "stage": 7,
      "txid": "9fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-7-last-required-bit-wrong",
      "stage": 7,
      "txid": "9199999999999999999999999999999999999999999999999999999999999999",
      "expectedMatches": false
    },
    {
      "id": "txid-stage-7-uppercase-normalization",
      "stage": 7,
      "txid": "9999999999999AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-8-lower",
      "stage": 8,
      "txid": "9800000000000000000000000000000000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-8-upper",
      "stage": 8,
      "txid": "9bffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-8-last-required-bit-wrong",
      "stage": 8,
      "txid": "9d99999999999999999999999999999999999999999999999999999999999999",
      "expectedMatches": false
    },
    {
      "id": "txid-stage-8-uppercase-normalization",
      "stage": 8,
      "txid": "9999999999999AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-9-lower",
      "stage": 9,
      "txid": "9800000000000000000000000000000000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-9-upper",
      "stage": 9,
      "txid": "99ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-9-last-required-bit-wrong",
      "stage": 9,
      "txid": "9b99999999999999999999999999999999999999999999999999999999999999",
      "expectedMatches": false
    },
    {
      "id": "txid-stage-9-uppercase-normalization",
      "stage": 9,
      "txid": "9999999999999AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-10-lower",
      "stage": 10,
      "txid": "9800000000000000000000000000000000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-10-upper",
      "stage": 10,
      "txid": "99ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-10-last-required-bit-wrong",
      "stage": 10,
      "txid": "9b99999999999999999999999999999999999999999999999999999999999999",
      "expectedMatches": false
    },
    {
      "id": "txid-stage-10-uppercase-normalization",
      "stage": 10,
      "txid": "9999999999999AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-11-lower",
      "stage": 11,
      "txid": "9900000000000000000000000000000000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-11-upper",
      "stage": 11,
      "txid": "99ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-11-last-required-bit-wrong",
      "stage": 11,
      "txid": "9899999999999999999999999999999999999999999999999999999999999999",
      "expectedMatches": false
    },
    {
      "id": "txid-stage-11-uppercase-normalization",
      "stage": 11,
      "txid": "9999999999999AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-12-lower",
      "stage": 12,
      "txid": "9980000000000000000000000000000000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-12-upper",
      "stage": 12,
      "txid": "99ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-12-last-required-bit-wrong",
      "stage": 12,
      "txid": "9919999999999999999999999999999999999999999999999999999999999999",
      "expectedMatches": false
    },
    {
      "id": "txid-stage-12-uppercase-normalization",
      "stage": 12,
      "txid": "9999999999999AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-13-lower",
      "stage": 13,
      "txid": "9980000000000000000000000000000000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-13-upper",
      "stage": 13,
      "txid": "99ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-13-last-required-bit-wrong",
      "stage": 13,
      "txid": "9919999999999999999999999999999999999999999999999999999999999999",
      "expectedMatches": false
    },
    {
      "id": "txid-stage-13-uppercase-normalization",
      "stage": 13,
      "txid": "9999999999999AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-14-lower",
      "stage": 14,
      "txid": "9980000000000000000000000000000000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-14-upper",
      "stage": 14,
      "txid": "99bfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-14-last-required-bit-wrong",
      "stage": 14,
      "txid": "99d9999999999999999999999999999999999999999999999999999999999999",
      "expectedMatches": false
    },
    {
      "id": "txid-stage-14-uppercase-normalization",
      "stage": 14,
      "txid": "9999999999999AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-15-lower",
      "stage": 15,
      "txid": "9980000000000000000000000000000000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-15-upper",
      "stage": 15,
      "txid": "999fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-15-last-required-bit-wrong",
      "stage": 15,
      "txid": "99b9999999999999999999999999999999999999999999999999999999999999",
      "expectedMatches": false
    },
    {
      "id": "txid-stage-15-uppercase-normalization",
      "stage": 15,
      "txid": "9999999999999AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-16-lower",
      "stage": 16,
      "txid": "9980000000000000000000000000000000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-16-upper",
      "stage": 16,
      "txid": "999fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-16-last-required-bit-wrong",
      "stage": 16,
      "txid": "99b9999999999999999999999999999999999999999999999999999999999999",
      "expectedMatches": false
    },
    {
      "id": "txid-stage-16-uppercase-normalization",
      "stage": 16,
      "txid": "9999999999999AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-17-lower",
      "stage": 17,
      "txid": "9990000000000000000000000000000000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-17-upper",
      "stage": 17,
      "txid": "999fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-17-last-required-bit-wrong",
      "stage": 17,
      "txid": "9989999999999999999999999999999999999999999999999999999999999999",
      "expectedMatches": false
    },
    {
      "id": "txid-stage-17-uppercase-normalization",
      "stage": 17,
      "txid": "9999999999999AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-18-lower",
      "stage": 18,
      "txid": "9999000000000000000000000000000000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-18-upper",
      "stage": 18,
      "txid": "9999ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-18-last-required-bit-wrong",
      "stage": 18,
      "txid": "9998999999999999999999999999999999999999999999999999999999999999",
      "expectedMatches": false
    },
    {
      "id": "txid-stage-18-uppercase-normalization",
      "stage": 18,
      "txid": "9999999999999AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-19-lower",
      "stage": 19,
      "txid": "9999900000000000000000000000000000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-19-upper",
      "stage": 19,
      "txid": "99999fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-19-last-required-bit-wrong",
      "stage": 19,
      "txid": "9999899999999999999999999999999999999999999999999999999999999999",
      "expectedMatches": false
    },
    {
      "id": "txid-stage-19-uppercase-normalization",
      "stage": 19,
      "txid": "9999999999999AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-20-lower",
      "stage": 20,
      "txid": "9999990000000000000000000000000000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-20-upper",
      "stage": 20,
      "txid": "999999ffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-20-last-required-bit-wrong",
      "stage": 20,
      "txid": "9999989999999999999999999999999999999999999999999999999999999999",
      "expectedMatches": false
    },
    {
      "id": "txid-stage-20-uppercase-normalization",
      "stage": 20,
      "txid": "9999999999999AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-21-lower",
      "stage": 21,
      "txid": "9999999000000000000000000000000000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-21-upper",
      "stage": 21,
      "txid": "9999999fffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-21-last-required-bit-wrong",
      "stage": 21,
      "txid": "9999998999999999999999999999999999999999999999999999999999999999",
      "expectedMatches": false
    },
    {
      "id": "txid-stage-21-uppercase-normalization",
      "stage": 21,
      "txid": "9999999999999AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-22-lower",
      "stage": 22,
      "txid": "9999999900000000000000000000000000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-22-upper",
      "stage": 22,
      "txid": "99999999ffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-22-last-required-bit-wrong",
      "stage": 22,
      "txid": "9999999899999999999999999999999999999999999999999999999999999999",
      "expectedMatches": false
    },
    {
      "id": "txid-stage-22-uppercase-normalization",
      "stage": 22,
      "txid": "9999999999999AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-23-lower",
      "stage": 23,
      "txid": "9999999990000000000000000000000000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-23-upper",
      "stage": 23,
      "txid": "999999999fffffffffffffffffffffffffffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-23-last-required-bit-wrong",
      "stage": 23,
      "txid": "9999999989999999999999999999999999999999999999999999999999999999",
      "expectedMatches": false
    },
    {
      "id": "txid-stage-23-uppercase-normalization",
      "stage": 23,
      "txid": "9999999999999AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-24-lower",
      "stage": 24,
      "txid": "9999999999000000000000000000000000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-24-upper",
      "stage": 24,
      "txid": "9999999999ffffffffffffffffffffffffffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-24-last-required-bit-wrong",
      "stage": 24,
      "txid": "9999999998999999999999999999999999999999999999999999999999999999",
      "expectedMatches": false
    },
    {
      "id": "txid-stage-24-uppercase-normalization",
      "stage": 24,
      "txid": "9999999999999AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-25-lower",
      "stage": 25,
      "txid": "9999999999900000000000000000000000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-25-upper",
      "stage": 25,
      "txid": "99999999999fffffffffffffffffffffffffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-25-last-required-bit-wrong",
      "stage": 25,
      "txid": "9999999999899999999999999999999999999999999999999999999999999999",
      "expectedMatches": false
    },
    {
      "id": "txid-stage-25-uppercase-normalization",
      "stage": 25,
      "txid": "9999999999999AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-26-lower",
      "stage": 26,
      "txid": "9999999999990000000000000000000000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-26-upper",
      "stage": 26,
      "txid": "999999999999ffffffffffffffffffffffffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-26-last-required-bit-wrong",
      "stage": 26,
      "txid": "9999999999989999999999999999999999999999999999999999999999999999",
      "expectedMatches": false
    },
    {
      "id": "txid-stage-26-uppercase-normalization",
      "stage": 26,
      "txid": "9999999999999AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-27-lower",
      "stage": 27,
      "txid": "9999999999999000000000000000000000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-27-upper",
      "stage": 27,
      "txid": "9999999999999fffffffffffffffffffffffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "txid-stage-27-last-required-bit-wrong",
      "stage": 27,
      "txid": "9999999999998999999999999999999999999999999999999999999999999999",
      "expectedMatches": false
    },
    {
      "id": "txid-stage-27-uppercase-normalization",
      "stage": 27,
      "txid": "9999999999999AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
      "expectedMatches": true
    },
    {
      "id": "txid-short",
      "stage": 0,
      "txid": "999999999999999999999999999999999999999999999999999999999999999",
      "expectedMatches": false
    },
    {
      "id": "txid-long",
      "stage": 0,
      "txid": "99999999999999999999999999999999999999999999999999999999999999999",
      "expectedMatches": false
    },
    {
      "id": "txid-invalid-hex",
      "stage": 0,
      "txid": "g999999999999999999999999999999999999999999999999999999999999999",
      "expectedMatches": false
    },
    {
      "id": "txid-hex-prefix",
      "stage": 0,
      "txid": "0x9999999999999999999999999999999999999999999999999999999999999999",
      "expectedMatches": false
    },
    {
      "id": "txid-whitespace",
      "stage": 0,
      "txid": " 9999999999999999999999999999999999999999999999999999999999999999",
      "expectedMatches": false
    }
  ],
  "calendarCases": [
    {
      "anchor": "2028-10-20T00:00:00Z",
      "expectedGateTimes": {
        "1": "2029-04-20T00:00:00Z",
        "2": "2029-05-10T01:37:08Z",
        "3": "2029-06-01T03:23:59Z",
        "4": "2029-06-25T10:09:31Z",
        "5": "2029-07-22T03:11:36Z",
        "6": "2029-08-20T12:19:54Z",
        "7": "2029-09-21T19:59:01Z",
        "8": "2029-10-27T09:12:03Z",
        "9": "2029-12-05T11:44:23Z",
        "10": "2030-01-17T12:07:58Z",
        "11": "2030-03-05T19:45:53Z",
        "12": "2030-04-26T20:57:37Z",
        "13": "2030-06-23T03:04:30Z",
        "14": "2030-08-25T02:36:05Z",
        "15": "2030-11-02T09:16:49Z",
        "16": "2031-01-17T14:13:38Z",
        "17": "2031-04-11T10:04:08Z",
        "18": "2031-07-12T15:05:41Z",
        "19": "2031-10-22T01:25:23Z",
        "20": "2032-02-10T15:11:03Z",
        "21": "2032-06-12T08:43:17Z",
        "22": "2032-10-25T08:48:45Z",
        "23": "2033-03-22T20:54:45Z",
        "24": "2033-09-02T05:25:22Z",
        "25": "2034-02-28T21:59:02Z",
        "26": "2034-09-14T13:48:04Z",
        "27": "2035-04-20T00:00:00Z"
      }
    },
    {
      "anchor": "2028-08-31T12:34:56Z",
      "expectedGateTimes": {
        "1": "2029-02-28T12:34:56Z",
        "2": "2029-03-20T14:12:04Z",
        "3": "2029-04-11T15:58:55Z",
        "4": "2029-05-05T22:44:27Z",
        "5": "2029-06-01T15:46:32Z",
        "6": "2029-07-01T00:54:50Z",
        "7": "2029-08-02T08:33:57Z",
        "8": "2029-09-06T21:46:59Z",
        "9": "2029-10-16T00:19:19Z",
        "10": "2029-11-28T00:42:54Z",
        "11": "2030-01-14T08:20:49Z",
        "12": "2030-03-07T09:32:33Z",
        "13": "2030-05-03T15:39:26Z",
        "14": "2030-07-05T15:11:01Z",
        "15": "2030-09-12T21:51:45Z",
        "16": "2030-11-28T02:48:34Z",
        "17": "2031-02-19T22:39:04Z",
        "18": "2031-05-23T03:40:37Z",
        "19": "2031-09-01T14:00:19Z",
        "20": "2031-12-22T03:45:59Z",
        "21": "2032-04-22T21:18:13Z",
        "22": "2032-09-04T21:23:41Z",
        "23": "2033-01-31T09:29:41Z",
        "24": "2033-07-13T18:00:18Z",
        "25": "2034-01-09T10:33:58Z",
        "26": "2034-07-26T02:23:00Z",
        "27": "2035-02-28T12:34:56Z"
      }
    },
    {
      "anchor": "2028-02-29T23:59:59Z",
      "expectedGateTimes": {
        "1": "2028-08-29T23:59:59Z",
        "2": "2028-09-19T01:37:07Z",
        "3": "2028-10-11T03:23:58Z",
        "4": "2028-11-04T10:09:30Z",
        "5": "2028-12-01T03:11:35Z",
        "6": "2028-12-30T12:19:53Z",
        "7": "2029-01-31T19:59:00Z",
        "8": "2029-03-08T09:12:02Z",
        "9": "2029-04-16T11:44:22Z",
        "10": "2029-05-29T12:07:57Z",
        "11": "2029-07-15T19:45:52Z",
        "12": "2029-09-05T20:57:36Z",
        "13": "2029-11-02T03:04:29Z",
        "14": "2030-01-04T02:36:04Z",
        "15": "2030-03-14T09:16:48Z",
        "16": "2030-05-29T14:13:37Z",
        "17": "2030-08-21T10:04:07Z",
        "18": "2030-11-21T15:05:40Z",
        "19": "2031-03-03T01:25:22Z",
        "20": "2031-06-22T15:11:02Z",
        "21": "2031-10-23T08:43:16Z",
        "22": "2032-03-06T08:48:44Z",
        "23": "2032-08-01T20:54:44Z",
        "24": "2033-01-12T05:25:21Z",
        "25": "2033-07-10T21:59:01Z",
        "26": "2034-01-24T13:48:03Z",
        "27": "2034-08-29T23:59:59Z"
      }
    }
  ],
  "gateCases": [
    {
      "id": "gate-1-exact",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2029-04-20T00:00:00Z",
      "volume": "400000",
      "expectedCandidate": 1
    },
    {
      "id": "gate-1-time-minus-one-second",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2029-04-19T23:59:59Z",
      "volume": "400000",
      "expectedCandidate": 0
    },
    {
      "id": "gate-1-volume-minus-one",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2029-04-20T00:00:00Z",
      "volume": "399999",
      "expectedCandidate": 0
    },
    {
      "id": "gate-2-exact",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2029-05-10T01:37:08Z",
      "volume": "800000",
      "expectedCandidate": 2
    },
    {
      "id": "gate-2-time-minus-one-second",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2029-05-10T01:37:07Z",
      "volume": "800000",
      "expectedCandidate": 1
    },
    {
      "id": "gate-2-volume-minus-one",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2029-05-10T01:37:08Z",
      "volume": "799999",
      "expectedCandidate": 1
    },
    {
      "id": "gate-3-exact",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2029-06-01T03:23:59Z",
      "volume": "1200000",
      "expectedCandidate": 3
    },
    {
      "id": "gate-3-time-minus-one-second",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2029-06-01T03:23:58Z",
      "volume": "1200000",
      "expectedCandidate": 2
    },
    {
      "id": "gate-3-volume-minus-one",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2029-06-01T03:23:59Z",
      "volume": "1199999",
      "expectedCandidate": 2
    },
    {
      "id": "gate-4-exact",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2029-06-25T10:09:31Z",
      "volume": "1600000",
      "expectedCandidate": 4
    },
    {
      "id": "gate-4-time-minus-one-second",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2029-06-25T10:09:30Z",
      "volume": "1600000",
      "expectedCandidate": 3
    },
    {
      "id": "gate-4-volume-minus-one",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2029-06-25T10:09:31Z",
      "volume": "1599999",
      "expectedCandidate": 3
    },
    {
      "id": "gate-5-exact",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2029-07-22T03:11:36Z",
      "volume": "2000000",
      "expectedCandidate": 5
    },
    {
      "id": "gate-5-time-minus-one-second",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2029-07-22T03:11:35Z",
      "volume": "2000000",
      "expectedCandidate": 4
    },
    {
      "id": "gate-5-volume-minus-one",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2029-07-22T03:11:36Z",
      "volume": "1999999",
      "expectedCandidate": 4
    },
    {
      "id": "gate-6-exact",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2029-08-20T12:19:54Z",
      "volume": "2333334",
      "expectedCandidate": 6
    },
    {
      "id": "gate-6-time-minus-one-second",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2029-08-20T12:19:53Z",
      "volume": "2333334",
      "expectedCandidate": 5
    },
    {
      "id": "gate-6-volume-minus-one",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2029-08-20T12:19:54Z",
      "volume": "2333333",
      "expectedCandidate": 5
    },
    {
      "id": "gate-7-exact",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2029-09-21T19:59:01Z",
      "volume": "2666667",
      "expectedCandidate": 7
    },
    {
      "id": "gate-7-time-minus-one-second",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2029-09-21T19:59:00Z",
      "volume": "2666667",
      "expectedCandidate": 6
    },
    {
      "id": "gate-7-volume-minus-one",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2029-09-21T19:59:01Z",
      "volume": "2666666",
      "expectedCandidate": 6
    },
    {
      "id": "gate-8-exact",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2029-10-27T09:12:03Z",
      "volume": "3000000",
      "expectedCandidate": 8
    },
    {
      "id": "gate-8-time-minus-one-second",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2029-10-27T09:12:02Z",
      "volume": "3000000",
      "expectedCandidate": 7
    },
    {
      "id": "gate-8-volume-minus-one",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2029-10-27T09:12:03Z",
      "volume": "2999999",
      "expectedCandidate": 7
    },
    {
      "id": "gate-9-exact",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2029-12-05T11:44:23Z",
      "volume": "3333334",
      "expectedCandidate": 9
    },
    {
      "id": "gate-9-time-minus-one-second",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2029-12-05T11:44:22Z",
      "volume": "3333334",
      "expectedCandidate": 8
    },
    {
      "id": "gate-9-volume-minus-one",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2029-12-05T11:44:23Z",
      "volume": "3333333",
      "expectedCandidate": 8
    },
    {
      "id": "gate-10-exact",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2030-01-17T12:07:58Z",
      "volume": "3666667",
      "expectedCandidate": 10
    },
    {
      "id": "gate-10-time-minus-one-second",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2030-01-17T12:07:57Z",
      "volume": "3666667",
      "expectedCandidate": 9
    },
    {
      "id": "gate-10-volume-minus-one",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2030-01-17T12:07:58Z",
      "volume": "3666666",
      "expectedCandidate": 9
    },
    {
      "id": "gate-11-exact",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2030-03-05T19:45:53Z",
      "volume": "4000000",
      "expectedCandidate": 11
    },
    {
      "id": "gate-11-time-minus-one-second",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2030-03-05T19:45:52Z",
      "volume": "4000000",
      "expectedCandidate": 10
    },
    {
      "id": "gate-11-volume-minus-one",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2030-03-05T19:45:53Z",
      "volume": "3999999",
      "expectedCandidate": 10
    },
    {
      "id": "gate-12-exact",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2030-04-26T20:57:37Z",
      "volume": "4666667",
      "expectedCandidate": 12
    },
    {
      "id": "gate-12-time-minus-one-second",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2030-04-26T20:57:36Z",
      "volume": "4666667",
      "expectedCandidate": 11
    },
    {
      "id": "gate-12-volume-minus-one",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2030-04-26T20:57:37Z",
      "volume": "4666666",
      "expectedCandidate": 11
    },
    {
      "id": "gate-13-exact",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2030-06-23T03:04:30Z",
      "volume": "5333334",
      "expectedCandidate": 13
    },
    {
      "id": "gate-13-time-minus-one-second",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2030-06-23T03:04:29Z",
      "volume": "5333334",
      "expectedCandidate": 12
    },
    {
      "id": "gate-13-volume-minus-one",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2030-06-23T03:04:30Z",
      "volume": "5333333",
      "expectedCandidate": 12
    },
    {
      "id": "gate-14-exact",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2030-08-25T02:36:05Z",
      "volume": "6000000",
      "expectedCandidate": 14
    },
    {
      "id": "gate-14-time-minus-one-second",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2030-08-25T02:36:04Z",
      "volume": "6000000",
      "expectedCandidate": 13
    },
    {
      "id": "gate-14-volume-minus-one",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2030-08-25T02:36:05Z",
      "volume": "5999999",
      "expectedCandidate": 13
    },
    {
      "id": "gate-15-exact",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2030-11-02T09:16:49Z",
      "volume": "6666667",
      "expectedCandidate": 15
    },
    {
      "id": "gate-15-time-minus-one-second",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2030-11-02T09:16:48Z",
      "volume": "6666667",
      "expectedCandidate": 14
    },
    {
      "id": "gate-15-volume-minus-one",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2030-11-02T09:16:49Z",
      "volume": "6666666",
      "expectedCandidate": 14
    },
    {
      "id": "gate-16-exact",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2031-01-17T14:13:38Z",
      "volume": "7333334",
      "expectedCandidate": 16
    },
    {
      "id": "gate-16-time-minus-one-second",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2031-01-17T14:13:37Z",
      "volume": "7333334",
      "expectedCandidate": 15
    },
    {
      "id": "gate-16-volume-minus-one",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2031-01-17T14:13:38Z",
      "volume": "7333333",
      "expectedCandidate": 15
    },
    {
      "id": "gate-17-exact",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2031-04-11T10:04:08Z",
      "volume": "8000000",
      "expectedCandidate": 17
    },
    {
      "id": "gate-17-time-minus-one-second",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2031-04-11T10:04:07Z",
      "volume": "8000000",
      "expectedCandidate": 16
    },
    {
      "id": "gate-17-volume-minus-one",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2031-04-11T10:04:08Z",
      "volume": "7999999",
      "expectedCandidate": 16
    },
    {
      "id": "gate-18-exact",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2031-07-12T15:05:41Z",
      "volume": "16000000",
      "expectedCandidate": 18
    },
    {
      "id": "gate-18-time-minus-one-second",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2031-07-12T15:05:40Z",
      "volume": "16000000",
      "expectedCandidate": 17
    },
    {
      "id": "gate-18-volume-minus-one",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2031-07-12T15:05:41Z",
      "volume": "15999999",
      "expectedCandidate": 17
    },
    {
      "id": "gate-19-exact",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2031-10-22T01:25:23Z",
      "volume": "32000000",
      "expectedCandidate": 19
    },
    {
      "id": "gate-19-time-minus-one-second",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2031-10-22T01:25:22Z",
      "volume": "32000000",
      "expectedCandidate": 18
    },
    {
      "id": "gate-19-volume-minus-one",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2031-10-22T01:25:23Z",
      "volume": "31999999",
      "expectedCandidate": 18
    },
    {
      "id": "gate-20-exact",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2032-02-10T15:11:03Z",
      "volume": "64000000",
      "expectedCandidate": 20
    },
    {
      "id": "gate-20-time-minus-one-second",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2032-02-10T15:11:02Z",
      "volume": "64000000",
      "expectedCandidate": 19
    },
    {
      "id": "gate-20-volume-minus-one",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2032-02-10T15:11:03Z",
      "volume": "63999999",
      "expectedCandidate": 19
    },
    {
      "id": "gate-21-exact",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2032-06-12T08:43:17Z",
      "volume": "128000000",
      "expectedCandidate": 21
    },
    {
      "id": "gate-21-time-minus-one-second",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2032-06-12T08:43:16Z",
      "volume": "128000000",
      "expectedCandidate": 20
    },
    {
      "id": "gate-21-volume-minus-one",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2032-06-12T08:43:17Z",
      "volume": "127999999",
      "expectedCandidate": 20
    },
    {
      "id": "gate-22-exact",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2032-10-25T08:48:45Z",
      "volume": "256000000",
      "expectedCandidate": 22
    },
    {
      "id": "gate-22-time-minus-one-second",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2032-10-25T08:48:44Z",
      "volume": "256000000",
      "expectedCandidate": 21
    },
    {
      "id": "gate-22-volume-minus-one",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2032-10-25T08:48:45Z",
      "volume": "255999999",
      "expectedCandidate": 21
    },
    {
      "id": "gate-23-exact",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2033-03-22T20:54:45Z",
      "volume": "512000000",
      "expectedCandidate": 23
    },
    {
      "id": "gate-23-time-minus-one-second",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2033-03-22T20:54:44Z",
      "volume": "512000000",
      "expectedCandidate": 22
    },
    {
      "id": "gate-23-volume-minus-one",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2033-03-22T20:54:45Z",
      "volume": "511999999",
      "expectedCandidate": 22
    },
    {
      "id": "gate-24-exact",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2033-09-02T05:25:22Z",
      "volume": "1024000000",
      "expectedCandidate": 24
    },
    {
      "id": "gate-24-time-minus-one-second",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2033-09-02T05:25:21Z",
      "volume": "1024000000",
      "expectedCandidate": 23
    },
    {
      "id": "gate-24-volume-minus-one",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2033-09-02T05:25:22Z",
      "volume": "1023999999",
      "expectedCandidate": 23
    },
    {
      "id": "gate-25-exact",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2034-02-28T21:59:02Z",
      "volume": "2048000000",
      "expectedCandidate": 25
    },
    {
      "id": "gate-25-time-minus-one-second",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2034-02-28T21:59:01Z",
      "volume": "2048000000",
      "expectedCandidate": 24
    },
    {
      "id": "gate-25-volume-minus-one",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2034-02-28T21:59:02Z",
      "volume": "2047999999",
      "expectedCandidate": 24
    },
    {
      "id": "gate-26-exact",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2034-09-14T13:48:04Z",
      "volume": "4096000000",
      "expectedCandidate": 26
    },
    {
      "id": "gate-26-time-minus-one-second",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2034-09-14T13:48:03Z",
      "volume": "4096000000",
      "expectedCandidate": 25
    },
    {
      "id": "gate-26-volume-minus-one",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2034-09-14T13:48:04Z",
      "volume": "4095999999",
      "expectedCandidate": 25
    },
    {
      "id": "gate-27-exact",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2035-04-20T00:00:00Z",
      "volume": "8192000000",
      "expectedCandidate": 27
    },
    {
      "id": "gate-27-time-minus-one-second",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2035-04-19T23:59:59Z",
      "volume": "8192000000",
      "expectedCandidate": 26
    },
    {
      "id": "gate-27-volume-minus-one",
      "anchor": "2028-10-20T00:00:00Z",
      "mtp": "2035-04-20T00:00:00Z",
      "volume": "8191999999",
      "expectedCandidate": 26
    }
  ],
  "description": "Synthetic conformance inputs for the free-index contract. Hash and address predicate fixtures do not assert ownership or a spendable preimage. Decoded transactions, blocks, MTP and stage inputs exercise profile logic, not signatures, real blocks, consensus validity or deployment. Only acceptedBlocks affect state; observed orphan/rejected/mempool lists are audit observations.",
  "recommendedRecoveryRetentionBlocks": 100,
  "scriptHashDefinition": "RIPEMD160(SHA256(exact serialized locking-script bytes)), displayed in digest-byte order.",
  "scriptHashPredicateCases": [
    {
      "id": "script-stage-0-low",
      "stage": 0,
      "scriptHash": "0000000000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "script-stage-0-high",
      "stage": 0,
      "scriptHash": "ffffffffffffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "script-stage-1-low",
      "stage": 1,
      "scriptHash": "0000000000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "script-stage-1-high",
      "stage": 1,
      "scriptHash": "7fffffffffffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "script-stage-1-last-bit-flip",
      "stage": 1,
      "scriptHash": "8000000000000000000000000000000000000000",
      "expectedMatches": false
    },
    {
      "id": "script-stage-2-low",
      "stage": 2,
      "scriptHash": "4000000000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "script-stage-2-high",
      "stage": 2,
      "scriptHash": "7fffffffffffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "script-stage-2-last-bit-flip",
      "stage": 2,
      "scriptHash": "0000000000000000000000000000000000000000",
      "expectedMatches": false
    },
    {
      "id": "script-stage-3-low",
      "stage": 3,
      "scriptHash": "6000000000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "script-stage-3-high",
      "stage": 3,
      "scriptHash": "7fffffffffffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "script-stage-3-last-bit-flip",
      "stage": 3,
      "scriptHash": "4000000000000000000000000000000000000000",
      "expectedMatches": false
    },
    {
      "id": "script-stage-4-low",
      "stage": 4,
      "scriptHash": "7000000000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "script-stage-4-high",
      "stage": 4,
      "scriptHash": "7fffffffffffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "script-stage-4-last-bit-flip",
      "stage": 4,
      "scriptHash": "6000000000000000000000000000000000000000",
      "expectedMatches": false
    },
    {
      "id": "script-stage-5-low",
      "stage": 5,
      "scriptHash": "7000000000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "script-stage-5-high",
      "stage": 5,
      "scriptHash": "77ffffffffffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "script-stage-5-last-bit-flip",
      "stage": 5,
      "scriptHash": "7800000000000000000000000000000000000000",
      "expectedMatches": false
    },
    {
      "id": "script-stage-6-low",
      "stage": 6,
      "scriptHash": "7400000000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "script-stage-6-high",
      "stage": 6,
      "scriptHash": "77ffffffffffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "script-stage-6-last-bit-flip",
      "stage": 6,
      "scriptHash": "7000000000000000000000000000000000000000",
      "expectedMatches": false
    },
    {
      "id": "script-stage-7-low",
      "stage": 7,
      "scriptHash": "7600000000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "script-stage-7-high",
      "stage": 7,
      "scriptHash": "77ffffffffffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "script-stage-7-last-bit-flip",
      "stage": 7,
      "scriptHash": "7400000000000000000000000000000000000000",
      "expectedMatches": false
    },
    {
      "id": "script-stage-8-low",
      "stage": 8,
      "scriptHash": "7700000000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "script-stage-8-high",
      "stage": 8,
      "scriptHash": "77ffffffffffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "script-stage-8-last-bit-flip",
      "stage": 8,
      "scriptHash": "7600000000000000000000000000000000000000",
      "expectedMatches": false
    },
    {
      "id": "script-stage-9-low",
      "stage": 9,
      "scriptHash": "7700000000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "script-stage-9-high",
      "stage": 9,
      "scriptHash": "777fffffffffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "script-stage-9-last-bit-flip",
      "stage": 9,
      "scriptHash": "7780000000000000000000000000000000000000",
      "expectedMatches": false
    },
    {
      "id": "script-stage-10-low",
      "stage": 10,
      "scriptHash": "7740000000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "script-stage-10-high",
      "stage": 10,
      "scriptHash": "777fffffffffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "script-stage-10-last-bit-flip",
      "stage": 10,
      "scriptHash": "7700000000000000000000000000000000000000",
      "expectedMatches": false
    },
    {
      "id": "script-stage-11-low",
      "stage": 11,
      "scriptHash": "7760000000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "script-stage-11-high",
      "stage": 11,
      "scriptHash": "777fffffffffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "script-stage-11-last-bit-flip",
      "stage": 11,
      "scriptHash": "7740000000000000000000000000000000000000",
      "expectedMatches": false
    },
    {
      "id": "script-stage-12-low",
      "stage": 12,
      "scriptHash": "7770000000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "script-stage-12-high",
      "stage": 12,
      "scriptHash": "777fffffffffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "script-stage-12-last-bit-flip",
      "stage": 12,
      "scriptHash": "7760000000000000000000000000000000000000",
      "expectedMatches": false
    },
    {
      "id": "script-stage-13-low",
      "stage": 13,
      "scriptHash": "7770000000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "script-stage-13-high",
      "stage": 13,
      "scriptHash": "7777ffffffffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "script-stage-13-last-bit-flip",
      "stage": 13,
      "scriptHash": "7778000000000000000000000000000000000000",
      "expectedMatches": false
    },
    {
      "id": "script-stage-14-low",
      "stage": 14,
      "scriptHash": "7774000000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "script-stage-14-high",
      "stage": 14,
      "scriptHash": "7777ffffffffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "script-stage-14-last-bit-flip",
      "stage": 14,
      "scriptHash": "7770000000000000000000000000000000000000",
      "expectedMatches": false
    },
    {
      "id": "script-stage-15-low",
      "stage": 15,
      "scriptHash": "7776000000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "script-stage-15-high",
      "stage": 15,
      "scriptHash": "7777ffffffffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "script-stage-15-last-bit-flip",
      "stage": 15,
      "scriptHash": "7774000000000000000000000000000000000000",
      "expectedMatches": false
    },
    {
      "id": "script-stage-16-low",
      "stage": 16,
      "scriptHash": "7777000000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "script-stage-16-high",
      "stage": 16,
      "scriptHash": "7777ffffffffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "script-stage-16-last-bit-flip",
      "stage": 16,
      "scriptHash": "7776000000000000000000000000000000000000",
      "expectedMatches": false
    },
    {
      "id": "script-stage-17-low",
      "stage": 17,
      "scriptHash": "7777000000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "script-stage-17-high",
      "stage": 17,
      "scriptHash": "77777fffffffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "script-stage-17-last-bit-flip",
      "stage": 17,
      "scriptHash": "7777800000000000000000000000000000000000",
      "expectedMatches": false
    },
    {
      "id": "script-stage-18-low",
      "stage": 18,
      "scriptHash": "7777760000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "script-stage-18-high",
      "stage": 18,
      "scriptHash": "777777ffffffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "script-stage-18-last-bit-flip",
      "stage": 18,
      "scriptHash": "7777740000000000000000000000000000000000",
      "expectedMatches": false
    },
    {
      "id": "script-stage-19-low",
      "stage": 19,
      "scriptHash": "7777777000000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "script-stage-19-high",
      "stage": 19,
      "scriptHash": "7777777fffffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "script-stage-19-last-bit-flip",
      "stage": 19,
      "scriptHash": "7777776000000000000000000000000000000000",
      "expectedMatches": false
    },
    {
      "id": "script-stage-20-low",
      "stage": 20,
      "scriptHash": "7777777740000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "script-stage-20-high",
      "stage": 20,
      "scriptHash": "777777777fffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "script-stage-20-last-bit-flip",
      "stage": 20,
      "scriptHash": "7777777700000000000000000000000000000000",
      "expectedMatches": false
    },
    {
      "id": "script-stage-21-low",
      "stage": 21,
      "scriptHash": "7777777777000000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "script-stage-21-high",
      "stage": 21,
      "scriptHash": "7777777777ffffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "script-stage-21-last-bit-flip",
      "stage": 21,
      "scriptHash": "7777777776000000000000000000000000000000",
      "expectedMatches": false
    },
    {
      "id": "script-stage-22-low",
      "stage": 22,
      "scriptHash": "7777777777740000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "script-stage-22-high",
      "stage": 22,
      "scriptHash": "777777777777ffffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "script-stage-22-last-bit-flip",
      "stage": 22,
      "scriptHash": "7777777777700000000000000000000000000000",
      "expectedMatches": false
    },
    {
      "id": "script-stage-23-low",
      "stage": 23,
      "scriptHash": "7777777777777000000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "script-stage-23-high",
      "stage": 23,
      "scriptHash": "7777777777777fffffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "script-stage-23-last-bit-flip",
      "stage": 23,
      "scriptHash": "7777777777776000000000000000000000000000",
      "expectedMatches": false
    },
    {
      "id": "script-stage-24-low",
      "stage": 24,
      "scriptHash": "7777777777777740000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "script-stage-24-high",
      "stage": 24,
      "scriptHash": "777777777777777fffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "script-stage-24-last-bit-flip",
      "stage": 24,
      "scriptHash": "7777777777777700000000000000000000000000",
      "expectedMatches": false
    },
    {
      "id": "script-stage-25-low",
      "stage": 25,
      "scriptHash": "7777777777777777000000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "script-stage-25-high",
      "stage": 25,
      "scriptHash": "7777777777777777ffffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "script-stage-25-last-bit-flip",
      "stage": 25,
      "scriptHash": "7777777777777776000000000000000000000000",
      "expectedMatches": false
    },
    {
      "id": "script-stage-26-low",
      "stage": 26,
      "scriptHash": "7777777777777777700000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "script-stage-26-high",
      "stage": 26,
      "scriptHash": "777777777777777777ffffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "script-stage-26-last-bit-flip",
      "stage": 26,
      "scriptHash": "7777777777777777780000000000000000000000",
      "expectedMatches": false
    },
    {
      "id": "script-stage-27-low",
      "stage": 27,
      "scriptHash": "7777777777777777776000000000000000000000",
      "expectedMatches": true
    },
    {
      "id": "script-stage-27-high",
      "stage": 27,
      "scriptHash": "7777777777777777777fffffffffffffffffffff",
      "expectedMatches": true
    },
    {
      "id": "script-stage-27-last-bit-flip",
      "stage": 27,
      "scriptHash": "7777777777777777774000000000000000000000",
      "expectedMatches": false
    },
    {
      "id": "script-uppercase-normalization",
      "stage": 27,
      "scriptHash": "7777777777777777777AAAAAAAAAAAAAAAAAAAAA",
      "expectedMatches": true
    },
    {
      "id": "script-malformed-0",
      "stage": 0,
      "scriptHash": "777777777777777777777777777777777777777",
      "expectedMatches": false
    },
    {
      "id": "script-malformed-1",
      "stage": 0,
      "scriptHash": "77777777777777777777777777777777777777777",
      "expectedMatches": false
    },
    {
      "id": "script-malformed-2",
      "stage": 0,
      "scriptHash": "0x7777777777777777777777777777777777777777",
      "expectedMatches": false
    },
    {
      "id": "script-malformed-3",
      "stage": 0,
      "scriptHash": " 7777777777777777777777777777777777777777",
      "expectedMatches": false
    },
    {
      "id": "script-malformed-4",
      "stage": 0,
      "scriptHash": "gggggggggggggggggggggggggggggggggggggggg",
      "expectedMatches": false
    }
  ],
  "scriptHashMappingCases": [
    {
      "id": "script-bytes-0",
      "lockingScript": "",
      "expectedHash160": "b472a266d0bd89c13706a4132ccfb16f7c3b9fcb",
      "nativeSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
      "nativeReversedSha256": "55b852781b9995a44c939b64e441ae2724b96f99c8f4fb9a141cfc9842c4b0e3"
    },
    {
      "id": "script-bytes-1",
      "lockingScript": "51",
      "expectedHash160": "da1745e9b549bd0bfa1a569971c77eba30cd5a4b",
      "nativeSha256": "4ae81572f06e1b88fd5ced7a1a000945432e83e1551e6f721ee9c00b8cc33260",
      "nativeReversedSha256": "6032c38c0bc0e91e726f1e55e1832e434509001a7aed5cfd881b6ef07215e84a"
    },
    {
      "id": "script-bytes-2",
      "lockingScript": "6a",
      "expectedHash160": "41c98a140039816273e50db317422c11c2bfcc88",
      "nativeSha256": "189f40034be7a199f1fa9891668ee3ab6049f82d38c68be70f596eab2e1857b7",
      "nativeReversedSha256": "b757182eab6e590fe78bc6382df84960abe38e669198faf199a1e74b03409f18"
    },
    {
      "id": "script-bytes-3",
      "lockingScript": "76a914000000000000000000000000000000000000000088ac",
      "expectedHash160": "fc696d1f3995bc7d9c8e63839d266518658481f5",
      "nativeSha256": "75def5fcc8bd1a6e9718970604e2728eb114750f6cfd2a2e2cca9d319679b8ac",
      "nativeReversedSha256": "acb87996319dca2c2e2afd6c0f7514b18e72e204069718976e1abdc8fcf5de75"
    },
    {
      "id": "script-bytes-4",
      "lockingScript": "04010203047551",
      "expectedHash160": "2d2177457f085505f8d0cc204cc7d18c1229d033",
      "nativeSha256": "0c759c06853d4035a3f2535f626657ac76cdf15bd38a874981fa4b09d2072c32",
      "nativeReversedSha256": "322c07d2094bfa8149878ad35bf1cd76ac5766625f53f2a335403d85069c750c"
    },
    {
      "id": "stage-13-test-script",
      "lockingScript": "04892f00007551",
      "expectedHash160": "7773d1d47a0bceb825f0298f6abfc25b57365e20",
      "note": "Anyone-can-spend synthetic test script; not a recommendation for funds.",
      "nativeSha256": "bb5e278c72ec00a5363bd65f0f6b30642fffbfa3b16b05bbfc95afaadb9e3003",
      "nativeReversedSha256": "03309edbaaaf95fcbb056bb1a3bfff2f64306b0f5fd63b36a500ec728c275ebb"
    }
  ],
  "noticeRoundCases": [
    {
      "id": "fresh-notice-exact-deadline-and-following-child",
      "anchor": "2028-10-20T00:00:00Z",
      "acceptedBlocks": [
        {
          "blockId": "trigger",
          "mtp": "2029-04-20T00:00:00Z",
          "volume": "400000"
        },
        {
          "blockId": "one-second-early",
          "mtp": "2029-05-03T23:59:59Z",
          "volume": "400000"
        },
        {
          "blockId": "deadline",
          "mtp": "2029-05-04T00:00:00Z",
          "volume": "400000"
        },
        {
          "blockId": "effective-child",
          "mtp": "2029-05-04T00:00:01Z",
          "volume": "400000"
        }
      ],
      "expectedStages": [
        0,
        0,
        0,
        1
      ],
      "expectedPendingTargets": [
        1,
        1,
        1,
        null
      ],
      "expectedNoticeRoundActive": [
        true,
        true,
        true,
        false
      ],
      "expectedRemainingMtpSeconds": [
        1209600,
        1,
        0,
        null
      ]
    },
    {
      "id": "direct-jump-freezes-highest-eligible-target",
      "anchor": "2028-10-20T00:00:00Z",
      "acceptedBlocks": [
        {
          "blockId": "trigger",
          "mtp": "2035-04-20T00:00:00Z",
          "volume": "8192000000"
        },
        {
          "blockId": "deadline",
          "mtp": "2035-05-04T00:00:00Z",
          "volume": "8192000000"
        },
        {
          "blockId": "child",
          "mtp": "2035-05-04T00:00:01Z",
          "volume": "8192000000"
        }
      ],
      "expectedStages": [
        0,
        0,
        27
      ],
      "expectedPendingTargets": [
        27,
        27,
        null
      ]
    },
    {
      "id": "higher-target-needs-a-second-fresh-round",
      "anchor": "2028-10-20T00:00:00Z",
      "acceptedBlocks": [
        {
          "blockId": "target-five",
          "mtp": "2035-04-20T00:00:00Z",
          "volume": "2000000"
        },
        {
          "blockId": "higher-candidate",
          "mtp": "2035-04-21T00:00:00Z",
          "volume": "8192000000"
        },
        {
          "blockId": "first-deadline",
          "mtp": "2035-05-04T00:00:00Z",
          "volume": "8192000000"
        },
        {
          "blockId": "activate-five-and-notice-27",
          "mtp": "2035-05-04T00:00:01Z",
          "volume": "8192000000"
        },
        {
          "blockId": "second-deadline",
          "mtp": "2035-05-18T00:00:01Z",
          "volume": "8192000000"
        },
        {
          "blockId": "activate-27",
          "mtp": "2035-05-18T00:00:02Z",
          "volume": "8192000000"
        }
      ],
      "expectedStages": [
        0,
        0,
        0,
        5,
        5,
        27
      ],
      "expectedPendingTargets": [
        5,
        5,
        5,
        27,
        27,
        null
      ]
    },
    {
      "id": "time-alone-without-volume-cannot-start-notice",
      "anchor": "2028-10-20T00:00:00Z",
      "acceptedBlocks": [
        {
          "blockId": "late-no-volume",
          "mtp": "2035-07-29T00:00:00Z",
          "volume": "0"
        }
      ],
      "expectedStages": [
        0
      ],
      "expectedPendingTargets": [
        null
      ]
    },
    {
      "id": "volume-alone-before-calendar-cannot-start-notice",
      "anchor": "2028-10-20T00:00:00Z",
      "acceptedBlocks": [
        {
          "blockId": "early-high-volume",
          "mtp": "2029-04-19T23:59:59Z",
          "volume": "8192000000"
        }
      ],
      "expectedStages": [
        0
      ],
      "expectedPendingTargets": [
        null
      ]
    },
    {
      "id": "rejected-branch-does-not-invent-notice",
      "anchor": "2028-10-20T00:00:00Z",
      "acceptedBlocks": [
        {
          "blockId": "accepted",
          "mtp": "2029-04-19T23:59:59Z",
          "volume": "0"
        }
      ],
      "observedRejectedBlocks": [
        {
          "blockId": "rejected-high-stage",
          "mtp": "2035-07-29T00:00:00Z",
          "volume": "8192000000"
        }
      ],
      "expectedStages": [
        0
      ],
      "expectedPendingTargets": [
        null
      ]
    },
    {
      "id": "orphaned-active-stage-and-notice-are-undone",
      "anchor": "2028-10-20T00:00:00Z",
      "previouslyAcceptedButNowOrphanedBlocks": [
        {
          "blockId": "old-trigger",
          "mtp": "2029-04-20T00:00:00Z",
          "volume": "400000"
        },
        {
          "blockId": "old-deadline",
          "mtp": "2029-05-04T00:00:00Z",
          "volume": "400000"
        },
        {
          "blockId": "old-active",
          "mtp": "2029-05-04T00:00:01Z",
          "volume": "400000"
        }
      ],
      "acceptedBlocks": [
        {
          "blockId": "replacement",
          "mtp": "2029-04-19T23:59:59Z",
          "volume": "400000"
        }
      ],
      "expectedStages": [
        0
      ],
      "expectedPendingTargets": [
        null
      ]
    },
    {
      "id": "replacement-notice-does-not-inherit-old-elapsed-time",
      "anchor": "2028-10-20T00:00:00Z",
      "previouslyAcceptedButNowOrphanedBlocks": [
        {
          "blockId": "old-trigger",
          "mtp": "2035-04-20T00:00:00Z",
          "volume": "8192000000"
        }
      ],
      "acceptedBlocks": [
        {
          "blockId": "new-trigger",
          "mtp": "2035-04-30T00:00:00Z",
          "volume": "8192000000"
        },
        {
          "blockId": "old-deadline-is-too-early",
          "mtp": "2035-05-04T00:00:00Z",
          "volume": "8192000000"
        }
      ],
      "expectedStages": [
        0,
        0
      ],
      "expectedPendingTargets": [
        27,
        27
      ],
      "expectedFinalDeadline": "2035-05-14T00:00:00Z"
    },
    {
      "id": "same-chain-late-join-and-restart-replay",
      "anchor": "2028-10-20T00:00:00Z",
      "acceptedBlocks": [
        {
          "blockId": "a",
          "mtp": "2029-04-20T00:00:00Z",
          "volume": "400000"
        },
        {
          "blockId": "b",
          "mtp": "2029-05-04T00:00:00Z",
          "volume": "400000"
        },
        {
          "blockId": "c",
          "mtp": "2029-05-04T00:00:01Z",
          "volume": "400000"
        }
      ],
      "expectedStages": [
        0,
        0,
        1
      ],
      "expectedPendingTargets": [
        1,
        1,
        null
      ],
      "expectedLateJoinStage": 1
    },
    {
      "id": "replacement-branch-already-completed-round-no-publication-duty",
      "anchor": "2028-10-20T00:00:00Z",
      "previouslyAcceptedButNowOrphanedBlocks": [
        {
          "blockId": "old-view-with-no-eligible-stage",
          "mtp": "2035-05-10T00:00:00Z",
          "volume": "0"
        }
      ],
      "acceptedBlocks": [
        {
          "blockId": "new-trigger",
          "mtp": "2035-04-20T00:00:00Z",
          "volume": "2000000"
        },
        {
          "blockId": "new-deadline",
          "mtp": "2035-05-04T00:00:00Z",
          "volume": "2000000"
        },
        {
          "blockId": "new-activation-child",
          "mtp": "2035-05-04T00:00:01Z",
          "volume": "2000000"
        }
      ],
      "expectedStages": [
        0,
        0,
        5
      ],
      "expectedPendingTargets": [
        5,
        5,
        null
      ],
      "expectedNoticeRoundActive": [
        true,
        true,
        false
      ],
      "expectedRemainingMtpSeconds": [
        1209600,
        0,
        null
      ],
      "expectedLateJoinStage": 5,
      "note": "The replacement branch is first observed on May 10. Its round already completed in chain history; discovery and provider publication do not affect the result."
    },
    {
      "id": "late-observation-of-elapsed-round-still-awaits-child",
      "anchor": "2028-10-20T00:00:00Z",
      "acceptedBlocks": [
        {
          "blockId": "trigger",
          "mtp": "2035-04-20T00:00:00Z",
          "volume": "2000000"
        },
        {
          "blockId": "deadline-tip",
          "mtp": "2035-05-04T00:00:00Z",
          "volume": "2000000"
        }
      ],
      "expectedStages": [
        0,
        0
      ],
      "expectedPendingTargets": [
        5,
        5
      ],
      "expectedNoticeRoundActive": [
        true,
        true
      ],
      "expectedRemainingMtpSeconds": [
        1209600,
        0
      ],
      "expectedFinalDeadline": "2035-05-04T00:00:00Z",
      "expectedLateJoinStage": 0,
      "note": "Even if first observed on May 10, wall-clock time cannot activate the target without its accepted child."
    },
    {
      "id": "orphaned-anchor-profile-inactive",
      "anchor": "2028-10-20T00:00:00Z",
      "anchorOnAcceptedChain": false,
      "acceptedBlocks": [
        {
          "blockId": "pre-anchor-view",
          "mtp": "2035-04-20T00:00:00Z",
          "volume": "8192000000"
        }
      ],
      "expectedStages": [
        0
      ],
      "expectedPendingTargets": [
        null
      ]
    }
  ],
  "balanceTraceCases": [
    {
      "id": "grandfathered-funding-survives-txid-tightening",
      "keyFamily": "address",
      "queryKey": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 5,
          "transactions": [
            {
              "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "100"
                }
              ],
              "version": 1
            },
            {
              "txid": "1a00000000000000000000000000000000000000000000000000000000000002",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "7"
                }
              ],
              "version": 1
            }
          ]
        },
        {
          "blockId": "later",
          "eventStage": 11,
          "transactions": []
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "covered",
        "amount": "100",
        "spendCoverage": "all_confirmed_spends",
        "mayIncludeSpentOutputs": false
      }
    },
    {
      "id": "nonqualifying-incoming-ignored",
      "keyFamily": "address",
      "queryKey": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 5,
          "transactions": [
            {
              "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "100"
                }
              ],
              "version": 1
            },
            {
              "txid": "1a00000000000000000000000000000000000000000000000000000000000002",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "7"
                }
              ],
              "version": 1
            }
          ]
        },
        {
          "blockId": "later",
          "eventStage": 13,
          "transactions": [
            {
              "txid": "1b00000000000000000000000000000000000000000000000000000000000006",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "50"
                }
              ],
              "version": 1
            }
          ]
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "filtered",
        "amount": "100",
        "spendCoverage": "qualifying_version_1_txids_only",
        "mayIncludeSpentOutputs": true
      }
    },
    {
      "id": "nonqualifying-spend-before-stage-13-is-debited",
      "keyFamily": "address",
      "queryKey": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 5,
          "transactions": [
            {
              "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "100"
                }
              ],
              "version": 1
            },
            {
              "txid": "1a00000000000000000000000000000000000000000000000000000000000002",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "7"
                }
              ],
              "version": 1
            }
          ]
        },
        {
          "blockId": "spend",
          "eventStage": 12,
          "transactions": [
            {
              "txid": "9b00000000000000000000000000000000000000000000000000000000000003",
              "inputs": [
                {
                  "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
                  "index": 0
                }
              ],
              "outputs": [],
              "version": 1
            }
          ]
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "covered",
        "amount": "0",
        "spendCoverage": "all_confirmed_spends",
        "mayIncludeSpentOutputs": false
      }
    },
    {
      "id": "nonqualifying-spend-does-not-disqualify-other-outputs",
      "keyFamily": "address",
      "queryKey": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 5,
          "transactions": [
            {
              "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "100"
                },
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "60"
                }
              ],
              "version": 1
            }
          ]
        },
        {
          "blockId": "spend",
          "eventStage": 12,
          "transactions": [
            {
              "txid": "9b00000000000000000000000000000000000000000000000000000000000003",
              "inputs": [
                {
                  "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
                  "index": 0
                }
              ],
              "outputs": [],
              "version": 1
            }
          ]
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "covered",
        "amount": "60",
        "spendCoverage": "all_confirmed_spends",
        "mayIncludeSpentOutputs": false
      }
    },
    {
      "id": "new-funds-after-nonqualifying-spend-remain-admitted",
      "keyFamily": "address",
      "queryKey": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 5,
          "transactions": [
            {
              "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "100"
                }
              ],
              "version": 1
            },
            {
              "txid": "1a00000000000000000000000000000000000000000000000000000000000002",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "7"
                }
              ],
              "version": 1
            }
          ]
        },
        {
          "blockId": "spend",
          "eventStage": 12,
          "transactions": [
            {
              "txid": "9b00000000000000000000000000000000000000000000000000000000000003",
              "inputs": [
                {
                  "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
                  "index": 0
                }
              ],
              "outputs": [],
              "version": 1
            }
          ]
        },
        {
          "blockId": "new",
          "eventStage": 12,
          "transactions": [
            {
              "txid": "99b0000000000000000000000000000000000000000000000000000000000005",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "50"
                }
              ],
              "version": 1
            }
          ]
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "covered",
        "amount": "50",
        "spendCoverage": "all_confirmed_spends",
        "mayIncludeSpentOutputs": false
      }
    },
    {
      "id": "ignored-only-input-before-boundary-no-covered-debit",
      "keyFamily": "address",
      "queryKey": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 5,
          "transactions": [
            {
              "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "100"
                }
              ],
              "version": 1
            },
            {
              "txid": "1a00000000000000000000000000000000000000000000000000000000000002",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "7"
                }
              ],
              "version": 1
            }
          ]
        },
        {
          "blockId": "spend",
          "eventStage": 12,
          "transactions": [
            {
              "txid": "9b00000000000000000000000000000000000000000000000000000000000003",
              "inputs": [
                {
                  "txid": "1a00000000000000000000000000000000000000000000000000000000000002",
                  "index": 0
                }
              ],
              "outputs": [],
              "version": 1
            }
          ]
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "covered",
        "amount": "100",
        "spendCoverage": "all_confirmed_spends",
        "mayIncludeSpentOutputs": false
      }
    },
    {
      "id": "ignored-only-input-after-boundary-no-covered-debit",
      "keyFamily": "address",
      "queryKey": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 5,
          "transactions": [
            {
              "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "100"
                }
              ],
              "version": 1
            },
            {
              "txid": "1a00000000000000000000000000000000000000000000000000000000000002",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "7"
                }
              ],
              "version": 1
            }
          ]
        },
        {
          "blockId": "spend",
          "eventStage": 13,
          "transactions": [
            {
              "txid": "9b00000000000000000000000000000000000000000000000000000000000003",
              "inputs": [
                {
                  "txid": "1a00000000000000000000000000000000000000000000000000000000000002",
                  "index": 0
                }
              ],
              "outputs": [],
              "version": 1
            }
          ]
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "filtered",
        "amount": "100",
        "spendCoverage": "qualifying_version_1_txids_only",
        "mayIncludeSpentOutputs": true
      }
    },
    {
      "id": "unconfirmed-spend-not-a-confirmed-debit",
      "keyFamily": "address",
      "queryKey": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 5,
          "transactions": [
            {
              "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "100"
                }
              ],
              "version": 1
            },
            {
              "txid": "1a00000000000000000000000000000000000000000000000000000000000002",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "7"
                }
              ],
              "version": 1
            }
          ]
        },
        {
          "blockId": "later",
          "eventStage": 13,
          "transactions": []
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "filtered",
        "amount": "100",
        "spendCoverage": "qualifying_version_1_txids_only",
        "mayIncludeSpentOutputs": true
      },
      "observedUnconfirmedTransactions": [
        {
          "txid": "99a0000000000000000000000000000000000000000000000000000000000004",
          "inputs": [
            {
              "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
              "index": 0
            }
          ],
          "outputs": [],
          "version": 1
        }
      ]
    },
    {
      "id": "stage-13-nonqualifying-spend-may-remain-stale",
      "keyFamily": "address",
      "queryKey": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 5,
          "transactions": [
            {
              "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "100"
                }
              ],
              "version": 1
            },
            {
              "txid": "1a00000000000000000000000000000000000000000000000000000000000002",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "7"
                }
              ],
              "version": 1
            }
          ]
        },
        {
          "blockId": "spend",
          "eventStage": 13,
          "transactions": [
            {
              "txid": "9b00000000000000000000000000000000000000000000000000000000000003",
              "inputs": [
                {
                  "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
                  "index": 0
                }
              ],
              "outputs": [],
              "version": 1
            }
          ]
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "filtered",
        "amount": "100",
        "spendCoverage": "qualifying_version_1_txids_only",
        "mayIncludeSpentOutputs": true
      }
    },
    {
      "id": "stage-13-qualifying-spend-must-be-debited",
      "keyFamily": "address",
      "queryKey": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 5,
          "transactions": [
            {
              "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "100"
                }
              ],
              "version": 1
            },
            {
              "txid": "1a00000000000000000000000000000000000000000000000000000000000002",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "7"
                }
              ],
              "version": 1
            }
          ]
        },
        {
          "blockId": "spend",
          "eventStage": 13,
          "transactions": [
            {
              "txid": "99a0000000000000000000000000000000000000000000000000000000000004",
              "inputs": [
                {
                  "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
                  "index": 0
                }
              ],
              "outputs": [],
              "version": 1
            }
          ]
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "filtered",
        "amount": "0",
        "spendCoverage": "qualifying_version_1_txids_only",
        "mayIncludeSpentOutputs": true
      }
    },
    {
      "id": "qualifying-mixed-input-spend-debits-covered-input",
      "keyFamily": "address",
      "queryKey": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 5,
          "transactions": [
            {
              "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "100"
                }
              ],
              "version": 1
            },
            {
              "txid": "1a00000000000000000000000000000000000000000000000000000000000002",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "7"
                }
              ],
              "version": 1
            }
          ]
        },
        {
          "blockId": "spend",
          "eventStage": 13,
          "transactions": [
            {
              "txid": "99a0000000000000000000000000000000000000000000000000000000000004",
              "inputs": [
                {
                  "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
                  "index": 0
                },
                {
                  "txid": "1a00000000000000000000000000000000000000000000000000000000000002",
                  "index": 0
                }
              ],
              "outputs": [],
              "version": 1
            }
          ]
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "filtered",
        "amount": "0",
        "spendCoverage": "qualifying_version_1_txids_only",
        "mayIncludeSpentOutputs": true
      }
    },
    {
      "id": "nonqualifying-mixed-input-spend-may-be-stale",
      "keyFamily": "address",
      "queryKey": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 5,
          "transactions": [
            {
              "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "100"
                }
              ],
              "version": 1
            },
            {
              "txid": "1a00000000000000000000000000000000000000000000000000000000000002",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "7"
                }
              ],
              "version": 1
            }
          ]
        },
        {
          "blockId": "spend",
          "eventStage": 13,
          "transactions": [
            {
              "txid": "9b00000000000000000000000000000000000000000000000000000000000003",
              "inputs": [
                {
                  "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
                  "index": 0
                },
                {
                  "txid": "1a00000000000000000000000000000000000000000000000000000000000002",
                  "index": 0
                }
              ],
              "outputs": [],
              "version": 1
            }
          ]
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "filtered",
        "amount": "100",
        "spendCoverage": "qualifying_version_1_txids_only",
        "mayIncludeSpentOutputs": true
      }
    },
    {
      "id": "pre-boundary-debit-does-not-resurrect-after-13",
      "keyFamily": "address",
      "queryKey": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 5,
          "transactions": [
            {
              "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "100"
                }
              ],
              "version": 1
            },
            {
              "txid": "1a00000000000000000000000000000000000000000000000000000000000002",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "7"
                }
              ],
              "version": 1
            }
          ]
        },
        {
          "blockId": "spend",
          "eventStage": 12,
          "transactions": [
            {
              "txid": "9b00000000000000000000000000000000000000000000000000000000000003",
              "inputs": [
                {
                  "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
                  "index": 0
                }
              ],
              "outputs": [],
              "version": 1
            }
          ]
        },
        {
          "blockId": "later",
          "eventStage": 13,
          "transactions": []
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "filtered",
        "amount": "0",
        "spendCoverage": "qualifying_version_1_txids_only",
        "mayIncludeSpentOutputs": true
      }
    },
    {
      "id": "historical-qualifying-spend-not-retested-at-later-filter",
      "keyFamily": "address",
      "queryKey": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 5,
          "transactions": [
            {
              "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "100"
                }
              ],
              "version": 1
            },
            {
              "txid": "1a00000000000000000000000000000000000000000000000000000000000002",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "7"
                }
              ],
              "version": 1
            }
          ]
        },
        {
          "blockId": "spend",
          "eventStage": 13,
          "transactions": [
            {
              "txid": "99a0000000000000000000000000000000000000000000000000000000000004",
              "inputs": [
                {
                  "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
                  "index": 0
                }
              ],
              "outputs": [],
              "version": 1
            }
          ]
        },
        {
          "blockId": "later",
          "eventStage": 18,
          "transactions": []
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "filtered",
        "amount": "0",
        "spendCoverage": "qualifying_version_1_txids_only",
        "mayIncludeSpentOutputs": true
      }
    },
    {
      "id": "orphaned-spend-undone",
      "keyFamily": "address",
      "queryKey": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 5,
          "transactions": [
            {
              "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "100"
                }
              ],
              "version": 1
            },
            {
              "txid": "1a00000000000000000000000000000000000000000000000000000000000002",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "7"
                }
              ],
              "version": 1
            }
          ]
        },
        {
          "blockId": "replacement",
          "eventStage": 13,
          "transactions": []
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "filtered",
        "amount": "100",
        "spendCoverage": "qualifying_version_1_txids_only",
        "mayIncludeSpentOutputs": true
      },
      "previouslyAcceptedButNowOrphanedBlocks": [
        {
          "blockId": "old-spend",
          "eventStage": 13,
          "transactions": [
            {
              "txid": "99a0000000000000000000000000000000000000000000000000000000000004",
              "inputs": [
                {
                  "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
                  "index": 0
                }
              ],
              "outputs": [],
              "version": 1
            }
          ]
        }
      ]
    },
    {
      "id": "orphaned-funding-not-preserved",
      "keyFamily": "address",
      "queryKey": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "acceptedBlocks": [
        {
          "blockId": "accepted-empty",
          "eventStage": 13,
          "transactions": []
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "filtered",
        "amount": "0",
        "spendCoverage": "qualifying_version_1_txids_only",
        "mayIncludeSpentOutputs": true
      },
      "previouslyAcceptedButNowOrphanedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 5,
          "transactions": [
            {
              "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "100"
                }
              ],
              "version": 1
            },
            {
              "txid": "1a00000000000000000000000000000000000000000000000000000000000002",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "7"
                }
              ],
              "version": 1
            }
          ]
        }
      ]
    },
    {
      "id": "same-spend-remined-before-boundary-debits",
      "keyFamily": "address",
      "queryKey": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 5,
          "transactions": [
            {
              "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "100"
                }
              ],
              "version": 1
            },
            {
              "txid": "1a00000000000000000000000000000000000000000000000000000000000002",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "7"
                }
              ],
              "version": 1
            }
          ]
        },
        {
          "blockId": "replacement",
          "eventStage": 12,
          "transactions": [
            {
              "txid": "9b00000000000000000000000000000000000000000000000000000000000003",
              "inputs": [
                {
                  "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
                  "index": 0
                }
              ],
              "outputs": [],
              "version": 1
            }
          ]
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "covered",
        "amount": "0",
        "spendCoverage": "all_confirmed_spends",
        "mayIncludeSpentOutputs": false
      },
      "previouslyAcceptedButNowOrphanedBlocks": [
        {
          "blockId": "old",
          "eventStage": 13,
          "transactions": [
            {
              "txid": "9b00000000000000000000000000000000000000000000000000000000000003",
              "inputs": [
                {
                  "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
                  "index": 0
                }
              ],
              "outputs": [],
              "version": 1
            }
          ]
        }
      ]
    },
    {
      "id": "same-spend-remined-after-boundary-may-be-stale",
      "keyFamily": "address",
      "queryKey": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 5,
          "transactions": [
            {
              "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "100"
                }
              ],
              "version": 1
            },
            {
              "txid": "1a00000000000000000000000000000000000000000000000000000000000002",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "7"
                }
              ],
              "version": 1
            }
          ]
        },
        {
          "blockId": "replacement",
          "eventStage": 13,
          "transactions": [
            {
              "txid": "9b00000000000000000000000000000000000000000000000000000000000003",
              "inputs": [
                {
                  "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
                  "index": 0
                }
              ],
              "outputs": [],
              "version": 1
            }
          ]
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "filtered",
        "amount": "100",
        "spendCoverage": "qualifying_version_1_txids_only",
        "mayIncludeSpentOutputs": true
      },
      "previouslyAcceptedButNowOrphanedBlocks": [
        {
          "blockId": "old",
          "eventStage": 12,
          "transactions": [
            {
              "txid": "9b00000000000000000000000000000000000000000000000000000000000003",
              "inputs": [
                {
                  "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
                  "index": 0
                }
              ],
              "outputs": [],
              "version": 1
            }
          ]
        }
      ]
    },
    {
      "id": "qualifying-stream-gap-is-unavailable",
      "keyFamily": "address",
      "queryKey": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 5,
          "transactions": [
            {
              "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "100"
                }
              ],
              "version": 1
            },
            {
              "txid": "1a00000000000000000000000000000000000000000000000000000000000002",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "7"
                }
              ],
              "version": 1
            }
          ]
        },
        {
          "blockId": "later",
          "eventStage": 13,
          "transactions": []
        }
      ],
      "reconstructionComplete": false,
      "expected": {
        "state": "unavailable"
      }
    },
    {
      "id": "all-spend-gap-before-boundary-is-unavailable",
      "keyFamily": "address",
      "queryKey": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 5,
          "transactions": [
            {
              "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "100"
                }
              ],
              "version": 1
            },
            {
              "txid": "1a00000000000000000000000000000000000000000000000000000000000002",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "7"
                }
              ],
              "version": 1
            }
          ]
        },
        {
          "blockId": "later",
          "eventStage": 12,
          "transactions": []
        }
      ],
      "reconstructionComplete": false,
      "expected": {
        "state": "unavailable"
      }
    },
    {
      "id": "reorg-below-13-requires-complete-backfill",
      "keyFamily": "address",
      "queryKey": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 5,
          "transactions": [
            {
              "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "100"
                }
              ],
              "version": 1
            },
            {
              "txid": "1a00000000000000000000000000000000000000000000000000000000000002",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "7"
                }
              ],
              "version": 1
            }
          ]
        },
        {
          "blockId": "replacement",
          "eventStage": 12,
          "transactions": []
        }
      ],
      "reconstructionComplete": false,
      "expected": {
        "state": "unavailable"
      },
      "previouslyAcceptedButNowOrphanedBlocks": [
        {
          "blockId": "old",
          "eventStage": 13,
          "transactions": []
        }
      ]
    },
    {
      "id": "address-prefix-loss-is-not-zero",
      "keyFamily": "address",
      "queryKey": "1CDW1111111111111111111111113dpUUW",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 5,
          "transactions": [
            {
              "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
              "inputs": [],
              "outputs": [
                {
                  "address": "1CDW1111111111111111111111113dpUUW",
                  "lockingScript": "76a9147b069548eb7fdcf43d809ff51895fc8cb304897688ac",
                  "amount": "70"
                }
              ],
              "version": 1
            }
          ]
        },
        {
          "blockId": "later",
          "eventStage": 6,
          "transactions": []
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "outside_free_coverage"
      }
    },
    {
      "id": "reorg-restores-address-prefix-after-reconstruction",
      "keyFamily": "address",
      "queryKey": "1CDW1111111111111111111111113dpUUW",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 5,
          "transactions": [
            {
              "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
              "inputs": [],
              "outputs": [
                {
                  "address": "1CDW1111111111111111111111113dpUUW",
                  "lockingScript": "76a9147b069548eb7fdcf43d809ff51895fc8cb304897688ac",
                  "amount": "70"
                }
              ],
              "version": 1
            }
          ]
        },
        {
          "blockId": "replacement",
          "eventStage": 5,
          "transactions": []
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "covered",
        "amount": "70",
        "spendCoverage": "all_confirmed_spends",
        "mayIncludeSpentOutputs": false
      },
      "previouslyAcceptedButNowOrphanedBlocks": [
        {
          "blockId": "old",
          "eventStage": 6,
          "transactions": []
        }
      ]
    },
    {
      "id": "valid-spend-can-debit-and-admit-change",
      "keyFamily": "address",
      "queryKey": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 5,
          "transactions": [
            {
              "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "100"
                }
              ],
              "version": 1
            },
            {
              "txid": "1a00000000000000000000000000000000000000000000000000000000000002",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "7"
                }
              ],
              "version": 1
            }
          ]
        },
        {
          "blockId": "spend",
          "eventStage": 13,
          "transactions": [
            {
              "txid": "99a0000000000000000000000000000000000000000000000000000000000004",
              "inputs": [
                {
                  "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
                  "index": 0
                }
              ],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "60"
                }
              ],
              "version": 1
            }
          ]
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "filtered",
        "amount": "60",
        "spendCoverage": "qualifying_version_1_txids_only",
        "mayIncludeSpentOutputs": true
      }
    },
    {
      "id": "extra-validated-nonqualifying-spend-only-changes-enhanced-view",
      "keyFamily": "address",
      "queryKey": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 5,
          "transactions": [
            {
              "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "100"
                }
              ],
              "version": 1
            },
            {
              "txid": "1a00000000000000000000000000000000000000000000000000000000000002",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "7"
                }
              ],
              "version": 1
            }
          ]
        },
        {
          "blockId": "spend",
          "eventStage": 13,
          "transactions": [
            {
              "txid": "9b00000000000000000000000000000000000000000000000000000000000003",
              "inputs": [
                {
                  "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
                  "index": 0
                }
              ],
              "outputs": [],
              "version": 1
            }
          ]
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "filtered",
        "amount": "0",
        "spendCoverage": "qualifying_version_1_txids_plus_declared_extra_spends",
        "mayIncludeSpentOutputs": true,
        "ledgerView": "enhanced"
      },
      "extraSpendsVerified": true,
      "ledgerView": "enhanced"
    },
    {
      "id": "script-family-stale-spend",
      "keyFamily": "scriptHash",
      "queryKey": "7773d1d47a0bceb825f0298f6abfc25b57365e20",
      "acceptedBlocks": [
        {
          "blockId": "script-funding",
          "eventStage": 5,
          "transactions": [
            {
              "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
              "inputs": [],
              "outputs": [
                {
                  "lockingScript": "04892f00007551",
                  "amount": "100"
                }
              ],
              "version": 1
            }
          ]
        },
        {
          "blockId": "script-spend",
          "eventStage": 13,
          "transactions": [
            {
              "txid": "9b00000000000000000000000000000000000000000000000000000000000003",
              "inputs": [
                {
                  "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
                  "index": 0
                }
              ],
              "outputs": [],
              "version": 1
            }
          ]
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "filtered",
        "amount": "100",
        "spendCoverage": "qualifying_version_1_txids_only",
        "mayIncludeSpentOutputs": true
      }
    },
    {
      "id": "script-family-required-debit",
      "keyFamily": "scriptHash",
      "queryKey": "7773d1d47a0bceb825f0298f6abfc25b57365e20",
      "acceptedBlocks": [
        {
          "blockId": "script-funding",
          "eventStage": 5,
          "transactions": [
            {
              "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
              "inputs": [],
              "outputs": [
                {
                  "lockingScript": "04892f00007551",
                  "amount": "100"
                }
              ],
              "version": 1
            }
          ]
        },
        {
          "blockId": "script-spend",
          "eventStage": 13,
          "transactions": [
            {
              "txid": "99a0000000000000000000000000000000000000000000000000000000000004",
              "inputs": [
                {
                  "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
                  "index": 0
                }
              ],
              "outputs": [],
              "version": 1
            }
          ]
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "filtered",
        "amount": "0",
        "spendCoverage": "qualifying_version_1_txids_only",
        "mayIncludeSpentOutputs": true
      }
    },
    {
      "id": "script-prefix-loss",
      "keyFamily": "scriptHash",
      "queryKey": "7773d1d47a0bceb825f0298f6abfc25b57365e20",
      "acceptedBlocks": [
        {
          "blockId": "script-funding",
          "eventStage": 5,
          "transactions": [
            {
              "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
              "inputs": [],
              "outputs": [
                {
                  "lockingScript": "04892f00007551",
                  "amount": "100"
                }
              ],
              "version": 1
            }
          ]
        },
        {
          "blockId": "later",
          "eventStage": 14,
          "transactions": []
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "outside_free_coverage"
      }
    },
    {
      "id": "historical-covered-snapshot-survives-stage-13-without-claiming-current-unspentness",
      "keyFamily": "address",
      "queryKey": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "acceptedBlocks": [
        {
          "blockId": "historical-funding",
          "eventStage": 12,
          "transactions": [
            {
              "txid": "99a0000000000000000000000000000000000000000000000000000000000001",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "100"
                }
              ],
              "version": 1
            }
          ]
        },
        {
          "blockId": "current-spent",
          "eventStage": 13,
          "transactions": [
            {
              "txid": "99a0000000000000000000000000000000000000000000000000000000000002",
              "inputs": [
                {
                  "txid": "99a0000000000000000000000000000000000000000000000000000000000001",
                  "index": 0
                }
              ],
              "outputs": [],
              "version": 1
            }
          ]
        }
      ],
      "snapshotBlockId": "historical-funding",
      "reconstructionComplete": true,
      "expected": {
        "state": "covered",
        "amount": "100",
        "spendCoverage": "all_confirmed_spends",
        "mayIncludeSpentOutputs": false,
        "currentStage": 13,
        "snapshotStage": 12,
        "snapshotKind": "historical"
      }
    },
    {
      "id": "current-stage-13-snapshot-applies-later-debit-and-filtered-label",
      "keyFamily": "address",
      "queryKey": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "acceptedBlocks": [
        {
          "blockId": "historical-funding",
          "eventStage": 12,
          "transactions": [
            {
              "txid": "99a0000000000000000000000000000000000000000000000000000000000001",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "100"
                }
              ],
              "version": 1
            }
          ]
        },
        {
          "blockId": "current-spent",
          "eventStage": 13,
          "transactions": [
            {
              "txid": "99a0000000000000000000000000000000000000000000000000000000000002",
              "inputs": [
                {
                  "txid": "99a0000000000000000000000000000000000000000000000000000000000001",
                  "index": 0
                }
              ],
              "outputs": [],
              "version": 1
            }
          ]
        }
      ],
      "snapshotBlockId": "current-spent",
      "reconstructionComplete": true,
      "expected": {
        "state": "filtered",
        "amount": "0",
        "spendCoverage": "qualifying_version_1_txids_only",
        "mayIncludeSpentOutputs": true,
        "currentStage": 13,
        "snapshotStage": 13,
        "snapshotKind": "current"
      }
    },
    {
      "id": "historical-stage-12-snapshot-cannot-reopen-currently-excluded-key",
      "keyFamily": "address",
      "queryKey": "1ChaW1111111111111111111111113jVCR",
      "acceptedBlocks": [
        {
          "blockId": "historical-funding",
          "eventStage": 12,
          "transactions": [
            {
              "txid": "99a0000000000000000000000000000000000000000000000000000000000001",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChaW1111111111111111111111113jVCR",
                  "lockingScript": "76a9148055fc8a455ed6abddeba57bf86c56ec25ba388488ac",
                  "amount": "100"
                }
              ],
              "version": 1
            }
          ]
        },
        {
          "blockId": "current-spent",
          "eventStage": 13,
          "transactions": [
            {
              "txid": "99a0000000000000000000000000000000000000000000000000000000000002",
              "inputs": [
                {
                  "txid": "99a0000000000000000000000000000000000000000000000000000000000001",
                  "index": 0
                }
              ],
              "outputs": [],
              "version": 1
            }
          ]
        }
      ],
      "snapshotBlockId": "historical-funding",
      "reconstructionComplete": true,
      "expected": {
        "state": "outside_free_coverage"
      }
    },
    {
      "id": "orphaned-snapshot-cannot-support-historical-covered-response",
      "keyFamily": "address",
      "queryKey": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "acceptedBlocks": [
        {
          "blockId": "historical-funding",
          "eventStage": 12,
          "transactions": [
            {
              "txid": "99a0000000000000000000000000000000000000000000000000000000000001",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "100"
                }
              ],
              "version": 1
            }
          ]
        },
        {
          "blockId": "current-spent",
          "eventStage": 13,
          "transactions": [
            {
              "txid": "99a0000000000000000000000000000000000000000000000000000000000002",
              "inputs": [
                {
                  "txid": "99a0000000000000000000000000000000000000000000000000000000000001",
                  "index": 0
                }
              ],
              "outputs": [],
              "version": 1
            }
          ]
        }
      ],
      "snapshotBlockId": "orphaned-funding-not-on-accepted-chain",
      "reconstructionComplete": true,
      "expected": {
        "state": "unavailable"
      }
    },
    {
      "id": "repeated-circulation-inflates-filtered-ledger-without-creating-coins",
      "keyFamily": "address",
      "queryKey": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "acceptedBlocks": [
        {
          "blockId": "circulation-0",
          "eventStage": 12,
          "transactions": [
            {
              "txid": "99a0000000000000000000000000000000000000000000000000000000000001",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "100"
                }
              ],
              "version": 1
            }
          ]
        },
        {
          "blockId": "circulation-1",
          "eventStage": 13,
          "transactions": [
            {
              "txid": "1a00000000000000000000000000000000000000000000000000000000000002",
              "inputs": [
                {
                  "txid": "99a0000000000000000000000000000000000000000000000000000000000001",
                  "index": 0
                }
              ],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "99"
                }
              ],
              "version": 1
            }
          ]
        },
        {
          "blockId": "circulation-2",
          "eventStage": 13,
          "transactions": [
            {
              "txid": "99a0000000000000000000000000000000000000000000000000000000000003",
              "inputs": [
                {
                  "txid": "1a00000000000000000000000000000000000000000000000000000000000002",
                  "index": 0
                }
              ],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "98"
                }
              ],
              "version": 1
            }
          ]
        },
        {
          "blockId": "circulation-3",
          "eventStage": 13,
          "transactions": [
            {
              "txid": "1a00000000000000000000000000000000000000000000000000000000000004",
              "inputs": [
                {
                  "txid": "99a0000000000000000000000000000000000000000000000000000000000003",
                  "index": 0
                }
              ],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "97"
                }
              ],
              "version": 1
            }
          ]
        },
        {
          "blockId": "circulation-4",
          "eventStage": 13,
          "transactions": [
            {
              "txid": "99a0000000000000000000000000000000000000000000000000000000000005",
              "inputs": [
                {
                  "txid": "1a00000000000000000000000000000000000000000000000000000000000004",
                  "index": 0
                }
              ],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "96"
                }
              ],
              "version": 1
            }
          ]
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "filtered",
        "amount": "294",
        "spendCoverage": "qualifying_version_1_txids_only",
        "mayIncludeSpentOutputs": true
      },
      "expectedActualUnspentAmount": "96",
      "note": "Nonqualifying spends leave old admitted outpoints; qualifying returns admit new outputs. This is a synthetic decoded-effect trace, not a fee-policy or signed-transaction fixture."
    },
    {
      "id": "same-accepted-history-baseline-ignores-provider-extra-spend-knowledge",
      "keyFamily": "address",
      "queryKey": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 5,
          "transactions": [
            {
              "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "100"
                }
              ],
              "version": 1
            },
            {
              "txid": "1a00000000000000000000000000000000000000000000000000000000000002",
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "7"
                }
              ],
              "version": 1
            }
          ]
        },
        {
          "blockId": "spend",
          "eventStage": 13,
          "transactions": [
            {
              "txid": "9b00000000000000000000000000000000000000000000000000000000000003",
              "inputs": [
                {
                  "txid": "9a00000000000000000000000000000000000000000000000000000000000001",
                  "index": 0
                }
              ],
              "outputs": [],
              "version": 1
            }
          ]
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "filtered",
        "amount": "100",
        "spendCoverage": "qualifying_version_1_txids_only",
        "mayIncludeSpentOutputs": true,
        "ledgerView": "baseline"
      },
      "extraSpendsVerified": true,
      "ledgerView": "baseline"
    },
    {
      "id": "address-version-old-funding-grandfathered",
      "keyFamily": "address",
      "queryKey": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 12,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999991",
              "version": 2,
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "100"
                }
              ]
            }
          ]
        },
        {
          "blockId": "tip",
          "eventStage": 13,
          "transactions": []
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "filtered",
        "amount": "100",
        "spendCoverage": "qualifying_version_1_txids_only",
        "mayIncludeSpentOutputs": true
      },
      "expectedActualUnspentAmount": "100"
    },
    {
      "id": "address-version-new-v2-funding-excluded",
      "keyFamily": "address",
      "queryKey": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 13,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999991",
              "version": 2,
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "100"
                }
              ]
            }
          ]
        },
        {
          "blockId": "tip",
          "eventStage": 13,
          "transactions": []
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "filtered",
        "amount": "0",
        "spendCoverage": "qualifying_version_1_txids_only",
        "mayIncludeSpentOutputs": true
      },
      "expectedActualUnspentAmount": "100"
    },
    {
      "id": "address-version-new-v1-funding-admitted",
      "keyFamily": "address",
      "queryKey": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 13,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999991",
              "version": 1,
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "100"
                }
              ]
            }
          ]
        },
        {
          "blockId": "tip",
          "eventStage": 13,
          "transactions": []
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "filtered",
        "amount": "100",
        "spendCoverage": "qualifying_version_1_txids_only",
        "mayIncludeSpentOutputs": true
      },
      "expectedActualUnspentAmount": "100"
    },
    {
      "id": "address-version-v2-spend-at-12-debits",
      "keyFamily": "address",
      "queryKey": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 12,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999991",
              "version": 2,
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "100"
                }
              ]
            }
          ]
        },
        {
          "blockId": "spend",
          "eventStage": 12,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999992",
              "version": 2,
              "inputs": [
                {
                  "txid": "9999999999999999999999999999999999999999999999999999999999999991",
                  "index": 0
                }
              ],
              "outputs": []
            }
          ]
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "covered",
        "amount": "0",
        "spendCoverage": "all_confirmed_spends",
        "mayIncludeSpentOutputs": false
      },
      "expectedActualUnspentAmount": "0"
    },
    {
      "id": "address-version-v2-spend-at-13-retained",
      "keyFamily": "address",
      "queryKey": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 12,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999991",
              "version": 2,
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "100"
                }
              ]
            }
          ]
        },
        {
          "blockId": "spend",
          "eventStage": 13,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999992",
              "version": 2,
              "inputs": [
                {
                  "txid": "9999999999999999999999999999999999999999999999999999999999999991",
                  "index": 0
                }
              ],
              "outputs": []
            }
          ]
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "filtered",
        "amount": "100",
        "spendCoverage": "qualifying_version_1_txids_only",
        "mayIncludeSpentOutputs": true
      },
      "expectedActualUnspentAmount": "0"
    },
    {
      "id": "address-version-v1-spend-debits-v2-funding",
      "keyFamily": "address",
      "queryKey": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 12,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999991",
              "version": 2,
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "100"
                }
              ]
            }
          ]
        },
        {
          "blockId": "spend",
          "eventStage": 13,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999992",
              "version": 1,
              "inputs": [
                {
                  "txid": "9999999999999999999999999999999999999999999999999999999999999991",
                  "index": 0
                }
              ],
              "outputs": []
            }
          ]
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "filtered",
        "amount": "0",
        "spendCoverage": "qualifying_version_1_txids_only",
        "mayIncludeSpentOutputs": true
      },
      "expectedActualUnspentAmount": "0"
    },
    {
      "id": "address-version-v2-spend-enhanced-only",
      "keyFamily": "address",
      "queryKey": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 12,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999991",
              "version": 2,
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "100"
                }
              ]
            }
          ]
        },
        {
          "blockId": "spend",
          "eventStage": 13,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999992",
              "version": 2,
              "inputs": [
                {
                  "txid": "9999999999999999999999999999999999999999999999999999999999999991",
                  "index": 0
                }
              ],
              "outputs": []
            }
          ]
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "filtered",
        "amount": "0",
        "spendCoverage": "qualifying_version_1_txids_plus_declared_extra_spends",
        "mayIncludeSpentOutputs": true,
        "ledgerView": "enhanced"
      },
      "expectedActualUnspentAmount": "0",
      "ledgerView": "enhanced",
      "extraSpendsVerified": true
    },
    {
      "id": "address-version-earlier-v2-debit-persists",
      "keyFamily": "address",
      "queryKey": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 12,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999991",
              "version": 2,
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "100"
                }
              ]
            }
          ]
        },
        {
          "blockId": "spend",
          "eventStage": 12,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999992",
              "version": 2,
              "inputs": [
                {
                  "txid": "9999999999999999999999999999999999999999999999999999999999999991",
                  "index": 0
                }
              ],
              "outputs": []
            }
          ]
        },
        {
          "blockId": "tip",
          "eventStage": 13,
          "transactions": []
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "filtered",
        "amount": "0",
        "spendCoverage": "qualifying_version_1_txids_only",
        "mayIncludeSpentOutputs": true
      },
      "expectedActualUnspentAmount": "0"
    },
    {
      "id": "address-version-reorg-below-13-replays-v2-spend",
      "keyFamily": "address",
      "queryKey": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 12,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999991",
              "version": 2,
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "100"
                }
              ]
            }
          ]
        },
        {
          "blockId": "spend",
          "eventStage": 12,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999992",
              "version": 2,
              "inputs": [
                {
                  "txid": "9999999999999999999999999999999999999999999999999999999999999991",
                  "index": 0
                }
              ],
              "outputs": []
            }
          ]
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "covered",
        "amount": "0",
        "spendCoverage": "all_confirmed_spends",
        "mayIncludeSpentOutputs": false
      },
      "expectedActualUnspentAmount": "0",
      "observedOrphanBlocks": [
        {
          "blockId": "orphan-stage13",
          "eventStage": 13,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999992",
              "version": 2,
              "inputs": [
                {
                  "txid": "9999999999999999999999999999999999999999999999999999999999999991",
                  "index": 0
                }
              ],
              "outputs": []
            }
          ]
        }
      ]
    },
    {
      "id": "address-version-reorg-below-13-replays-v2-spend-gap",
      "keyFamily": "address",
      "queryKey": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 12,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999991",
              "version": 2,
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "100"
                }
              ]
            }
          ]
        },
        {
          "blockId": "spend",
          "eventStage": 12,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999992",
              "version": 2,
              "inputs": [
                {
                  "txid": "9999999999999999999999999999999999999999999999999999999999999991",
                  "index": 0
                }
              ],
              "outputs": []
            }
          ]
        }
      ],
      "reconstructionComplete": false,
      "expected": {
        "state": "unavailable"
      },
      "expectedActualUnspentAmount": "0",
      "observedOrphanBlocks": [
        {
          "blockId": "orphan-stage13",
          "eventStage": 13,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999992",
              "version": 2,
              "inputs": [
                {
                  "txid": "9999999999999999999999999999999999999999999999999999999999999991",
                  "index": 0
                }
              ],
              "outputs": []
            }
          ]
        }
      ]
    },
    {
      "id": "address-version-reorg-funding-reminted-after-13",
      "keyFamily": "address",
      "queryKey": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 13,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999991",
              "version": 2,
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "100"
                }
              ]
            }
          ]
        },
        {
          "blockId": "tip",
          "eventStage": 13,
          "transactions": []
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "filtered",
        "amount": "0",
        "spendCoverage": "qualifying_version_1_txids_only",
        "mayIncludeSpentOutputs": true
      },
      "expectedActualUnspentAmount": "100",
      "observedOrphanBlocks": [
        {
          "blockId": "orphan-funding12",
          "eventStage": 12,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999991",
              "version": 2,
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "100"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "id": "address-version-reorg-funding-restored-before-13",
      "keyFamily": "address",
      "queryKey": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 12,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999991",
              "version": 2,
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "100"
                }
              ]
            }
          ]
        },
        {
          "blockId": "tip",
          "eventStage": 13,
          "transactions": []
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "filtered",
        "amount": "100",
        "spendCoverage": "qualifying_version_1_txids_only",
        "mayIncludeSpentOutputs": true
      },
      "expectedActualUnspentAmount": "100",
      "observedOrphanBlocks": [
        {
          "blockId": "orphan-funding13",
          "eventStage": 13,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999991",
              "version": 2,
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "100"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "id": "scriptHash-version-old-funding-grandfathered",
      "keyFamily": "scriptHash",
      "queryKey": "7773d1d47a0bceb825f0298f6abfc25b57365e20",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 12,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999991",
              "version": 2,
              "inputs": [],
              "outputs": [
                {
                  "lockingScript": "04892f00007551",
                  "amount": "100"
                }
              ]
            }
          ]
        },
        {
          "blockId": "tip",
          "eventStage": 13,
          "transactions": []
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "filtered",
        "amount": "100",
        "spendCoverage": "qualifying_version_1_txids_only",
        "mayIncludeSpentOutputs": true
      },
      "expectedActualUnspentAmount": "100"
    },
    {
      "id": "scriptHash-version-new-v2-funding-excluded",
      "keyFamily": "scriptHash",
      "queryKey": "7773d1d47a0bceb825f0298f6abfc25b57365e20",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 13,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999991",
              "version": 2,
              "inputs": [],
              "outputs": [
                {
                  "lockingScript": "04892f00007551",
                  "amount": "100"
                }
              ]
            }
          ]
        },
        {
          "blockId": "tip",
          "eventStage": 13,
          "transactions": []
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "filtered",
        "amount": "0",
        "spendCoverage": "qualifying_version_1_txids_only",
        "mayIncludeSpentOutputs": true
      },
      "expectedActualUnspentAmount": "100"
    },
    {
      "id": "scriptHash-version-new-v1-funding-admitted",
      "keyFamily": "scriptHash",
      "queryKey": "7773d1d47a0bceb825f0298f6abfc25b57365e20",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 13,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999991",
              "version": 1,
              "inputs": [],
              "outputs": [
                {
                  "lockingScript": "04892f00007551",
                  "amount": "100"
                }
              ]
            }
          ]
        },
        {
          "blockId": "tip",
          "eventStage": 13,
          "transactions": []
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "filtered",
        "amount": "100",
        "spendCoverage": "qualifying_version_1_txids_only",
        "mayIncludeSpentOutputs": true
      },
      "expectedActualUnspentAmount": "100"
    },
    {
      "id": "scriptHash-version-v2-spend-at-12-debits",
      "keyFamily": "scriptHash",
      "queryKey": "7773d1d47a0bceb825f0298f6abfc25b57365e20",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 12,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999991",
              "version": 2,
              "inputs": [],
              "outputs": [
                {
                  "lockingScript": "04892f00007551",
                  "amount": "100"
                }
              ]
            }
          ]
        },
        {
          "blockId": "spend",
          "eventStage": 12,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999992",
              "version": 2,
              "inputs": [
                {
                  "txid": "9999999999999999999999999999999999999999999999999999999999999991",
                  "index": 0
                }
              ],
              "outputs": []
            }
          ]
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "covered",
        "amount": "0",
        "spendCoverage": "all_confirmed_spends",
        "mayIncludeSpentOutputs": false
      },
      "expectedActualUnspentAmount": "0"
    },
    {
      "id": "scriptHash-version-v2-spend-at-13-retained",
      "keyFamily": "scriptHash",
      "queryKey": "7773d1d47a0bceb825f0298f6abfc25b57365e20",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 12,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999991",
              "version": 2,
              "inputs": [],
              "outputs": [
                {
                  "lockingScript": "04892f00007551",
                  "amount": "100"
                }
              ]
            }
          ]
        },
        {
          "blockId": "spend",
          "eventStage": 13,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999992",
              "version": 2,
              "inputs": [
                {
                  "txid": "9999999999999999999999999999999999999999999999999999999999999991",
                  "index": 0
                }
              ],
              "outputs": []
            }
          ]
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "filtered",
        "amount": "100",
        "spendCoverage": "qualifying_version_1_txids_only",
        "mayIncludeSpentOutputs": true
      },
      "expectedActualUnspentAmount": "0"
    },
    {
      "id": "scriptHash-version-v1-spend-debits-v2-funding",
      "keyFamily": "scriptHash",
      "queryKey": "7773d1d47a0bceb825f0298f6abfc25b57365e20",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 12,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999991",
              "version": 2,
              "inputs": [],
              "outputs": [
                {
                  "lockingScript": "04892f00007551",
                  "amount": "100"
                }
              ]
            }
          ]
        },
        {
          "blockId": "spend",
          "eventStage": 13,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999992",
              "version": 1,
              "inputs": [
                {
                  "txid": "9999999999999999999999999999999999999999999999999999999999999991",
                  "index": 0
                }
              ],
              "outputs": []
            }
          ]
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "filtered",
        "amount": "0",
        "spendCoverage": "qualifying_version_1_txids_only",
        "mayIncludeSpentOutputs": true
      },
      "expectedActualUnspentAmount": "0"
    },
    {
      "id": "scriptHash-version-v2-spend-enhanced-only",
      "keyFamily": "scriptHash",
      "queryKey": "7773d1d47a0bceb825f0298f6abfc25b57365e20",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 12,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999991",
              "version": 2,
              "inputs": [],
              "outputs": [
                {
                  "lockingScript": "04892f00007551",
                  "amount": "100"
                }
              ]
            }
          ]
        },
        {
          "blockId": "spend",
          "eventStage": 13,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999992",
              "version": 2,
              "inputs": [
                {
                  "txid": "9999999999999999999999999999999999999999999999999999999999999991",
                  "index": 0
                }
              ],
              "outputs": []
            }
          ]
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "filtered",
        "amount": "0",
        "spendCoverage": "qualifying_version_1_txids_plus_declared_extra_spends",
        "mayIncludeSpentOutputs": true,
        "ledgerView": "enhanced"
      },
      "expectedActualUnspentAmount": "0",
      "ledgerView": "enhanced",
      "extraSpendsVerified": true
    },
    {
      "id": "scriptHash-version-earlier-v2-debit-persists",
      "keyFamily": "scriptHash",
      "queryKey": "7773d1d47a0bceb825f0298f6abfc25b57365e20",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 12,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999991",
              "version": 2,
              "inputs": [],
              "outputs": [
                {
                  "lockingScript": "04892f00007551",
                  "amount": "100"
                }
              ]
            }
          ]
        },
        {
          "blockId": "spend",
          "eventStage": 12,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999992",
              "version": 2,
              "inputs": [
                {
                  "txid": "9999999999999999999999999999999999999999999999999999999999999991",
                  "index": 0
                }
              ],
              "outputs": []
            }
          ]
        },
        {
          "blockId": "tip",
          "eventStage": 13,
          "transactions": []
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "filtered",
        "amount": "0",
        "spendCoverage": "qualifying_version_1_txids_only",
        "mayIncludeSpentOutputs": true
      },
      "expectedActualUnspentAmount": "0"
    },
    {
      "id": "scriptHash-version-reorg-below-13-replays-v2-spend",
      "keyFamily": "scriptHash",
      "queryKey": "7773d1d47a0bceb825f0298f6abfc25b57365e20",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 12,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999991",
              "version": 2,
              "inputs": [],
              "outputs": [
                {
                  "lockingScript": "04892f00007551",
                  "amount": "100"
                }
              ]
            }
          ]
        },
        {
          "blockId": "spend",
          "eventStage": 12,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999992",
              "version": 2,
              "inputs": [
                {
                  "txid": "9999999999999999999999999999999999999999999999999999999999999991",
                  "index": 0
                }
              ],
              "outputs": []
            }
          ]
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "covered",
        "amount": "0",
        "spendCoverage": "all_confirmed_spends",
        "mayIncludeSpentOutputs": false
      },
      "expectedActualUnspentAmount": "0",
      "observedOrphanBlocks": [
        {
          "blockId": "orphan-stage13",
          "eventStage": 13,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999992",
              "version": 2,
              "inputs": [
                {
                  "txid": "9999999999999999999999999999999999999999999999999999999999999991",
                  "index": 0
                }
              ],
              "outputs": []
            }
          ]
        }
      ]
    },
    {
      "id": "scriptHash-version-reorg-below-13-replays-v2-spend-gap",
      "keyFamily": "scriptHash",
      "queryKey": "7773d1d47a0bceb825f0298f6abfc25b57365e20",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 12,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999991",
              "version": 2,
              "inputs": [],
              "outputs": [
                {
                  "lockingScript": "04892f00007551",
                  "amount": "100"
                }
              ]
            }
          ]
        },
        {
          "blockId": "spend",
          "eventStage": 12,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999992",
              "version": 2,
              "inputs": [
                {
                  "txid": "9999999999999999999999999999999999999999999999999999999999999991",
                  "index": 0
                }
              ],
              "outputs": []
            }
          ]
        }
      ],
      "reconstructionComplete": false,
      "expected": {
        "state": "unavailable"
      },
      "expectedActualUnspentAmount": "0",
      "observedOrphanBlocks": [
        {
          "blockId": "orphan-stage13",
          "eventStage": 13,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999992",
              "version": 2,
              "inputs": [
                {
                  "txid": "9999999999999999999999999999999999999999999999999999999999999991",
                  "index": 0
                }
              ],
              "outputs": []
            }
          ]
        }
      ]
    },
    {
      "id": "scriptHash-version-reorg-funding-reminted-after-13",
      "keyFamily": "scriptHash",
      "queryKey": "7773d1d47a0bceb825f0298f6abfc25b57365e20",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 13,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999991",
              "version": 2,
              "inputs": [],
              "outputs": [
                {
                  "lockingScript": "04892f00007551",
                  "amount": "100"
                }
              ]
            }
          ]
        },
        {
          "blockId": "tip",
          "eventStage": 13,
          "transactions": []
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "filtered",
        "amount": "0",
        "spendCoverage": "qualifying_version_1_txids_only",
        "mayIncludeSpentOutputs": true
      },
      "expectedActualUnspentAmount": "100",
      "observedOrphanBlocks": [
        {
          "blockId": "orphan-funding12",
          "eventStage": 12,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999991",
              "version": 2,
              "inputs": [],
              "outputs": [
                {
                  "lockingScript": "04892f00007551",
                  "amount": "100"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "id": "scriptHash-version-reorg-funding-restored-before-13",
      "keyFamily": "scriptHash",
      "queryKey": "7773d1d47a0bceb825f0298f6abfc25b57365e20",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 12,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999991",
              "version": 2,
              "inputs": [],
              "outputs": [
                {
                  "lockingScript": "04892f00007551",
                  "amount": "100"
                }
              ]
            }
          ]
        },
        {
          "blockId": "tip",
          "eventStage": 13,
          "transactions": []
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "filtered",
        "amount": "100",
        "spendCoverage": "qualifying_version_1_txids_only",
        "mayIncludeSpentOutputs": true
      },
      "expectedActualUnspentAmount": "100",
      "observedOrphanBlocks": [
        {
          "blockId": "orphan-funding13",
          "eventStage": 13,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999991",
              "version": 2,
              "inputs": [],
              "outputs": [
                {
                  "lockingScript": "04892f00007551",
                  "amount": "100"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "id": "address-version-direct-jump-past-13",
      "keyFamily": "address",
      "queryKey": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
      "acceptedBlocks": [
        {
          "blockId": "funding",
          "eventStage": 12,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999991",
              "version": 2,
              "inputs": [],
              "outputs": [
                {
                  "address": "1ChickenNuggetVzzzzzzzzzzzzzyMbzZ3",
                  "lockingScript": "76a914805cc3010b23c67b6e5fa59274b5fe75b14e5ba188ac",
                  "amount": "100"
                }
              ]
            }
          ]
        },
        {
          "blockId": "spend",
          "eventStage": 18,
          "transactions": [
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999999992",
              "version": 2,
              "inputs": [
                {
                  "txid": "9999999999999999999999999999999999999999999999999999999999999991",
                  "index": 0
                }
              ],
              "outputs": []
            }
          ]
        }
      ],
      "reconstructionComplete": true,
      "expected": {
        "state": "filtered",
        "amount": "100",
        "spendCoverage": "qualifying_version_1_txids_only",
        "mayIncludeSpentOutputs": true
      },
      "expectedActualUnspentAmount": "0"
    }
  ],
  "balanceTraceSemantics": "Stages 0-12 admit qualifying funding across all transaction versions and debit every accepted confirmed spend of admitted outputs. Stages 13+ admit and debit only version-1 transactions with qualifying TXID prefixes. Earlier admissions and debits persist; enhanced views may apply extra validated spends. Current retrieval/history instead applies current-stage version and prefix rules. Replay uses accepted event stages, discarding orphan/mempool effects. Explicit decoded versions and synthetic TXIDs do not assert consensus validity or hash/serialization correspondence.",
  "recoveryRetentionCases": [
    {
      "id": "retirement-block",
      "retirementHeight": 1000001,
      "acceptedTipHeight": 1000001,
      "retirementAnchorIsAcceptedAncestor": true,
      "requiredByActiveState": false,
      "recoveryInProgress": false,
      "expectedRecommendedHold": true,
      "expectedMandatoryProtection": false
    },
    {
      "id": "99-descendants",
      "retirementHeight": 1000001,
      "acceptedTipHeight": 1000100,
      "retirementAnchorIsAcceptedAncestor": true,
      "requiredByActiveState": false,
      "recoveryInProgress": false,
      "expectedRecommendedHold": true,
      "expectedMandatoryProtection": false
    },
    {
      "id": "100-descendants",
      "retirementHeight": 1000001,
      "acceptedTipHeight": 1000101,
      "retirementAnchorIsAcceptedAncestor": true,
      "requiredByActiveState": false,
      "recoveryInProgress": false,
      "expectedRecommendedHold": false,
      "expectedMandatoryProtection": false
    },
    {
      "id": "101-descendants",
      "retirementHeight": 1000001,
      "acceptedTipHeight": 1000102,
      "retirementAnchorIsAcceptedAncestor": true,
      "requiredByActiveState": false,
      "recoveryInProgress": false,
      "expectedRecommendedHold": false,
      "expectedMandatoryProtection": false
    },
    {
      "id": "orphaned-anchor-cannot-authorize-age",
      "retirementHeight": 1000001,
      "acceptedTipHeight": 1000200,
      "retirementAnchorIsAcceptedAncestor": false,
      "requiredByActiveState": false,
      "recoveryInProgress": false,
      "expectedRecommendedHold": true,
      "expectedMandatoryProtection": true
    },
    {
      "id": "lower-tip-hold-still-recommended",
      "retirementHeight": 1000001,
      "acceptedTipHeight": 1000050,
      "retirementAnchorIsAcceptedAncestor": true,
      "requiredByActiveState": false,
      "recoveryInProgress": false,
      "expectedRecommendedHold": true,
      "expectedMandatoryProtection": false
    },
    {
      "id": "live-grandfathered-data-still-required",
      "retirementHeight": 1000001,
      "acceptedTipHeight": 1000200,
      "retirementAnchorIsAcceptedAncestor": true,
      "requiredByActiveState": true,
      "recoveryInProgress": false,
      "expectedRecommendedHold": false,
      "expectedMandatoryProtection": true
    },
    {
      "id": "ongoing-recovery-data-still-required",
      "retirementHeight": 1000001,
      "acceptedTipHeight": 1000200,
      "retirementAnchorIsAcceptedAncestor": true,
      "requiredByActiveState": false,
      "recoveryInProgress": true,
      "expectedRecommendedHold": false,
      "expectedMandatoryProtection": true
    }
  ],
  "retentionDeviationCases": [
    {
      "configuredMinimumBlocks": 20,
      "riskDisclosurePublished": true,
      "expectedMinimumRecommendationMet": false,
      "expectedDisclosureRequirementMet": true
    },
    {
      "configuredMinimumBlocks": 20,
      "riskDisclosurePublished": false,
      "expectedMinimumRecommendationMet": false,
      "expectedDisclosureRequirementMet": false
    },
    {
      "configuredMinimumBlocks": 100,
      "riskDisclosurePublished": true,
      "expectedMinimumRecommendationMet": true,
      "expectedDisclosureRequirementMet": true
    },
    {
      "configuredMinimumBlocks": 200,
      "riskDisclosurePublished": true,
      "expectedMinimumRecommendationMet": true,
      "expectedDisclosureRequirementMet": true
    }
  ],
  "recoveryRetentionSemantics": "100 accepted descendants is a SHOULD minimum, not an absolute prohibition or a purge instruction. Operators may depart with published policy and risk disclosure. Live promised state and ongoing supported recovery remain mandatory protections; unverified/orphaned anchors cannot authorize a removal decision. Missing restored data requires unavailable until reconstructed.",
  "notation": "JSON keys, stages, snapshots, ledger-view names and logical result classifications in these fixtures describe decoded internal test state, not mandatory request/response formats. Conformance concerns required data availability and spend accounting; no new API, metadata fields or status codes are required.",
  "transactionEligibilityCases": [
    {
      "id": "version--1-stage-0-prefix-True",
      "stage": 0,
      "version": -1,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "expectedEligible": true
    },
    {
      "id": "version--1-stage-0-prefix-False",
      "stage": 0,
      "version": -1,
      "txid": "0000000000000000000000000000000000000000000000000000000000000000",
      "expectedEligible": true
    },
    {
      "id": "version-0-stage-0-prefix-True",
      "stage": 0,
      "version": 0,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "expectedEligible": true
    },
    {
      "id": "version-0-stage-0-prefix-False",
      "stage": 0,
      "version": 0,
      "txid": "0000000000000000000000000000000000000000000000000000000000000000",
      "expectedEligible": true
    },
    {
      "id": "version-1-stage-0-prefix-True",
      "stage": 0,
      "version": 1,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "expectedEligible": true
    },
    {
      "id": "version-1-stage-0-prefix-False",
      "stage": 0,
      "version": 1,
      "txid": "0000000000000000000000000000000000000000000000000000000000000000",
      "expectedEligible": true
    },
    {
      "id": "version-2-stage-0-prefix-True",
      "stage": 0,
      "version": 2,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "expectedEligible": true
    },
    {
      "id": "version-2-stage-0-prefix-False",
      "stage": 0,
      "version": 2,
      "txid": "0000000000000000000000000000000000000000000000000000000000000000",
      "expectedEligible": true
    },
    {
      "id": "version-3-stage-0-prefix-True",
      "stage": 0,
      "version": 3,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "expectedEligible": true
    },
    {
      "id": "version-3-stage-0-prefix-False",
      "stage": 0,
      "version": 3,
      "txid": "0000000000000000000000000000000000000000000000000000000000000000",
      "expectedEligible": true
    },
    {
      "id": "version-2147483647-stage-0-prefix-True",
      "stage": 0,
      "version": 2147483647,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "expectedEligible": true
    },
    {
      "id": "version-2147483647-stage-0-prefix-False",
      "stage": 0,
      "version": 2147483647,
      "txid": "0000000000000000000000000000000000000000000000000000000000000000",
      "expectedEligible": true
    },
    {
      "id": "version--1-stage-12-prefix-True",
      "stage": 12,
      "version": -1,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "expectedEligible": true
    },
    {
      "id": "version--1-stage-12-prefix-False",
      "stage": 12,
      "version": -1,
      "txid": "0000000000000000000000000000000000000000000000000000000000000000",
      "expectedEligible": false
    },
    {
      "id": "version-0-stage-12-prefix-True",
      "stage": 12,
      "version": 0,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "expectedEligible": true
    },
    {
      "id": "version-0-stage-12-prefix-False",
      "stage": 12,
      "version": 0,
      "txid": "0000000000000000000000000000000000000000000000000000000000000000",
      "expectedEligible": false
    },
    {
      "id": "version-1-stage-12-prefix-True",
      "stage": 12,
      "version": 1,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "expectedEligible": true
    },
    {
      "id": "version-1-stage-12-prefix-False",
      "stage": 12,
      "version": 1,
      "txid": "0000000000000000000000000000000000000000000000000000000000000000",
      "expectedEligible": false
    },
    {
      "id": "version-2-stage-12-prefix-True",
      "stage": 12,
      "version": 2,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "expectedEligible": true
    },
    {
      "id": "version-2-stage-12-prefix-False",
      "stage": 12,
      "version": 2,
      "txid": "0000000000000000000000000000000000000000000000000000000000000000",
      "expectedEligible": false
    },
    {
      "id": "version-3-stage-12-prefix-True",
      "stage": 12,
      "version": 3,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "expectedEligible": true
    },
    {
      "id": "version-3-stage-12-prefix-False",
      "stage": 12,
      "version": 3,
      "txid": "0000000000000000000000000000000000000000000000000000000000000000",
      "expectedEligible": false
    },
    {
      "id": "version-2147483647-stage-12-prefix-True",
      "stage": 12,
      "version": 2147483647,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "expectedEligible": true
    },
    {
      "id": "version-2147483647-stage-12-prefix-False",
      "stage": 12,
      "version": 2147483647,
      "txid": "0000000000000000000000000000000000000000000000000000000000000000",
      "expectedEligible": false
    },
    {
      "id": "version--1-stage-13-prefix-True",
      "stage": 13,
      "version": -1,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "expectedEligible": false
    },
    {
      "id": "version--1-stage-13-prefix-False",
      "stage": 13,
      "version": -1,
      "txid": "0000000000000000000000000000000000000000000000000000000000000000",
      "expectedEligible": false
    },
    {
      "id": "version-0-stage-13-prefix-True",
      "stage": 13,
      "version": 0,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "expectedEligible": false
    },
    {
      "id": "version-0-stage-13-prefix-False",
      "stage": 13,
      "version": 0,
      "txid": "0000000000000000000000000000000000000000000000000000000000000000",
      "expectedEligible": false
    },
    {
      "id": "version-1-stage-13-prefix-True",
      "stage": 13,
      "version": 1,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "expectedEligible": true
    },
    {
      "id": "version-1-stage-13-prefix-False",
      "stage": 13,
      "version": 1,
      "txid": "0000000000000000000000000000000000000000000000000000000000000000",
      "expectedEligible": false
    },
    {
      "id": "version-2-stage-13-prefix-True",
      "stage": 13,
      "version": 2,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "expectedEligible": false
    },
    {
      "id": "version-2-stage-13-prefix-False",
      "stage": 13,
      "version": 2,
      "txid": "0000000000000000000000000000000000000000000000000000000000000000",
      "expectedEligible": false
    },
    {
      "id": "version-3-stage-13-prefix-True",
      "stage": 13,
      "version": 3,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "expectedEligible": false
    },
    {
      "id": "version-3-stage-13-prefix-False",
      "stage": 13,
      "version": 3,
      "txid": "0000000000000000000000000000000000000000000000000000000000000000",
      "expectedEligible": false
    },
    {
      "id": "version-2147483647-stage-13-prefix-True",
      "stage": 13,
      "version": 2147483647,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "expectedEligible": false
    },
    {
      "id": "version-2147483647-stage-13-prefix-False",
      "stage": 13,
      "version": 2147483647,
      "txid": "0000000000000000000000000000000000000000000000000000000000000000",
      "expectedEligible": false
    },
    {
      "id": "version--1-stage-14-prefix-True",
      "stage": 14,
      "version": -1,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "expectedEligible": false
    },
    {
      "id": "version--1-stage-14-prefix-False",
      "stage": 14,
      "version": -1,
      "txid": "0000000000000000000000000000000000000000000000000000000000000000",
      "expectedEligible": false
    },
    {
      "id": "version-0-stage-14-prefix-True",
      "stage": 14,
      "version": 0,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "expectedEligible": false
    },
    {
      "id": "version-0-stage-14-prefix-False",
      "stage": 14,
      "version": 0,
      "txid": "0000000000000000000000000000000000000000000000000000000000000000",
      "expectedEligible": false
    },
    {
      "id": "version-1-stage-14-prefix-True",
      "stage": 14,
      "version": 1,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "expectedEligible": true
    },
    {
      "id": "version-1-stage-14-prefix-False",
      "stage": 14,
      "version": 1,
      "txid": "0000000000000000000000000000000000000000000000000000000000000000",
      "expectedEligible": false
    },
    {
      "id": "version-2-stage-14-prefix-True",
      "stage": 14,
      "version": 2,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "expectedEligible": false
    },
    {
      "id": "version-2-stage-14-prefix-False",
      "stage": 14,
      "version": 2,
      "txid": "0000000000000000000000000000000000000000000000000000000000000000",
      "expectedEligible": false
    },
    {
      "id": "version-3-stage-14-prefix-True",
      "stage": 14,
      "version": 3,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "expectedEligible": false
    },
    {
      "id": "version-3-stage-14-prefix-False",
      "stage": 14,
      "version": 3,
      "txid": "0000000000000000000000000000000000000000000000000000000000000000",
      "expectedEligible": false
    },
    {
      "id": "version-2147483647-stage-14-prefix-True",
      "stage": 14,
      "version": 2147483647,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "expectedEligible": false
    },
    {
      "id": "version-2147483647-stage-14-prefix-False",
      "stage": 14,
      "version": 2147483647,
      "txid": "0000000000000000000000000000000000000000000000000000000000000000",
      "expectedEligible": false
    },
    {
      "id": "version--1-stage-27-prefix-True",
      "stage": 27,
      "version": -1,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "expectedEligible": false
    },
    {
      "id": "version--1-stage-27-prefix-False",
      "stage": 27,
      "version": -1,
      "txid": "0000000000000000000000000000000000000000000000000000000000000000",
      "expectedEligible": false
    },
    {
      "id": "version-0-stage-27-prefix-True",
      "stage": 27,
      "version": 0,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "expectedEligible": false
    },
    {
      "id": "version-0-stage-27-prefix-False",
      "stage": 27,
      "version": 0,
      "txid": "0000000000000000000000000000000000000000000000000000000000000000",
      "expectedEligible": false
    },
    {
      "id": "version-1-stage-27-prefix-True",
      "stage": 27,
      "version": 1,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "expectedEligible": true
    },
    {
      "id": "version-1-stage-27-prefix-False",
      "stage": 27,
      "version": 1,
      "txid": "0000000000000000000000000000000000000000000000000000000000000000",
      "expectedEligible": false
    },
    {
      "id": "version-2-stage-27-prefix-True",
      "stage": 27,
      "version": 2,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "expectedEligible": false
    },
    {
      "id": "version-2-stage-27-prefix-False",
      "stage": 27,
      "version": 2,
      "txid": "0000000000000000000000000000000000000000000000000000000000000000",
      "expectedEligible": false
    },
    {
      "id": "version-3-stage-27-prefix-True",
      "stage": 27,
      "version": 3,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "expectedEligible": false
    },
    {
      "id": "version-3-stage-27-prefix-False",
      "stage": 27,
      "version": 3,
      "txid": "0000000000000000000000000000000000000000000000000000000000000000",
      "expectedEligible": false
    },
    {
      "id": "version-2147483647-stage-27-prefix-True",
      "stage": 27,
      "version": 2147483647,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "expectedEligible": false
    },
    {
      "id": "version-2147483647-stage-27-prefix-False",
      "stage": 27,
      "version": 2147483647,
      "txid": "0000000000000000000000000000000000000000000000000000000000000000",
      "expectedEligible": false
    },
    {
      "id": "coinbase-version-1-stage-12",
      "stage": 12,
      "version": 1,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "isCoinbase": true,
      "expectedEligible": true
    },
    {
      "id": "coinbase-version-2-stage-12",
      "stage": 12,
      "version": 2,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "isCoinbase": true,
      "expectedEligible": true
    },
    {
      "id": "coinbase-version-1-stage-13",
      "stage": 13,
      "version": 1,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "isCoinbase": true,
      "expectedEligible": true
    },
    {
      "id": "coinbase-version-2-stage-13",
      "stage": 13,
      "version": 2,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "isCoinbase": true,
      "expectedEligible": false
    }
  ],
  "versionRetrievalCases": [
    {
      "family": "txid",
      "currentStage": 12,
      "fundingStage": 12,
      "version": 2,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "identifierEligible": true,
      "expectedEligible": true
    },
    {
      "family": "txid",
      "currentStage": 13,
      "fundingStage": 12,
      "version": 2,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "identifierEligible": true,
      "expectedEligible": false
    },
    {
      "family": "txid",
      "currentStage": 13,
      "fundingStage": 12,
      "version": 1,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "identifierEligible": true,
      "expectedEligible": true
    },
    {
      "family": "txid",
      "currentStage": 27,
      "fundingStage": 12,
      "version": 2,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "identifierEligible": true,
      "expectedEligible": false
    },
    {
      "family": "txid",
      "currentStage": 27,
      "fundingStage": 12,
      "version": 1,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "identifierEligible": true,
      "expectedEligible": true
    },
    {
      "family": "address",
      "currentStage": 12,
      "fundingStage": 12,
      "version": 2,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "identifierEligible": true,
      "expectedEligible": true
    },
    {
      "family": "address",
      "currentStage": 13,
      "fundingStage": 12,
      "version": 2,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "identifierEligible": true,
      "expectedEligible": false
    },
    {
      "family": "address",
      "currentStage": 13,
      "fundingStage": 12,
      "version": 1,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "identifierEligible": true,
      "expectedEligible": true
    },
    {
      "family": "address",
      "currentStage": 27,
      "fundingStage": 12,
      "version": 2,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "identifierEligible": true,
      "expectedEligible": false
    },
    {
      "family": "address",
      "currentStage": 27,
      "fundingStage": 12,
      "version": 1,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "identifierEligible": true,
      "expectedEligible": true
    },
    {
      "family": "scriptHash",
      "currentStage": 12,
      "fundingStage": 12,
      "version": 2,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "identifierEligible": true,
      "expectedEligible": true
    },
    {
      "family": "scriptHash",
      "currentStage": 13,
      "fundingStage": 12,
      "version": 2,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "identifierEligible": true,
      "expectedEligible": false
    },
    {
      "family": "scriptHash",
      "currentStage": 13,
      "fundingStage": 12,
      "version": 1,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "identifierEligible": true,
      "expectedEligible": true
    },
    {
      "family": "scriptHash",
      "currentStage": 27,
      "fundingStage": 12,
      "version": 2,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "identifierEligible": true,
      "expectedEligible": false
    },
    {
      "family": "scriptHash",
      "currentStage": 27,
      "fundingStage": 12,
      "version": 1,
      "txid": "9999999999999999999999999999999999999999999999999999999999999999",
      "identifierEligible": true,
      "expectedEligible": true
    }
  ],
  "volumeCountCases": [
    {
      "id": "anchor-excluded-and-tip-included",
      "blocks": [
        {
          "blockId": "anchor",
          "parent": null,
          "height": 1000000,
          "transactions": [
            {
              "txid": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc",
              "version": 2,
              "coinbase": true
            },
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999990001",
              "version": 1,
              "coinbase": false
            },
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999990002",
              "version": 2,
              "coinbase": false
            }
          ]
        },
        {
          "blockId": "a",
          "parent": "anchor",
          "height": 1000001,
          "transactions": [
            {
              "txid": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc",
              "version": 2,
              "coinbase": true
            },
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999990003",
              "version": 1,
              "coinbase": false
            },
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999990004",
              "version": 1,
              "coinbase": false
            }
          ]
        }
      ],
      "acceptedTipObservations": [
        {
          "tip": "anchor",
          "expectedVolume": 0
        },
        {
          "tip": "a",
          "expectedVolume": 2
        }
      ]
    },
    {
      "id": "coinbase-only-does-not-increment",
      "blocks": [
        {
          "blockId": "anchor",
          "parent": null,
          "height": 1000000,
          "transactions": [
            {
              "txid": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc",
              "version": 2,
              "coinbase": true
            },
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999990001",
              "version": 1,
              "coinbase": false
            },
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999990002",
              "version": 2,
              "coinbase": false
            }
          ]
        },
        {
          "blockId": "a",
          "parent": "anchor",
          "height": 1000001,
          "transactions": [
            {
              "txid": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc",
              "version": 2,
              "coinbase": true
            },
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999990003",
              "version": 1,
              "coinbase": false
            }
          ]
        },
        {
          "blockId": "empty",
          "parent": "a",
          "height": 1000002,
          "transactions": [
            {
              "txid": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc",
              "version": 2,
              "coinbase": true
            }
          ]
        }
      ],
      "acceptedTipObservations": [
        {
          "tip": "a",
          "expectedVolume": 1
        },
        {
          "tip": "empty",
          "expectedVolume": 1
        }
      ]
    },
    {
      "id": "all-versions-prefixes-and-entry-units",
      "blocks": [
        {
          "blockId": "anchor",
          "parent": null,
          "height": 1000000,
          "transactions": [
            {
              "txid": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc",
              "version": 2,
              "coinbase": true
            },
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999990001",
              "version": 1,
              "coinbase": false
            },
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999990002",
              "version": 2,
              "coinbase": false
            }
          ]
        },
        {
          "blockId": "mixed",
          "parent": "anchor",
          "height": 1000001,
          "transactions": [
            {
              "txid": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc",
              "version": 2,
              "coinbase": true
            },
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999990003",
              "version": 1,
              "coinbase": false,
              "inputCount": 1,
              "outputCount": 100,
              "byteSize": 20000,
              "valueSatoshis": "0",
              "feeSatoshis": "0"
            },
            {
              "txid": "0000000000000000000000000000000000000000000000000000000000000004",
              "version": 2,
              "coinbase": false,
              "inputCount": 20,
              "outputCount": 1,
              "byteSize": 400,
              "valueSatoshis": "100000000",
              "feeSatoshis": "1000"
            },
            {
              "txid": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0005",
              "version": 3,
              "coinbase": false
            }
          ]
        }
      ],
      "acceptedTipObservations": [
        {
          "tip": "mixed",
          "expectedVolume": 3
        }
      ],
      "mempoolTransactions": [
        {
          "txid": "9999999999999999999999999999999999999999999999999999999999990006",
          "version": 1,
          "coinbase": false
        }
      ],
      "rejectedTransactions": [
        {
          "txid": "9999999999999999999999999999999999999999999999999999999999990007",
          "version": 1,
          "coinbase": false
        }
      ]
    },
    {
      "id": "no-reset-at-runway-notice-stage-adoption-or-restart",
      "blocks": [
        {
          "blockId": "anchor",
          "parent": null,
          "height": 1000000,
          "transactions": [
            {
              "txid": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc",
              "version": 2,
              "coinbase": true
            },
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999990001",
              "version": 1,
              "coinbase": false
            },
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999990002",
              "version": 2,
              "coinbase": false
            }
          ]
        },
        {
          "blockId": "runway",
          "parent": "anchor",
          "height": 1000001,
          "transactions": [
            {
              "txid": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc",
              "version": 2,
              "coinbase": true
            },
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999990003",
              "version": 1,
              "coinbase": false
            }
          ]
        },
        {
          "blockId": "notice",
          "parent": "runway",
          "height": 1000002,
          "transactions": [
            {
              "txid": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc",
              "version": 2,
              "coinbase": true
            },
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999990004",
              "version": 2,
              "coinbase": false
            }
          ]
        },
        {
          "blockId": "transition",
          "parent": "notice",
          "height": 1000003,
          "transactions": [
            {
              "txid": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc",
              "version": 2,
              "coinbase": true
            },
            {
              "txid": "0000000000000000000000000000000000000000000000000000000000000005",
              "version": 2,
              "coinbase": false
            }
          ]
        }
      ],
      "acceptedTipObservations": [
        {
          "tip": "runway",
          "expectedVolume": 1,
          "context": "initial runway"
        },
        {
          "tip": "notice",
          "expectedVolume": 2,
          "context": "activation waiting period"
        },
        {
          "tip": "transition",
          "expectedVolume": 3,
          "context": "stage transition"
        },
        {
          "tip": "transition",
          "expectedVolume": 3,
          "context": "late adoption"
        },
        {
          "tip": "transition",
          "expectedVolume": 3,
          "context": "restart"
        }
      ]
    },
    {
      "id": "reorganization-removes-old-adds-replacement",
      "blocks": [
        {
          "blockId": "anchor",
          "parent": null,
          "height": 1000000,
          "transactions": [
            {
              "txid": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc",
              "version": 2,
              "coinbase": true
            },
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999990001",
              "version": 1,
              "coinbase": false
            },
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999990002",
              "version": 2,
              "coinbase": false
            }
          ]
        },
        {
          "blockId": "common",
          "parent": "anchor",
          "height": 1000001,
          "transactions": [
            {
              "txid": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc",
              "version": 2,
              "coinbase": true
            },
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999990003",
              "version": 1,
              "coinbase": false
            }
          ]
        },
        {
          "blockId": "old",
          "parent": "common",
          "height": 1000002,
          "transactions": [
            {
              "txid": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc",
              "version": 2,
              "coinbase": true
            },
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999990004",
              "version": 1,
              "coinbase": false
            },
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999990005",
              "version": 2,
              "coinbase": false
            },
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999990006",
              "version": 1,
              "coinbase": false
            }
          ]
        },
        {
          "blockId": "replacement",
          "parent": "common",
          "height": 1000002,
          "transactions": [
            {
              "txid": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc",
              "version": 2,
              "coinbase": true
            },
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999990004",
              "version": 1,
              "coinbase": false
            }
          ]
        },
        {
          "blockId": "newtip",
          "parent": "replacement",
          "height": 1000003,
          "transactions": [
            {
              "txid": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc",
              "version": 2,
              "coinbase": true
            },
            {
              "txid": "0000000000000000000000000000000000000000000000000000000000000007",
              "version": 3,
              "coinbase": false
            }
          ]
        }
      ],
      "acceptedTipObservations": [
        {
          "tip": "common",
          "expectedVolume": 1
        },
        {
          "tip": "old",
          "expectedVolume": 4
        },
        {
          "tip": "replacement",
          "expectedVolume": 2
        },
        {
          "tip": "newtip",
          "expectedVolume": 3
        }
      ]
    },
    {
      "id": "replacement-anchor-restarts-count-from-new-anchor",
      "blocks": [
        {
          "blockId": "anchor",
          "parent": null,
          "height": 1000000,
          "transactions": [
            {
              "txid": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc",
              "version": 2,
              "coinbase": true
            },
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999990001",
              "version": 1,
              "coinbase": false
            },
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999990002",
              "version": 2,
              "coinbase": false
            }
          ]
        },
        {
          "blockId": "oldtip",
          "parent": "anchor",
          "height": 1000001,
          "transactions": [
            {
              "txid": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc",
              "version": 2,
              "coinbase": true
            },
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999990003",
              "version": 1,
              "coinbase": false
            },
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999990004",
              "version": 1,
              "coinbase": false
            }
          ]
        },
        {
          "blockId": "newanchor",
          "parent": null,
          "height": 1000000,
          "transactions": [
            {
              "txid": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc",
              "version": 2,
              "coinbase": true
            },
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999990005",
              "version": 1,
              "coinbase": false
            },
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999990006",
              "version": 1,
              "coinbase": false
            },
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999990007",
              "version": 1,
              "coinbase": false
            }
          ]
        },
        {
          "blockId": "newtip",
          "parent": "newanchor",
          "height": 1000001,
          "transactions": [
            {
              "txid": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc",
              "version": 2,
              "coinbase": true
            },
            {
              "txid": "9999999999999999999999999999999999999999999999999999999999990008",
              "version": 2,
              "coinbase": false
            }
          ]
        }
      ],
      "acceptedTipObservations": [
        {
          "tip": "oldtip",
          "expectedVolume": 2
        },
        {
          "tip": "newanchor",
          "expectedVolume": 0
        },
        {
          "tip": "newtip",
          "expectedVolume": 1
        }
      ]
    }
  ],
  "volumeCountSemantics": "Synthetic decoded block entries and accepted-tip changes test count units, anchor exclusion, coinbase exclusion, all-version/unfiltered accumulation and reorganization recounting. Observation contexts label counting invariance only; they do not assert a complete calendar/notice/stage trace or consensus-valid transactions. Each observation is recomputed from its accepted ancestry; local caches, mempool and rejected entries have no authority."
}
