From c4183b25dc169f3acb908e48c8e2a2d65e94ce5c Mon Sep 17 00:00:00 2001 From: Oskar Thoren Date: Tue, 1 Oct 2019 11:34:24 +0800 Subject: [PATCH] fixed review comments --- remote-log.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/remote-log.md b/remote-log.md index 9f0f0f4d..cefff4cb 100644 --- a/remote-log.md +++ b/remote-log.md @@ -52,6 +52,8 @@ Payloads are implemented using [protocol buffers v3](https://developers.google.c **CAS service**: ```protobuf +syntax = "proto3"; + package vac.cas; service CAS { @@ -73,6 +75,10 @@ message Content { **NS service**: ```protobuf +syntax = "proto3"; + +package vac.cas; + service NS { rpc Update(NameUpdate) returns (Response) {} rpc Fetch(Query) returns (Content) {} @@ -102,6 +108,10 @@ message Response { **Remote log:** ```protobuf +syntax = "proto3"; + +package vac.cas; + message RemoteLog { repeated Pair pair = 1; bytes tail = 2; @@ -133,7 +143,7 @@ There are four fundamental roles: The *remote log* protobuf is what is stored at the Name system. -"Bob" can represents anything from 0 to N participants. Unlike Alice, Bob only needs read-only access to NS and CAS. +"Bob" can represent anything from 0 to N participants. Unlike Alice, Bob only needs read-only access to NS and CAS. ### Flow