-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e592b62
commit 50894bc
Showing
1 changed file
with
10 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 1,26 @@ | ||
# Tenderbake specification | ||
|
||
For more information about Tenderbake, see [Tenderbake](./Tenderbake.md) | ||
For more information about Tenderbake and dynamic repeated consensus, see [Tenderbake](./Tenderbake.md) | ||
|
||
For the TLA spec, see [Tenderbake spec](./Tenderbake.tla) | ||
|
||
## Spec design | ||
|
||
TODO | ||
This specification follows the design of Tenderbake laid out in [Tendbake - A Solution to Dynamic Repeated Consenses for Blockchains](https://arxiv.org/abs/2001.11965). Liberal simplifications/abstractions are used to produce a tractable spec and will be explained below. As with all TLA specs, we specify the consensus protocol as a state machine. | ||
|
||
The spec contains both *correct* and *faulty* processes. Correct processes follow the protocol while faulty processes behave arbitrarily. | ||
|
||
### Simplifications/assumptions | ||
|
||
- dynamic level comittees | ||
- committes depend only on the level | ||
- proposer depends on the round within the level | ||
- `n >= 3f 1` where `n` is the number of bakers and `f` is the number of faulty bakers | ||
- `n >= 3f 1` where `n` is the number of bakers (correct faulty processes) and `f` is the number of faulty bakers (processes) | ||
- all committee members have the ability to communicate with one another | ||
- no mempool | ||
- TODO | ||
|
||
## Run the code = verify the specification's properties | ||
|
||
TODO | ||
The spec's properties can be found [here](./Tanderbake.tla#L994). To verify these properties using TLC, | ||
1. Clone the repo | ||
2. From the Tenderbake directory, do `tlc MC_safety.tla` |