mirror of https://github.com/vacp2p/rfc.git
Merge branch 'master' of github.com:vacp2p/specs
This commit is contained in:
commit
45372da68a
|
@ -0,0 +1,14 @@
|
||||||
|
# Alice and Bob: batch data sync
|
||||||
|
msc {
|
||||||
|
hscale="2", wordwraparcs=on;
|
||||||
|
|
||||||
|
alice [label="Alice"],
|
||||||
|
bob [label="Bob"];
|
||||||
|
|
||||||
|
--- [label="batch data sync"];
|
||||||
|
alice => alice [label="add messages to payload state"];
|
||||||
|
alice >> bob [label="send payload with messages"];
|
||||||
|
|
||||||
|
bob => bob [label="add acks to payload state"];
|
||||||
|
bob >> alice [label="send payload with acks"];
|
||||||
|
}
|
|
@ -0,0 +1,20 @@
|
||||||
|
# Alice and Bob: interactive data sync
|
||||||
|
msc {
|
||||||
|
hscale="2", wordwraparcs=on;
|
||||||
|
|
||||||
|
alice [label="Alice"],
|
||||||
|
bob [label="Bob"];
|
||||||
|
|
||||||
|
--- [label="interactive data sync"];
|
||||||
|
alice => alice [label="add offers to payload state"];
|
||||||
|
alice >> bob [label="send payload with offers"];
|
||||||
|
|
||||||
|
bob => bob [label="add requests to payload state"];
|
||||||
|
bob >> alice [label="send payload with requests"];
|
||||||
|
|
||||||
|
alice => alice [label="add requested messages to state"];
|
||||||
|
alice >> bob [label="send payload with messages"];
|
||||||
|
|
||||||
|
bob => bob [label="add acks to payload state"];
|
||||||
|
bob >> alice [label="send payload with acks"];
|
||||||
|
}
|
Loading…
Reference in New Issue