#include <grandpa.hpp>
Interface for launching new grandpa rounds. See more details in kagome::consensus::grandpa::GrandpaImpl
Definition at line 20 of file grandpa.hpp.
virtual kagome::consensus::grandpa::Grandpa::~Grandpa |
( |
| ) |
|
|
virtualdefault |
virtual void kagome::consensus::grandpa::Grandpa::tryExecuteNextRound |
( |
const std::shared_ptr< VotingRound > & |
prev_round | ) |
|
|
pure virtual |
Tries to execute the next round Round may not be executed if prev round is not equal to our current round
- Parameters
-
prev_round | - round for which tries to execute the next one |
Implemented in kagome::consensus::grandpa::GrandpaImpl.
virtual void kagome::consensus::grandpa::Grandpa::updateNextRound |
( |
RoundNumber |
round_number | ) |
|
|
pure virtual |
Force update for the round. Next round to the provided one will be checked and updated to the new prevote ghost (if any), round estimate (if any), finalized block (if any) and completability
- Parameters
-
round_number | the round number the following to which is updated |
Implemented in kagome::consensus::grandpa::GrandpaImpl.
The documentation for this class was generated from the following file: