mirror of
https://github.com/vacp2p/rfc.git
synced 2025-01-27 15:15:14 +00:00
fixed review comments
This commit is contained in:
parent
ccb9ae7f44
commit
c4183b25dc
@ -52,6 +52,8 @@ Payloads are implemented using [protocol buffers v3](https://developers.google.c
|
|||||||
**CAS service**:
|
**CAS service**:
|
||||||
|
|
||||||
```protobuf
|
```protobuf
|
||||||
|
syntax = "proto3";
|
||||||
|
|
||||||
package vac.cas;
|
package vac.cas;
|
||||||
|
|
||||||
service CAS {
|
service CAS {
|
||||||
@ -73,6 +75,10 @@ message Content {
|
|||||||
**NS service**:
|
**NS service**:
|
||||||
|
|
||||||
```protobuf
|
```protobuf
|
||||||
|
syntax = "proto3";
|
||||||
|
|
||||||
|
package vac.cas;
|
||||||
|
|
||||||
service NS {
|
service NS {
|
||||||
rpc Update(NameUpdate) returns (Response) {}
|
rpc Update(NameUpdate) returns (Response) {}
|
||||||
rpc Fetch(Query) returns (Content) {}
|
rpc Fetch(Query) returns (Content) {}
|
||||||
@ -102,6 +108,10 @@ message Response {
|
|||||||
**Remote log:**
|
**Remote log:**
|
||||||
|
|
||||||
```protobuf
|
```protobuf
|
||||||
|
syntax = "proto3";
|
||||||
|
|
||||||
|
package vac.cas;
|
||||||
|
|
||||||
message RemoteLog {
|
message RemoteLog {
|
||||||
repeated Pair pair = 1;
|
repeated Pair pair = 1;
|
||||||
bytes tail = 2;
|
bytes tail = 2;
|
||||||
@ -133,7 +143,7 @@ There are four fundamental roles:
|
|||||||
|
|
||||||
The *remote log* protobuf is what is stored at the Name system.
|
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
|
### Flow
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user