Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
CBlockLocator Struct Reference

Describes a place in the block chain to another node such that if the other node doesn't have the same branch, it can find a recent common trunk. More...

#include <block.h>

Public Member Functions

 CBlockLocator ()
 
 CBlockLocator (const std::vector< uint256 > &vHaveIn)
 
template<typename Stream , typename Operation >
void SerializationOp (Stream &s, Operation ser_action)
 
void SetNull ()
 
bool IsNull () const
 

Public Attributes

std::vector< uint256vHave
 
 ADD_SERIALIZE_METHODS
 

Detailed Description

Describes a place in the block chain to another node such that if the other node doesn't have the same branch, it can find a recent common trunk.

The further back it is, the further before the fork it may be.

Definition at line 251 of file block.h.

Constructor & Destructor Documentation

CBlockLocator::CBlockLocator ( )
inline

Definition at line 255 of file block.h.

CBlockLocator::CBlockLocator ( const std::vector< uint256 > &  vHaveIn)
inlineexplicit

Definition at line 257 of file block.h.

Member Function Documentation

bool CBlockLocator::IsNull ( ) const
inline

Definition at line 274 of file block.h.

Here is the caller graph for this function:

template<typename Stream , typename Operation >
void CBlockLocator::SerializationOp ( Stream &  s,
Operation  ser_action 
)
inline

Definition at line 262 of file block.h.

void CBlockLocator::SetNull ( )
inline

Definition at line 269 of file block.h.

Member Data Documentation

CBlockLocator::ADD_SERIALIZE_METHODS

Definition at line 259 of file block.h.

std::vector<uint256> CBlockLocator::vHave

Definition at line 253 of file block.h.


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