Anoncoin  0.9.4
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 <core.h>

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

Constructor & Destructor Documentation

CBlockLocator::CBlockLocator ( )
inline

Definition at line 461 of file core.h.

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

Definition at line 463 of file core.h.

Member Function Documentation

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

Definition at line 469 of file core.h.

bool CBlockLocator::IsNull ( )
inline

Definition at line 480 of file core.h.

Member Data Documentation

std::vector<uint256> CBlockLocator::vHave

Definition at line 459 of file core.h.


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