Wikipedia Page on Lamport Timestamps linked.

This commit is contained in:
CSDUMMI
2021-10-08 10:28:17 +02:00
committed by GitHub
parent b1f2048103
commit 8330fc01c8

9
API.md
View File

@@ -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.