board / client / test / vectors / mailbox.json
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
{
  "auth": {
    "first": "tok1",
    "cached": "tok1",
    "stillCached": "tok1",
    "reminted": "tok2",
    "afterInvalidate": "tok3",
    "urls": [
      "https://relay.example/mint?room=MBX%20ROOM%2FID&ttl=86400",
      "https://relay.example/mint?room=MBX%20ROOM%2FID&ttl=86400",
      "https://relay.example/mint?room=MBX%20ROOM%2FID&ttl=86400"
    ],
    "mints": 3
  },
  "deposit": {
    "created": {
      "ok": true,
      "deduped": false,
      "seq": "0001"
    },
    "deduped": {
      "ok": true,
      "deduped": true,
      "seq": "0001"
    },
    "no-json": {
      "ok": true,
      "deduped": false,
      "seq": ""
    },
    "too-large": {
      "ok": false,
      "kind": "too_large"
    },
    "auth": {
      "ok": false,
      "kind": "auth"
    },
    "forbidden": {
      "ok": false,
      "kind": "auth"
    },
    "throttled": {
      "ok": false,
      "kind": "backpressure"
    },
    "full": {
      "ok": false,
      "kind": "backpressure"
    },
    "server": {
      "ok": false,
      "kind": "net"
    },
    "network": {
      "ok": false,
      "kind": "net"
    }
  },
  "replay": {
    "page": {
      "ok": true,
      "page": {
        "messages": [
          {
            "seq": "0002",
            "id": "i",
            "ts": 1,
            "payload": "AQ=="
          }
        ],
        "hasMore": true,
        "oldestSeq": "0001",
        "latestSeq": "0009"
      }
    },
    "noCursor": {
      "ok": true,
      "page": {
        "messages": [
          {
            "seq": "0002",
            "id": "i",
            "ts": 1,
            "payload": "AQ=="
          }
        ],
        "hasMore": true,
        "oldestSeq": "0001",
        "latestSeq": "0009"
      }
    },
    "empty": {
      "ok": true,
      "page": {
        "messages": [],
        "hasMore": false,
        "oldestSeq": null,
        "latestSeq": null
      }
    },
    "auth": {
      "ok": false,
      "kind": "auth"
    },
    "urls": [
      "https://relay.example/mbx/rooms/MBX%20ROOM%2FID/messages?limit=100&after=0001",
      "https://relay.example/mbx/rooms/MBX%20ROOM%2FID/messages?limit=50",
      "https://relay.example/mbx/rooms/MBX%20ROOM%2FID/messages?limit=10",
      "https://relay.example/mbx/rooms/MBX%20ROOM%2FID/messages?limit=10",
      "https://relay.example/mbx/rooms/MBX%20ROOM%2FID/messages?limit=10"
    ],
    "reqs": [
      [
        "https://relay.example/mbx/rooms/MBX%20ROOM%2FID/messages?limit=100&after=0001",
        "GET",
        "Bearer tok13"
      ],
      [
        "https://relay.example/mbx/rooms/MBX%20ROOM%2FID/messages?limit=50",
        "GET",
        "Bearer tok14"
      ],
      [
        "https://relay.example/mbx/rooms/MBX%20ROOM%2FID/messages?limit=10",
        "GET",
        "Bearer tok15"
      ],
      [
        "https://relay.example/mbx/rooms/MBX%20ROOM%2FID/messages?limit=10",
        "GET",
        "Bearer tok16"
      ],
      [
        "https://relay.example/mbx/rooms/MBX%20ROOM%2FID/messages?limit=10",
        "GET",
        "Bearer tok17"
      ]
    ]
  },
  "keys": {
    "cursor": "board-ardegazu-ro-v1:mbx-cursor:R",
    "queue": "board-ardegazu-ro-v1:mbx-queue:R",
    "sent": "board-ardegazu-ro-v1:mbx-sent:R",
    "retry": "board-ardegazu-ro-v1:mbx-retry:R",
    "ident": "board-ardegazu-ro-v1:mbx-ident:R"
  },
  "stateEmpty": {
    "queued": 0,
    "retry": 0,
    "cursor": null
  },
  "queueAfterEntry": [
    {
      "t": "ident"
    },
    {
      "t": "entry",
      "hash": "zdpuB2H7FsgxU1PVuGcwk4TDYGgv7xrQ7naFJ1YHfRV71t7Rf"
    }
  ],
  "deposits": [
    "0202e0ff3e8db0781afd21793b85f03dfa1941a535696f7d4dcfdb4b33cf8a924fad59de4afef60d9ae8bdc7010b7db32cca0eff9f043196155f34325a54acbdfd80ff55b1ad",
    "0101711220eb989b4a620fd259ae02181bdab4fc3eb6dc6b45eb7322999bb1416bce318926a1616101"
  ],
  "identFlag": "1",
  "sent": [
    "zdpuB2H7FsgxU1PVuGcwk4TDYGgv7xrQ7naFJ1YHfRV71t7Rf"
  ],
  "queueAfterRepeat": [],
  "identEnvelopePrefix": [
    "02",
    "01"
  ],
  "qItemShapes": {
    "entry": "{\"t\":\"entry\",\"hash\":\"zdpuB2H7FsgxU1PVuGcwk4TDYGgv7xrQ7naFJ1YHfRV71t7Rf\"}",
    "img": "{\"t\":\"img\",\"cid\":\"bafkreihhictpv4w3mx2ykmki25ozum25prfzjkyqn7s7en54gt647r2fqq\",\"group\":\"root\"}",
    "ident": "{\"t\":\"ident\"}"
  },
  "overCapQueue": [],
  "processed": {
    "raw-image-block": {
      "rawPuts": [
        "bafkreihhictpv4w3mx2ykmki25ozum25prfzjkyqn7s7en54gt647r2fqq"
      ],
      "identPuts": [],
      "collected": 0
    },
    "wrong-prefix": {
      "rawPuts": [],
      "identPuts": [],
      "collected": 0
    },
    "too-short": {
      "rawPuts": [],
      "identPuts": [],
      "collected": 0
    },
    "cid-mismatch": {
      "rawPuts": [],
      "identPuts": [],
      "collected": 0
    },
    "sealed-not-ours": {
      "rawPuts": [],
      "identPuts": [],
      "collected": 0
    },
    "garbage": {
      "rawPuts": [],
      "identPuts": [],
      "collected": 0
    },
    "sealed-identity": {
      "rawPuts": [],
      "identPuts": [
        "bafyreie7mstupynzp4jr7k5wwrdss3e3n4badz47wpctk3tmo7ujw2uani"
      ],
      "collected": 0
    }
  }
}

static mirror of HEAD · about · clone: git clone https://git.ardegazu.ro/board.git