Bitcoin ABC  0.22.15
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
avalanche::Poll Class Reference

#include <protocol.h>

Public Member Functions

 Poll (uint64_t roundIn, std::vector< CInv > invsIn)
 
uint64_t GetRound ()
 
const std::vector< CInv > & GetInvs () const
 
 SERIALIZE_METHODS (Poll, obj)
 

Private Attributes

uint64_t round
 
std::vector< CInvinvs
 

Detailed Description

Definition at line 53 of file protocol.h.

Constructor & Destructor Documentation

◆ Poll()

avalanche::Poll::Poll ( uint64_t  roundIn,
std::vector< CInv invsIn 
)
inline

Definition at line 58 of file protocol.h.

Member Function Documentation

◆ GetInvs()

const std::vector<CInv>& avalanche::Poll::GetInvs ( ) const
inline

Definition at line 62 of file protocol.h.

◆ GetRound()

uint64_t avalanche::Poll::GetRound ( )
inline

Definition at line 61 of file protocol.h.

◆ SERIALIZE_METHODS()

avalanche::Poll::SERIALIZE_METHODS ( Poll  ,
obj   
)
inline

Definition at line 65 of file protocol.h.

Member Data Documentation

◆ invs

std::vector<CInv> avalanche::Poll::invs
private

Definition at line 55 of file protocol.h.

◆ round

uint64_t avalanche::Poll::round
private

Definition at line 54 of file protocol.h.


The documentation for this class was generated from the following file: