UI Version: 0.7.1
Description:
Currently the validators are loaded once via the LCD. It would be nice to update them every time they change so the user sees the live validator set.
absolutely. this will need to be dynamic! we also have to display validator-candidates!
There is no event for that yet:
https://github.com/tendermint/tendermint/issues/1916
@faboweb what about listening to EventNewBlock/EventNewBlockHeader and compare the stored validator set with the one of the latest block ?
Sure. We can migrate to the new event later.
NewBlock EventNew event for Validator Updates #tendermint/2161
The original proposal is already implemented with the maybeUpdateValidators and setLastHeader functions that are called when you subscribe to RPC. I will leave this issue open until #tendermint/2161 gets merged and included into the SDK
Our current approach works
Most helpful comment
NewBlockEvent