TARAXA
Loading...
Searching...
No Matches
get_pillar_votes_bundle_packet_handler.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
network/tarcap/packets_handlers/latest/common/packet_handler.hpp
"
4
5
namespace
taraxa::network::tarcap
{
6
7
class
IGetPillarVotesBundlePacketHandler
:
public
PacketHandler
{
8
public
:
9
IGetPillarVotesBundlePacketHandler
(
const
FullNodeConfig
& conf, std::shared_ptr<PeersState> peers_state,
10
std::shared_ptr<TimePeriodPacketsStats> packets_stats,
11
const
std::string& log_channel_name);
12
13
virtual
void
requestPillarVotesBundle
(
PbftPeriod
period,
const
blk_hash_t
& pillar_block_hash,
14
const
std::shared_ptr<TaraxaPeer>& peer) = 0;
15
};
16
17
}
// namespace taraxa::network::tarcap
dev::FixedHash< 32 >
taraxa::network::tarcap::IGetPillarVotesBundlePacketHandler
Definition
get_pillar_votes_bundle_packet_handler.hpp:7
taraxa::network::tarcap::IGetPillarVotesBundlePacketHandler::requestPillarVotesBundle
virtual void requestPillarVotesBundle(PbftPeriod period, const blk_hash_t &pillar_block_hash, const std::shared_ptr< TaraxaPeer > &peer)=0
taraxa::network::tarcap::PacketHandler
Packet handler base class that consists of shared state and some commonly used functions.
Definition
packet_handler.hpp:33
taraxa::network::tarcap
Definition
vote_manager.hpp:24
taraxa::PbftPeriod
EthBlockNumber PbftPeriod
Definition
types.hpp:25
packet_handler.hpp
taraxa::FullNodeConfig
Definition
config.hpp:41
libraries
core_libs
network
include
network
tarcap
packets_handlers
interface
get_pillar_votes_bundle_packet_handler.hpp
Generated by
1.9.8