Bitcoin Core  29.1.0
P2P Digital Currency
Enumerations | 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.

Enumerations

enum  Instruction : uint32_t
 

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...
 

Enumeration Type Documentation

◆ Instruction

enum Instruction : uint32_t
strong

Definition at line 52 of file asmap.cpp.

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: