TARAXA
taraxa::network Namespace Reference

Namespaces

 tarcap
 
 threadpool
 

Enumerations

enum  SubprotocolPacketType : uint32_t {
  HighPriorityPackets = 0 , VotePacket , GetNextVotesSyncPacket , VotesBundlePacket ,
  MidPriorityPackets , DagBlockPacket , DagSyncPacket , TransactionPacket ,
  LowPriorityPackets , StatusPacket , GetPbftSyncPacket , PbftSyncPacket ,
  GetDagSyncPacket , PillarVotePacket , GetPillarVotesBundlePacket , PillarVotesBundlePacket ,
  PacketCount
}
 SubprotocolPacketType is used in networking layer to differentiate packet types. More...
 

Functions

std::string convertPacketTypeToString (SubprotocolPacketType packet_type)
 

Enumeration Type Documentation

◆ SubprotocolPacketType

SubprotocolPacketType is used in networking layer to differentiate packet types.

Enumerator
HighPriorityPackets 
VotePacket 
GetNextVotesSyncPacket 
VotesBundlePacket 
MidPriorityPackets 
DagBlockPacket 
DagSyncPacket 
TransactionPacket 
LowPriorityPackets 
StatusPacket 
GetPbftSyncPacket 
PbftSyncPacket 
GetDagSyncPacket 
PillarVotePacket 
GetPillarVotesBundlePacket 
PillarVotesBundlePacket 
PacketCount 

Function Documentation

◆ convertPacketTypeToString()

std::string taraxa::network::convertPacketTypeToString ( SubprotocolPacketType  packet_type)
inline
Parameters
packet_type
Returns
string representation of packet_type