mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-10-07 22:57:07 +00:00
Wikipedia Page on Lamport Timestamps linked.
This commit is contained in:
9
API.md
9
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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user