From 8330fc01c8f2c80fcf47ebeac0e7336f63ccc4d2 Mon Sep 17 00:00:00 2001 From: CSDUMMI <31551856+CSDUMMI@users.noreply.github.com> Date: Fri, 8 Oct 2021 10:28:17 +0200 Subject: [PATCH] Wikipedia Page on Lamport Timestamps linked. --- API.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/API.md b/API.md index 14fdbc6..6ec37e1 100644 --- a/API.md +++ b/API.md @@ -710,8 +710,9 @@ Address of the oplog. (A.k.a. the OrbitDB Address) Payload of the operation. Provided by the Store to `_addOperation`. ### `next` -Array of hashes of the oplog entries that are before this entry -in the oplog and that this entry depends upon. +Array of hashes of the oplog entries that happened before this one. + + ### `refs` **TBD** @@ -722,10 +723,12 @@ in the oplog and that this entry depends upon. ### `clock` Lamport clock instance of the entry. A Lamport clock contains a `time`, an integer, -taht for all operations depending on each other increases. +that for all operations depending on each other increases. If Operation A depends on Operation B, B's time < A's time. +[See the Wikipedia description of Lamport Clocks for more details](https://en.wikipedia.org/wiki/Lamport_timestamp) + ## `key` Public key of the Identity that added this entry.