Bitcoin Core  0.20.99
P2P Digital Currency
Functions
merkleblock.cpp File Reference
#include <merkleblock.h>
#include <hash.h>
#include <consensus/consensus.h>
Include dependency graph for merkleblock.cpp:

Go to the source code of this file.

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: