Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
avalanche::Response Class Reference

#include <protocol.h>

Public Member Functions

 Response ()
 
 Response (uint64_t roundIn, uint32_t cooldownIn, std::vector< Vote > votesIn)
 
uint64_t getRound () const
 
uint32_t getCooldown () const
 
const std::vector< Vote > & GetVotes () const
 
 SERIALIZE_METHODS (Response, obj)
 

Private Attributes

uint64_t round
 
uint32_t cooldown
 
std::vector< Votevotes
 

Detailed Description

Definition at line 33 of file protocol.h.

Constructor & Destructor Documentation

◆ Response() [1/2]

avalanche::Response::Response ( )
inline

Definition at line 39 of file protocol.h.

◆ Response() [2/2]

avalanche::Response::Response ( uint64_t  roundIn,
uint32_t  cooldownIn,
std::vector< Vote votesIn 
)
inline

Definition at line 40 of file protocol.h.

Member Function Documentation

◆ getCooldown()

uint32_t avalanche::Response::getCooldown ( ) const
inline

Definition at line 44 of file protocol.h.

◆ getRound()

uint64_t avalanche::Response::getRound ( ) const
inline

Definition at line 43 of file protocol.h.

◆ GetVotes()

const std::vector< Vote > & avalanche::Response::GetVotes ( ) const
inline

Definition at line 45 of file protocol.h.

◆ SERIALIZE_METHODS()

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

Definition at line 48 of file protocol.h.

Here is the call graph for this function:

Member Data Documentation

◆ cooldown

uint32_t avalanche::Response::cooldown
private

Definition at line 35 of file protocol.h.

◆ round

uint64_t avalanche::Response::round
private

Definition at line 34 of file protocol.h.

◆ votes

std::vector<Vote> avalanche::Response::votes
private

Definition at line 36 of file protocol.h.


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