Monero
Loading...
Searching...
No Matches
merge_mining.cpp File Reference
#include <string.h>
#include "misc_log_ex.h"
#include "int-util.h"
#include "crypto/crypto.h"
#include "common/util.h"
#include "merge_mining.h"
Include dependency graph for merge_mining.cpp:

Namespaces

namespace  cryptonote
 Holds cryptonote related classes and helpers.

Macros

#define MONERO_DEFAULT_LOG_CATEGORY   "cn.mm"

Functions

uint32_t cryptonote::get_aux_slot (const crypto::hash &id, uint32_t nonce, uint32_t n_aux_chains)
uint32_t cryptonote::get_path_from_aux_slot (uint32_t slot, uint32_t n_aux_chains)
uint32_t cryptonote::encode_mm_depth (uint32_t n_aux_chains, uint32_t nonce)
bool cryptonote::decode_mm_depth (uint32_t depth, uint32_t &n_aux_chains, uint32_t &nonce)

Macro Definition Documentation

◆ MONERO_DEFAULT_LOG_CATEGORY

#define MONERO_DEFAULT_LOG_CATEGORY   "cn.mm"