6 #ifndef KAGOME_PARACHAIN_OBSERVER_HPP 7 #define KAGOME_PARACHAIN_OBSERVER_HPP 21 struct CollationObserverImpl;
22 struct ReqCollationObserverImpl;
26 class Sr25519Provider;
30 struct ParachainProcessorImpl;
38 std::shared_ptr<network::PeerManager> pm,
39 std::shared_ptr<crypto::Sr25519Provider> crypto_provider,
40 std::shared_ptr<parachain::ParachainProcessorImpl> processor);
41 ~ParachainObserverImpl() =
default;
52 outcome::result<network::CollationFetchingResponse> OnCollationRequest(
57 std::shared_ptr<observers::ReqCollationObserverImpl>
59 std::shared_ptr<parachain::ParachainProcessorImpl>
processor_;
64 #endif // KAGOME_PARACHAIN_OBSERVER_HPP
crypto::Sr25519PublicKey CollatorPublicKey
libp2p::peer::PeerId PeerId
std::shared_ptr< observers::ReqCollationObserverImpl > req_collation_observer_impl_
std::shared_ptr< parachain::ParachainProcessorImpl > processor_
crypto::Sr25519Signature Signature
std::shared_ptr< observers::CollationObserverImpl > collation_observer_impl_