full diff

org.cairnsproto.draft.goldReveal

cairnsproto.org +8 −0
From
bafyreib2a7mk6mrjkjxh7lhzt2zzxrqkboyziqyvfmre2k2cxfqume3wue indexed 2026-11-05 17:19 UTC View this version
To
bafyreidmi2e2n4yajsfn725rids2f2caoeybgr72xshr3tmkmu2ckw7gte indexed 2026-11-06 01:44 UTC View this version

Compatibility

backward compatible Backward compatible. 4 non-breaking changes.

Non-breaking changes (4)
  • AddedVertex AddedVertex { vertex_id: "org.cairnsproto.draft.goldReveal#entry.anchored" }
  • AddedVertex AddedVertex { vertex_id: "org.cairnsproto.draft.goldReveal#entry.payload" }
  • AddedEdge AddedEdge { src: "org.cairnsproto.draft.goldReveal#entry", tgt: "org.cairnsproto.draft.goldReveal#entry.anchored", kind: "prop", name: Some("anchored") }
  • AddedEdge AddedEdge { src: "org.cairnsproto.draft.goldReveal#entry", tgt: "org.cairnsproto.draft.goldReveal#entry.payload", kind: "prop", name: Some("payload") }

Migration guidance

Added

  • AddedVertex { vertex_id: "org.cairnsproto.draft.goldReveal#entry.anchored" }
  • AddedVertex { vertex_id: "org.cairnsproto.draft.goldReveal#entry.payload" }

Notes

  • Non-breaking: AddedEdge { src: "org.cairnsproto.draft.goldReveal#entry", tgt: "org.cairnsproto.draft.goldReveal#entry.anchored", kind: "prop", name: Some("anchored") }
  • Non-breaking: AddedEdge { src: "org.cairnsproto.draft.goldReveal#entry", tgt: "org.cairnsproto.draft.goldReveal#entry.payload", kind: "prop", name: Some("payload") }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "entry": {
55 "properties": {
6 "anchored": {
7 "description": "The answer came from an anchor, which counts on its own; the entry then adds no read. Default false.",
8 "type": "boolean"
9 },
610 "index": {
711 "description": "The leaf's position in the committed tree.",
812 "minimum": 0,
913 "type": "integer"
1014 },
1115 "path": {
1216 "description": "The RFC 6962 audit path from the leaf to the root, nearest sibling first.",
1317 "items": {
1418 "ref": "org.cairnsproto.draft.defs#hash",
1519 "type": "ref"
1620 },
1721 "maxLength": 64,
1822 "type": "array"
1923 },
24 "payload": {
25 "description": "The canonical value itself, whose digest is `value`, so a reading can count a value no stone reads.",
26 "type": "unknown"
27 },
2028 "salt": {
2129 "maxLength": 128,
2230 "minLength": 16,
2331 "type": "string"
2432 },
2533 "site": {
2634 "description": "The gold site's key.",
2735 "ref": "org.cairnsproto.draft.defs#hash",
2836 "type": "ref"
2937 },
3038 "value": {
3139 "description": "The digest of the site's canonical value.",
3240 "ref": "org.cairnsproto.draft.defs#hash",
3341 "type": "ref"
3442 }
3543 },
3644 "required": [
3745 "site",
3846 "value",
3947 "salt",
4048 "index",
4149 "path"
4250 ],
4351 "type": "object"
4452 },
4553 "main": {
4654 "description": "Gold entries revealed after the committed epoch's retrace window, each with its inclusion proof. An entry whose proof doesn't reach the committed root is void.",
4755 "key": "tid",
4856 "record": {
4957 "properties": {
5058 "createdAt": {
5159 "format": "datetime",
5260 "type": "string"
5361 },
5462 "entries": {
5563 "items": {
5664 "ref": "#entry",
5765 "type": "ref"
5866 },
5967 "maxLength": 10000,
6068 "minLength": 1,
6169 "type": "array"
6270 },
6371 "gold": {
6472 "ref": "com.atproto.repo.strongRef",
6573 "type": "ref"
6674 }
6775 },
6876 "required": [
6977 "gold",
7078 "entries",
7179 "createdAt"
7280 ],
7381 "type": "object"
7482 },
7583 "type": "record"
7684 }
7785 },
7886 "id": "org.cairnsproto.draft.goldReveal",
7987 "lexicon": 1
8088}

Compare other versions