Skip to content

Conversation

remagpie
Copy link
Contributor

@remagpie remagpie commented Dec 9, 2019

This PR introduces the CurrentValidator state value, which represents the set of validators for this block.
It allows the tendermint consensus module to verify blocks without reading their parents.
CurrentValidator is updated at on_open_block for every block that is in the 1st era.

CurrentValidators represent the list of validators for the current
block. Its value is the same as the NextValidators of the previous
block's state.
@remagpie remagpie force-pushed the save-current-validator branch from 8e9d256 to c75cce7 Compare December 10, 2019 05:45
@remagpie remagpie force-pushed the save-current-validator branch 2 times, most recently from 5203e25 to 33152a2 Compare December 10, 2019 06:46
@remagpie remagpie force-pushed the save-current-validator branch from 33152a2 to c29b1bf Compare December 10, 2019 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants