|
Kagome
Polkadot Runtime Engine in C++17
|
Namespaces | |
| detail | |
Classes | |
| class | CatchUpObserver |
| observes incoming catch-up messages. Abstraction of a network. More... | |
| struct | Chain |
| struct | Commit |
| A commit message which is an aggregate of precommits. More... | |
| struct | CompactCommit |
| struct | Environment |
| class | EnvironmentImpl |
| struct | Equivocated |
| class | Grandpa |
| struct | GrandpaConfig |
| class | GrandpaContext |
| class | GrandpaImpl |
| struct | GrandpaJustification |
| class | GrandpaObserver |
| class | JustificationObserver |
| observes justification assigned to syncing blocks. More... | |
| struct | MovableRoundState |
| Stores the current state of the round. More... | |
| class | NeighborObserver |
| observes incoming neighbor messages. Abstraction of a network. More... | |
| class | RoundObserver |
| observes incoming messages. Abstraction of a network. More... | |
| struct | SignedMessage |
| class | SignedPrecommit |
| class | SignedPrevote |
| struct | TotalWeight |
| class | VoteCryptoProvider |
| class | VoteCryptoProviderImpl |
| struct | VoteGraph |
| class | VoteGraphImpl |
| struct | VoteMessage |
| struct | VoterSet |
| class | VoteTracker |
| class | VoteTrackerImpl |
| class | VoteWeight |
| class | VotingRound |
| class | VotingRoundImpl |
Functions | |
| template<class Stream , typename = std::enable_if_t<Stream::is_encoder_stream>> | |
| Stream & | operator<< (Stream &s, const SignedMessage &signed_msg) |
| template<class Stream , typename = std::enable_if_t<Stream::is_decoder_stream>> | |
| Stream & | operator>> (Stream &s, SignedMessage &signed_msg) |
| template<class Stream , typename = std::enable_if_t<Stream::is_encoder_stream>> | |
| Stream & | operator<< (Stream &s, const SignedPrevote &signed_msg) |
| template<class Stream , typename = std::enable_if_t<Stream::is_decoder_stream>> | |
| Stream & | operator>> (Stream &s, SignedPrevote &signed_msg) |
| template<class Stream , typename = std::enable_if_t<Stream::is_encoder_stream>> | |
| Stream & | operator<< (Stream &s, const SignedPrecommit &signed_msg) |
| template<class Stream , typename = std::enable_if_t<Stream::is_decoder_stream>> | |
| Stream & | operator>> (Stream &s, SignedPrecommit &signed_msg) |
| template<class Stream , typename = std::enable_if_t<Stream::is_encoder_stream>> | |
| Stream & | operator<< (Stream &s, const VoterSet &voters) |
| template<class Stream , typename = std::enable_if_t<Stream::is_decoder_stream>> | |
| Stream & | operator>> (Stream &s, VoterSet &voters) |
Copyright Soramitsu Co., Ltd. All Rights Reserved. SPDX-License-Identifier: Apache-2.0
| struct kagome::consensus::grandpa::Commit |
A commit message which is an aggregate of precommits.
Definition at line 160 of file structs.hpp.
| Class Members | ||
|---|---|---|
| GrandpaJustification | justification | |
| BlockInfo | vote | |
| struct kagome::consensus::grandpa::Equivocated |
Definition at line 89 of file structs.hpp.
| Class Members | ||
|---|---|---|
| Message | first | |
| Message | second | |
| struct kagome::consensus::grandpa::GrandpaConfig |
Structure containing necessary information for running grandpa voting round
Definition at line 15 of file grandpa_config.hpp.
| Class Members | ||
|---|---|---|
| Duration | duration | Time bound which is enough to gossip messages to everyone. |
| optional< Id > | id | Key of the peer, do not confuse with libp2p peerid. |
| RoundNumber | round_number | Number of round. |
| shared_ptr< VoterSet > | voters | Current round's authorities. |
| struct kagome::consensus::grandpa::TotalWeight |
Definition at line 181 of file structs.hpp.
| Class Members | ||
|---|---|---|
| uint64_t | precommit | |
| uint64_t | prevote | |
| using kagome::consensus::grandpa::BlockHash = typedef primitives::BlockHash |
Definition at line 23 of file common.hpp.
| using kagome::consensus::grandpa::BlockInfo = typedef primitives::BlockInfo |
Definition at line 29 of file structs.hpp.
| using kagome::consensus::grandpa::BlockNumber = typedef primitives::BlockNumber |
Definition at line 24 of file common.hpp.
| using kagome::consensus::grandpa::Clock = typedef clock::SteadyClock |
Definition at line 28 of file common.hpp.
| using kagome::consensus::grandpa::Duration = typedef Clock::Duration |
Definition at line 29 of file common.hpp.
| using kagome::consensus::grandpa::EquivocatorySignedMessage = typedef std::pair<SignedMessage, SignedMessage> |
Definition at line 94 of file structs.hpp.
| using kagome::consensus::grandpa::Id = typedef crypto::Ed25519PublicKey |
Definition at line 19 of file common.hpp.
| using kagome::consensus::grandpa::Precommit = typedef primitives::detail::BlockInfoT<struct PrecommitTag> |
Definition at line 30 of file structs.hpp.
Definition at line 179 of file structs.hpp.
| using kagome::consensus::grandpa::Prevote = typedef primitives::detail::BlockInfoT<struct PrevoteTag> |
Definition at line 31 of file structs.hpp.
| using kagome::consensus::grandpa::PrevoteEquivocation = typedef detail::Equivocation<Prevote> |
Definition at line 178 of file structs.hpp.
| using kagome::consensus::grandpa::PrimaryPropose = typedef primitives::detail::BlockInfoT<struct PrimaryProposeTag> |
Definition at line 33 of file structs.hpp.
| using kagome::consensus::grandpa::RoundNumber = typedef uint64_t |
Definition at line 25 of file common.hpp.
| using kagome::consensus::grandpa::Signature = typedef crypto::Ed25519Signature |
Definition at line 22 of file common.hpp.
| using kagome::consensus::grandpa::TimePoint = typedef Clock::TimePoint |
Definition at line 30 of file common.hpp.
| using kagome::consensus::grandpa::Timer = typedef boost::asio::basic_waitable_timer<std::chrono::steady_clock> |
Definition at line 27 of file structs.hpp.
| using kagome::consensus::grandpa::Vote = typedef boost::variant<Prevote, Precommit, PrimaryPropose> |
Note: order of types in variant matters.
Definition at line 38 of file structs.hpp.
| using kagome::consensus::grandpa::VoterSetId = typedef uint64_t |
Definition at line 26 of file common.hpp.
| using kagome::consensus::grandpa::VoteVariant = typedef boost::variant<SignedMessage, EquivocatorySignedMessage> |
Definition at line 95 of file structs.hpp.
| Enumerator | |
|---|---|
| RECEIVED_BLOCK_LESS_THAN_BASE | |
Definition at line 13 of file vote_graph_error.hpp.
|
strong |
| Enumerator | |
|---|---|
| Prevote | |
| Precommit | |
Definition at line 10 of file vote_types.hpp.
|
strong |
Definition at line 13 of file voting_round_error.hpp.
| Stream& kagome::consensus::grandpa::operator<< | ( | Stream & | s, |
| const SignedMessage & | signed_msg | ||
| ) |
Definition at line 78 of file structs.hpp.
| Stream& kagome::consensus::grandpa::operator<< | ( | Stream & | s, |
| const VoterSet & | voters | ||
| ) |
Definition at line 94 of file voter_set.hpp.
| Stream& kagome::consensus::grandpa::operator<< | ( | Stream & | s, |
| const SignedPrevote & | signed_msg | ||
| ) |
Definition at line 115 of file structs.hpp.
| Stream& kagome::consensus::grandpa::operator<< | ( | Stream & | s, |
| const SignedPrecommit & | signed_msg | ||
| ) |
Definition at line 135 of file structs.hpp.
| Stream& kagome::consensus::grandpa::operator>> | ( | Stream & | s, |
| SignedMessage & | signed_msg | ||
| ) |
Definition at line 84 of file structs.hpp.
| Stream& kagome::consensus::grandpa::operator>> | ( | Stream & | s, |
| VoterSet & | voters | ||
| ) |
Definition at line 100 of file voter_set.hpp.
| Stream& kagome::consensus::grandpa::operator>> | ( | Stream & | s, |
| SignedPrevote & | signed_msg | ||
| ) |
Definition at line 123 of file structs.hpp.
| Stream& kagome::consensus::grandpa::operator>> | ( | Stream & | s, |
| SignedPrecommit & | signed_msg | ||
| ) |
Definition at line 143 of file structs.hpp.