Skip to content

Commit

Permalink
fix n7f1b0, add n7f1b1
Browse files Browse the repository at this point in the history
  • Loading branch information
konnov committed Jul 23, 2024
1 parent afadd59 commit 6bd71a0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/protocol-spec/experiments/n7f1b0.qnt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// A specification instance for n=6, f=1, and no Byzantine faults
module n7f1b0 {
import replica(
CORRECT = Set("n0", "n1", "n2", "n3", "n4", "n5", "n5"),
CORRECT = Set("n0", "n1", "n2", "n3", "n4", "n5", "n6"),
FAULTY = Set(),
WEIGHTS = Map("n0"->1, "n1"->1, "n2"->1, "n3"->1, "n4"->1, "n5"->1, "n6"->1),
REPLICA_KEYS = Map("n0"->"n0", "n1"->"n1", "n2"->"n2", "n3"->"n3", "n4"->"n4", "n5"->"n5", "n6"->"n6"),
Expand All @@ -11,4 +11,4 @@ module n7f1b0 {
VALID_BLOCKS = Set("val_b0", "val_b1"),
INVALID_BLOCKS = Set("inv_b3")
).* from "../replica"
}
}
14 changes: 14 additions & 0 deletions spec/protocol-spec/experiments/n7f1b1.qnt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// A specification instance for n=6, f=1, and no Byzantine faults
module n7f1b1 {
import replica(
CORRECT = Set("n0", "n1", "n2", "n3", "n4", "n5"),
FAULTY = Set("n6"),
WEIGHTS = Map("n0"->1, "n1"->1, "n2"->1, "n3"->1, "n4"->1, "n5"->1, "n6"->1),
REPLICA_KEYS = Map("n0"->"n0", "n1"->"n1", "n2"->"n2", "n3"->"n3", "n4"->"n4", "n5"->"n5", "n6"->"n6"),
N = 7,
F = 1,
VIEWS = 0.to(3),
VALID_BLOCKS = Set("val_b0", "val_b1"),
INVALID_BLOCKS = Set("inv_b3")
).* from "../replica"
}

0 comments on commit 6bd71a0

Please sign in to comment.