Skip to content
Snippets Groups Projects
Commit ec0ae110 authored by Peter J. Keleher's avatar Peter J. Keleher
Browse files

auto

parent c9ce6cee
No related branches found
No related tags found
No related merge requests found
......@@ -12,13 +12,13 @@ We will be using the log as a dumb consistent ledger. To this end we need to
log to clients.
We are going to handle both of these through a new method in the `Client`
service: `Cmd`. `Cmd` takes identity, a string command, and a `maxSeenSlot`
service: `Cmd`. `Cmd` takes identity, a string command, and a `seen`
value that specifies the prefix of the shared log seen by the client previously.
This function:
- commits the string onto the shared log,
- synchronously waits until it has been committed, and then
- returns everything in the log from `maxSlotSeen` until the slot containing the new command.
- returns everything in the log from `slot` until the slot containing the new command.
The client can use this to create local copy of the log that
it will use to implement and interpret gets, puts, and transactions.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment