TARAXA
Loading...
Searching...
No Matches
ext_pillar_vote_packet_handler.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "packet_handler.hpp"
5
7
9 public:
10 ExtPillarVotePacketHandler(const FullNodeConfig& conf, std::shared_ptr<PeersState> peers_state,
11 std::shared_ptr<TimePeriodPacketsStats> packets_stats,
12 std::shared_ptr<pillar_chain::PillarChainManager> pillar_chain_manager,
13 const std::string& log_channel_name);
14
15 protected:
16 bool processPillarVote(const std::shared_ptr<PillarVote>& vote, const std::shared_ptr<TaraxaPeer>& peer);
17
18 protected:
19 std::shared_ptr<pillar_chain::PillarChainManager> pillar_chain_manager_;
20};
21
22} // namespace taraxa::network::tarcap
Definition ext_pillar_vote_packet_handler.hpp:8
bool processPillarVote(const std::shared_ptr< PillarVote > &vote, const std::shared_ptr< TaraxaPeer > &peer)
Definition ext_pillar_vote_packet_handler.cpp:14
std::shared_ptr< pillar_chain::PillarChainManager > pillar_chain_manager_
Definition ext_pillar_vote_packet_handler.hpp:19
Packet handler base class that consists of shared state and some commonly used functions.
Definition packet_handler.hpp:33
Definition vote_manager.hpp:24
Definition config.hpp:41