15 std::shared_ptr<TimePeriodPacketsStats> packets_stats,
16 std::shared_ptr<PbftManager> pbft_mgr, std::shared_ptr<PbftChain> pbft_chain,
17 std::shared_ptr<VoteManager> vote_mgr,
18 std::shared_ptr<SlashingManager> slashing_manager,
const addr_t& node_addr,
19 const std::string& logs_prefix =
"GET_NEXT_VOTES_BUNDLE_PH");
Definition: FixedHash.h:35
ExtVotesPacketHandler is extended abstract PacketHandler with added functions that are used in packet...
Definition: ext_votes_packet_handler.hpp:20
Definition: get_next_votes_bundle_packet_handler.hpp:12
virtual void process(const threadpool::PacketData &packet_data, const std::shared_ptr< TaraxaPeer > &peer) override
Main packet processing function.
Definition: get_next_votes_bundle_packet_handler.cpp:23
virtual void validatePacketRlpFormat(const threadpool::PacketData &packet_data) const override
Validates packet rlp format - items count.
Definition: get_next_votes_bundle_packet_handler.cpp:17
GetNextVotesBundlePacketHandler(const FullNodeConfig &conf, std::shared_ptr< PeersState > peers_state, std::shared_ptr< TimePeriodPacketsStats > packets_stats, std::shared_ptr< PbftManager > pbft_mgr, std::shared_ptr< PbftChain > pbft_chain, std::shared_ptr< VoteManager > vote_mgr, std::shared_ptr< SlashingManager > slashing_manager, const addr_t &node_addr, const std::string &logs_prefix="GET_NEXT_VOTES_BUNDLE_PH")
Definition: get_next_votes_bundle_packet_handler.cpp:8
static constexpr SubprotocolPacketType kPacketType_
Definition: get_next_votes_bundle_packet_handler.hpp:22
Definition: packet_data.hpp:12
Definition: vote_manager.hpp:23
SubprotocolPacketType
SubprotocolPacketType is used in networking layer to differentiate packet types.
Definition: packet_types.hpp:12
@ GetNextVotesSyncPacket
Definition: packet_types.hpp:16
Definition: config.hpp:24