Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
Functions
asmap.cpp File Reference
#include <util/asmap.h>
#include <clientversion.h>
#include <crypto/common.h>
#include <logging.h>
#include <streams.h>
#include <util/fs.h>
#include <cassert>
#include <map>
#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< boolDecodeAsmap (fs::path path)
 Read asmap from provided binary file.
 

Function Documentation

◆ DecodeAsmap()

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

Read asmap from provided binary file.

Definition at line 294 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 92 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 169 of file asmap.cpp.

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