celestiaorg / celestia-specs

Celestia Specifications
Creative Commons Zero v1.0 Universal
51 stars 14 forks source link

Consider using epochs #116

Open adlerjohn opened 3 years ago

adlerjohn commented 3 years ago

https://github.com/lazyledger/lazyledger-specs/pull/114#discussion_r565328240

liamsi commented 3 years ago

I'm very much in favour of this. Also, see:

liamsi commented 3 years ago

See also: https://github.com/osmosis-labs/osmosis/blob/0509525b6cafb0c1c5b41c06c6e1dd13c8e7a98b/x/epochs/spec/README.md#L11-L10 (already deployed in production / used in https://app.osmosis.zone/pools

Wondertan commented 3 years ago

Would it be correct to say that this change is just about recalculating stake not per each block, but per some amount of blocks(epoch)?

adlerjohn commented 3 years ago

Not just "voting power" (to use Tendermint lingo), but potentially also things like rewards and managing slashing/jailing. But in large part, yes it's mostly about changing the validator set each epoch rather than each block.