Master Core  v0.0.9 - 49a5c0d97abf09ef2911ddfe8d9551df59f9efd3-dirty
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Data Fields
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 ()
 

Data Fields

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:

Field 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: