Master Core  v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 <core.h>

+ Collaboration diagram for CBlockLocator:

Public Member Functions

 CBlockLocator ()
 
 CBlockLocator (const std::vector< uint256 > &vHaveIn)
 
 IMPLEMENT_SERIALIZE (if(!(nType &SER_GETHASH)) READWRITE(nVersion);READWRITE(vHave);) void SetNull()
 
bool IsNull ()
 

Public Attributes

std::vector< uint256vHave
 

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 459 of file core.h.

Constructor & Destructor Documentation

CBlockLocator::CBlockLocator ( )
inline

Definition at line 463 of file core.h.

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

Definition at line 465 of file core.h.

Member Function Documentation

CBlockLocator::IMPLEMENT_SERIALIZE ( if(!(nType &SER_GETHASH)) READWRITE(nVersion);READWRITE(vHave);  )
inline

Definition at line 471 of file core.h.

bool CBlockLocator::IsNull ( )
inline

Definition at line 482 of file core.h.

Referenced by ProcessMessage().

+ Here is the caller graph for this function:

Member Data Documentation

std::vector<uint256> CBlockLocator::vHave

Definition at line 461 of file core.h.

Referenced by CChain::FindFork().


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