Closed dcatki closed 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
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.