Cleanup scenario

This commit is contained in:
Oskar Thoren 2019-01-13 22:50:08 -05:00
parent 3fc7067635
commit 7f86cf2bd0
1 changed files with 5 additions and 8 deletions

View File

@ -467,18 +467,15 @@ def run(steps=10):
a.share("B") a.share("B")
b.share("A") b.share("A")
# XXX: Hm, a lot of coordination here? Weird? # C and D participating
a.share("C") a.share("C")
#b.share("C")
c.share("A")
#c.share("B")
c.share("D")
b.share("D") b.share("D")
c.share("A")
c.share("D")
d.share("B") d.share("B")
d.share("C") d.share("C")
print "\nAssuming one group context (A-B-C-D share):" print "\nAssuming one group context (A-B (C-D) share):"
# XXX: Conditional append to get message graph? # XXX: Conditional append to get message graph?
# TODO: Actually need to encode graph, client concern # TODO: Actually need to encode graph, client concern
@ -504,4 +501,4 @@ def run(steps=10):
c.print_sync_state() c.print_sync_state()
d.print_sync_state() d.print_sync_state()
run(20) run(30)