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
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)
 

Data Fields

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:

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