Electroneum
miner.cpp File Reference
#include <sstream>
#include <numeric>
#include <boost/utility/value_init.hpp>
#include <boost/interprocess/detail/atomic.hpp>
#include <boost/algorithm/string.hpp>
#include "misc_language.h"
#include "syncobj.h"
#include "cryptonote_basic_impl.h"
#include "cryptonote_format_utils.h"
#include "file_io_utils.h"
#include "common/command_line.h"
#include "string_coding.h"
#include "string_tools.h"
#include "storages/portable_storage_template_helper.h"
#include "boost/logic/tribool.hpp"
#include "miner.h"
Include dependency graph for miner.cpp:

Go to the source code of this file.

Namespaces

 cryptonote
 Holds cryptonote related classes and helpers.
 

Macros

#define ELECTRONEUM_DEFAULT_LOG_CATEGORY   "miner"
 
#define AUTODETECT_WINDOW   10
 
#define AUTODETECT_GAIN_THRESHOLD   1.02f
 

Functions

void slow_hash_allocate_state ()
 
void slow_hash_free_state ()
 

Macro Definition Documentation

◆ AUTODETECT_GAIN_THRESHOLD

#define AUTODETECT_GAIN_THRESHOLD   1.02f

Definition at line 78 of file miner.cpp.

◆ AUTODETECT_WINDOW

#define AUTODETECT_WINDOW   10

Definition at line 77 of file miner.cpp.

◆ ELECTRONEUM_DEFAULT_LOG_CATEGORY

#define ELECTRONEUM_DEFAULT_LOG_CATEGORY   "miner"

Definition at line 75 of file miner.cpp.

Function Documentation

◆ slow_hash_allocate_state()

void slow_hash_allocate_state ( )

◆ slow_hash_free_state()

void slow_hash_free_state ( )