Bitcoin Core  27.99.0
P2P Digital Currency
Functions
asmap.cpp File Reference
#include <util/asmap.h>
#include <clientversion.h>
#include <logging.h>
#include <serialize.h>
#include <streams.h>
#include <util/fs.h>
#include <algorithm>
#include <bit>
#include <cassert>
#include <cstdio>
#include <utility>
#include <vector>
Include dependency graph for asmap.cpp:

Go to the source code of this file.

Functions

uint32_t Interpret (const std::vector< bool > &asmap, const std::vector< bool > &ip)
 
bool SanityCheckASMap (const std::vector< bool > &asmap, int bits)
 
std::vector< bool > DecodeAsmap (fs::path path)
 Read asmap from provided binary file. More...
 

Function Documentation

◆ DecodeAsmap()

std::vector<bool> DecodeAsmap ( fs::path  path)

Read asmap from provided binary file.

Definition at line 197 of file asmap.cpp.

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

◆ Interpret()

uint32_t Interpret ( const std::vector< bool > &  asmap,
const std::vector< bool > &  ip 
)

Definition at line 88 of file asmap.cpp.

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

◆ SanityCheckASMap()

bool SanityCheckASMap ( const std::vector< bool > &  asmap,
int  bits 
)

Definition at line 133 of file asmap.cpp.

Here is the caller graph for this function: