15class PbftSyncingState;
 
   20                           std::shared_ptr<TimePeriodPacketsStats> packets_stats,
 
   21                           std::shared_ptr<PbftSyncingState> pbft_syncing_state, std::shared_ptr<PbftManager> pbft_mgr,
 
   22                           std::shared_ptr<PbftChain> pbft_chain, std::shared_ptr<VoteManager> vote_mgr,
 
   23                           std::shared_ptr<DbStorage> db, 
const addr_t& node_addr, 
const std::string& logs_prefix = 
"");
 
   33                              size_t blocks_to_transfer, 
bool pbft_chain_synced);
 
   39  std::shared_ptr<DbStorage> 
db_;
 
 
Definition FixedHash.h:35
 
Definition get_pbft_sync_packet_handler.hpp:17
 
std::shared_ptr< DbStorage > db_
Definition get_pbft_sync_packet_handler.hpp:39
 
virtual void sendPbftBlocks(const std::shared_ptr< TaraxaPeer > &peer, PbftPeriod from_period, size_t blocks_to_transfer, bool pbft_chain_synced)
Definition get_pbft_sync_packet_handler.cpp:93
 
std::shared_ptr< PbftChain > pbft_chain_
Definition get_pbft_sync_packet_handler.hpp:37
 
virtual void process(const threadpool::PacketData &packet_data, const std::shared_ptr< TaraxaPeer > &peer) override
Main packet processing function.
Definition get_pbft_sync_packet_handler.cpp:31
 
std::shared_ptr< PbftSyncingState > pbft_syncing_state_
Definition get_pbft_sync_packet_handler.hpp:35
 
std::shared_ptr< VoteManager > vote_mgr_
Definition get_pbft_sync_packet_handler.hpp:38
 
std::shared_ptr< PbftManager > pbft_mgr_
Definition get_pbft_sync_packet_handler.hpp:36
 
static constexpr SubprotocolPacketType kPacketType_
Definition get_pbft_sync_packet_handler.hpp:26
 
Packet handler base class that consists of shared state and some commonly used functions.
Definition packet_handler.hpp:33
 
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
 
@ kGetPbftSyncPacket
Definition packet_types.hpp:29
 
EthBlockNumber PbftPeriod
Definition types.hpp:24