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
CMerkleBlock Class Reference

Used to relay blocks as header + vector<merkle branch> to filtered nodes. More...

#include <main.h>

+ Collaboration diagram for CMerkleBlock:

Public Member Functions

 CMerkleBlock (const CBlock &block, CBloomFilter &filter)
 

Public Attributes

CBlockHeader header
 
CPartialMerkleTree txn
 
std::vector< std::pair< unsigned int, uint256 > > vMatchedTxn
 

Detailed Description

Used to relay blocks as header + vector<merkle branch> to filtered nodes.

Definition at line 1084 of file main.h.

Constructor & Destructor Documentation

CMerkleBlock::CMerkleBlock ( const CBlock block,
CBloomFilter filter 
)

Definition at line 2645 of file main.cpp.

References CBlock::GetBlockHeader(), CBloomFilter::IsRelevantAndUpdate(), and CBlock::vtx.

+ Here is the call graph for this function:

Member Data Documentation

CBlockHeader CMerkleBlock::header

Definition at line 1088 of file main.h.

CPartialMerkleTree CMerkleBlock::txn

Definition at line 1089 of file main.h.

std::vector<std::pair<unsigned int, uint256> > CMerkleBlock::vMatchedTxn

Definition at line 1094 of file main.h.

Referenced by ProcessGetData().


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