Kagome
Polkadot Runtime Engine in C++17
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
voting_round_error.hpp
Go to the documentation of this file.
1
6
#ifndef KAGOME_CORE_CONSENSUS_GRANDPA_IMPL_VOTING_ROUND_ERROR_HPP
7
#define KAGOME_CORE_CONSENSUS_GRANDPA_IMPL_VOTING_ROUND_ERROR_HPP
8
9
#include "
outcome/outcome.hpp
"
10
11
namespace
kagome::consensus::grandpa
{
12
13
enum class
VotingRoundError
{
14
INVALID_SIGNATURE
= 1,
15
REDUNDANT_EQUIVOCATION
,
16
NOT_ENOUGH_WEIGHT
,
17
JUSTIFICATION_FOR_ROUND_IN_PAST
,
18
JUSTIFICATION_FOR_BLOCK_IN_PAST
,
19
JUSTIFICATION_FOR_AUTHORITY_SET_IN_PAST
,
20
JUSTIFIED_BLOCK_IS_GREATER_THAN_ACTUALLY_FINALIZED
,
21
NO_KNOWN_AUTHORITIES_FOR_BLOCK
,
22
WRONG_ORDER_OF_VOTER_SET_ID
,
23
LAST_ESTIMATE_BETTER_THAN_PREVOTE
,
24
UNKNOWN_VOTER
,
25
ZERO_WEIGHT_VOTER
,
26
DUPLICATED_VOTE
,
27
EQUIVOCATED_VOTE
,
28
VOTE_OF_KNOWN_EQUIVOCATOR
,
29
NO_PREVOTE_CANDIDATE
,
30
ROUND_IS_NOT_FINALIZABLE
31
};
32
33
}
34
35
OUTCOME_HPP_DECLARE_ERROR
(
kagome::consensus::grandpa
,
VotingRoundError
);
36
37
#endif // KAGOME_CORE_CONSENSUS_GRANDPA_IMPL_VOTING_ROUND_ERROR_HPP
kagome::consensus::grandpa::VotingRoundError::NO_PREVOTE_CANDIDATE
kagome::consensus::grandpa::VotingRoundError::WRONG_ORDER_OF_VOTER_SET_ID
kagome::consensus::grandpa
Definition:
catch_up_observer.hpp:13
kagome::consensus::grandpa::VotingRoundError::NOT_ENOUGH_WEIGHT
OUTCOME_HPP_DECLARE_ERROR
OUTCOME_HPP_DECLARE_ERROR(kagome::consensus::grandpa, VotingRoundError)
kagome::consensus::grandpa::VotingRoundError::REDUNDANT_EQUIVOCATION
kagome::consensus::grandpa::VotingRoundError::LAST_ESTIMATE_BETTER_THAN_PREVOTE
kagome::consensus::grandpa::VotingRoundError::NO_KNOWN_AUTHORITIES_FOR_BLOCK
kagome::consensus::grandpa::VotingRoundError::JUSTIFIED_BLOCK_IS_GREATER_THAN_ACTUALLY_FINALIZED
kagome::consensus::grandpa::VotingRoundError::INVALID_SIGNATURE
kagome::consensus::grandpa::VotingRoundError::ZERO_WEIGHT_VOTER
outcome.hpp
kagome::consensus::grandpa::VotingRoundError::JUSTIFICATION_FOR_ROUND_IN_PAST
kagome::consensus::grandpa::VotingRoundError::UNKNOWN_VOTER
kagome::consensus::grandpa::VotingRoundError::DUPLICATED_VOTE
kagome::consensus::grandpa::VotingRoundError::ROUND_IS_NOT_FINALIZABLE
kagome::consensus::grandpa::VotingRoundError
VotingRoundError
Definition:
voting_round_error.hpp:13
kagome::consensus::grandpa::VotingRoundError::JUSTIFICATION_FOR_AUTHORITY_SET_IN_PAST
kagome::consensus::grandpa::VotingRoundError::JUSTIFICATION_FOR_BLOCK_IN_PAST
kagome::consensus::grandpa::VotingRoundError::VOTE_OF_KNOWN_EQUIVOCATOR
kagome::consensus::grandpa::VotingRoundError::EQUIVOCATED_VOTE
core
consensus
grandpa
voting_round_error.hpp
Generated by
1.8.11