holochain-open-dev / holoom

Tools for weaving blockchain data into holochain
Other
2 stars 1 forks source link

Show data immutability e.g. this data was signed by this agent at this timestamp; track any changes to the data post timestamp #21

Closed dcatki closed 4 months ago

8e8b2c commented 4 months ago

Notes:

Displaying the author and the signature is easy enough since the info is already accessible via records.

Currently no documents have timestamps, this needs changing in the happ. This probably makes the most sense on OracleDocument. One possible drawback is that two near-simultaneous asserts of the same data would have different entry hashes. (Is it worth nesting entries to address this? An idea possibly worth revisiting when considering https://github.com/holochain-open-dev/holoom/issues/15))

The current behaviour for getting documents by name is to retrieve the newest record. We should add another getter for listing all revisions.

8e8b2c commented 4 months ago

Currently no documents have timestamps, this needs changing in the happ. This probably makes the most sense on OracleDocument. One possible drawback is that two near-simultaneous asserts of the same data would have different entry hashes. (Is it worth nesting entries to address this? An idea possibly worth revisiting when considering https://github.com/holochain-open-dev/holoom/issues/15))

Scrap that, I'd completely overlooked that Records have timestamps