Skip to content

Commit

Permalink
Update Periodically-Syncing-HyperChains.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasArts committed Sep 10, 2024
1 parent 4cd74e1 commit 687f546
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Periodically-Syncing-HyperChains.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,16 @@ At the end of a child epoch, the state is updated and the epochs shift taking th
The epoch length can be adjusted within a cycle by having the last leader of the production epoch propose decrease or increase of the length.
During the next epoch, votes can be collected and the result is again posted in the last block of that epoch.
If there is a majority vote for the same speed change, then the epoch thereafter will have that demanded new epoch length.
Concrete proposal:
Any leader can add a contract call transaction `increase_epoch_length(N)` or `decrease_epoch_length(N)` with N a positive integer (`> 0` and `<` some sensible max).
The contract state counts these for the ongoing production epoch and at the end of the production epoch some weighted average of increases and decreases.
```
FORMULA HERE
```
At the end of that epoch this results in a proposed change for the next production epoch, in which leaders vote on it by a contract call (yes or no).
If accepted, then the production epoch thereafter starts with this new epoch length.




## Pinning
Expand Down

0 comments on commit 687f546

Please sign in to comment.