Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
Classes | Functions
merkleblock.h File Reference
#include <common/bloom.h>
#include <primitives/block.h>
#include <primitives/transaction_identifier.h>
#include <serialize.h>
#include <uint256.h>
#include <set>
#include <vector>
Include dependency graph for merkleblock.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CPartialMerkleTree
 Data structure that represents a partial merkle tree. More...
 
class  CMerkleBlock
 Used to relay blocks as header + vector<merkle branch> to filtered nodes. More...
 

Functions

std::vector< unsigned charBitsToBytes (const std::vector< bool > &bits)
 
std::vector< boolBytesToBits (const std::vector< unsigned char > &bytes)
 

Function Documentation

◆ BitsToBytes()

std::vector< unsigned char > BitsToBytes ( const std::vector< bool > & bits)

Definition at line 12 of file merkleblock.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ BytesToBits()

std::vector< bool > BytesToBits ( const std::vector< unsigned char > & bytes)

Definition at line 21 of file merkleblock.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: