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

#include <protocol.h>

Collaboration diagram for avalanche::Vote:
[legend]

Public Member Functions

 Vote ()
 
 Vote (uint32_t errorIn, uint256 hashIn)
 
const uint256GetHash () const
 
uint32_t GetError () const
 
 SERIALIZE_METHODS (Vote, obj)
 

Private Attributes

uint32_t error
 
uint256 hash
 

Detailed Description

Definition at line 18 of file protocol.h.

Constructor & Destructor Documentation

◆ Vote() [1/2]

avalanche::Vote::Vote ( )
inline

Definition at line 23 of file protocol.h.

◆ Vote() [2/2]

avalanche::Vote::Vote ( uint32_t  errorIn,
uint256  hashIn 
)
inline

Definition at line 24 of file protocol.h.

Member Function Documentation

◆ GetError()

uint32_t avalanche::Vote::GetError ( ) const
inline

Definition at line 27 of file protocol.h.

Here is the caller graph for this function:

◆ GetHash()

const uint256 & avalanche::Vote::GetHash ( ) const
inline

Definition at line 26 of file protocol.h.

◆ SERIALIZE_METHODS()

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

Definition at line 30 of file protocol.h.

Member Data Documentation

◆ error

uint32_t avalanche::Vote::error
private

Definition at line 19 of file protocol.h.

◆ hash

uint256 avalanche::Vote::hash
private

Definition at line 20 of file protocol.h.


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