Kagome
Polkadot Runtime Engine in C++17
parachain_processor.hpp File Reference
#include <memory>
#include <queue>
#include <thread>
#include <unordered_map>
#include <boost/asio/executor_work_guard.hpp>
#include <boost/asio/io_context.hpp>
#include <boost/asio/io_service.hpp>
#include <boost/asio/post.hpp>
#include <boost/asio/signal_set.hpp>
#include <libp2p/peer/peer_id.hpp>
#include "common/visitor.hpp"
#include "crypto/hasher.hpp"
#include "network/protocols/req_collation_protocol.hpp"
#include "network/types/collator_messages.hpp"
#include "outcome/outcome.hpp"
#include "primitives/common.hpp"
#include "utils/non_copyable.hpp"
#include "utils/safe_object.hpp"
Include dependency graph for parachain_processor.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kagome::parachain::ParachainProcessorImpl
 
struct  kagome::parachain::ParachainProcessorImpl::ImportStatementSummary
 
struct  kagome::parachain::ParachainProcessorImpl::FetchedCollationState
 
struct  kagome::parachain::ParachainProcessorImpl::ValidateAndSecondResult
 
struct  kagome::parachain::ParachainProcessorImpl::AttestingData
 

Namespaces

 kagome::network
 
 kagome::crypto
 
 kagome::parachain
 

Functions

 OUTCOME_HPP_DECLARE_ERROR (kagome::parachain, ParachainProcessorImpl::Error)
 

Class Documentation

struct kagome::parachain::ParachainProcessorImpl::ImportStatementSummary

Definition at line 52 of file parachain_processor.hpp.

Collaboration diagram for kagome::parachain::ParachainProcessorImpl::ImportStatementSummary:
Class Members
bool attested Attested more than threshold.
BlockHash candidate The digest of the candidate.
ParachainId group_id The group that the candidate is in.
uint64_t validity_votes How many validity votes are currently witnessed.
struct kagome::parachain::ParachainProcessorImpl::ValidateAndSecondResult

Definition at line 110 of file parachain_processor.hpp.

Collaboration diagram for kagome::parachain::ParachainProcessorImpl::ValidateAndSecondResult:
Class Members
Commitments commitments
FetchedCollation fetched_collation
BlockHash relay_parent
result< void > result
struct kagome::parachain::ParachainProcessorImpl::AttestingData

Definition at line 117 of file parachain_processor.hpp.

Collaboration diagram for kagome::parachain::ParachainProcessorImpl::AttestingData:
Class Members
queue< ValidatorIndex > backing
BlockHash candidate_hash
ValidatorIndex from_validator
BlockHash pov_hash
shared_ptr< Statement > statement

Function Documentation

OUTCOME_HPP_DECLARE_ERROR ( kagome::parachain  ,
ParachainProcessorImpl::Error   
)