Part of Stem. This page defines what Stem changes about the Change blob, which is almost nothing.
A Change is exactly the library change; Stem only allows a Snapshot CID among its deps.
Fields
Rules
The genesis Change is still the identity of a document's history; a Node ties that history to a node id, and every head a Node lists must share one genesis. A Change that depends on a Snapshot treats the Snapshot's value as the state it builds on; the Snapshot's schema must be the document attributes schema of the node's kind. Changes carry no authorization of their own, as today: authority is checked on the Node that points at them. Changes carry no visibility: their audience is derived from the nodes whose heads reach them.
Today (HM24)
Identical, minus the Snapshot dep. The custom CRDT the team plans for signed history will replace the op set later; the Node and Snapshot layers do not depend on that decision.
Example
See the examples on change. A Change continuing from a snapshot differs only in deps:
"deps": [{"/": "bafyreisnapshotofdocument00000000000000000000000000000000"}]Do you like what you are reading? Subscribe to receive updates.
Unsubscribe anytime