Bitcoin Core  0.20.99
P2P Digital Currency
Classes | Functions
merkleblock.h File Reference
#include <serialize.h>
#include <uint256.h>
#include <primitives/block.h>
#include <bloom.h>
#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 char > BitsToBytes (const std::vector< bool > &bits)
 
std::vector< bool > BytesToBits (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 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 caller graph for this function: