Fabcoin Core
0.16.2
P2P Digital Currency
|
Go to the source code of this file.
Classes | |
struct | sols_s |
Macros | |
#define | PARAM_N 210 |
#define | PARAM_K 9 |
#define | PREFIX (PARAM_N / (PARAM_K + 1)) |
#define | NR_INPUTS (1 << PREFIX) |
#define | APX_NR_ELMS_LOG (PREFIX + 1) |
#define | NR_ROWS_LOG 20 |
#define | OPTIM_SIMPLIFY_ROUND 1 |
#define | COLL_DATA_SIZE_PER_TH (NR_SLOTS * 5) |
#define | SLEEP_RECHECK_RATIO 0.60 |
#define | SLEEP_SKIP_RATIO 0.005 |
#define | OVERHEAD 6 |
#define | NR_ROWS (1 << NR_ROWS_LOG) |
#define | NR_SLOTS ((1 << (APX_NR_ELMS_LOG - NR_ROWS_LOG)) * OVERHEAD) |
#define | SLOT_LEN 32 |
#define | HT_SIZE (NR_ROWS * NR_SLOTS * SLOT_LEN) |
#define | FABCOIN_NONCE_LEN 32 |
#define | FABCOIN_HASH_LEN 512/PARAM_N*((PARAM_N+7)/8) |
#define | BLAKE_WPS 10 |
#define | MAX_SOLS 10 |
#define | BITS_PER_ROW 8 |
#define | ROWS_PER_UINT 4 |
#define | ROW_MASK 0xFF |
#define | xi_offset_for_round(round) (8 + ((round) / 2) * 4) |
#define | SOL_SIZE ((1 << PARAM_K) * 4) |
Typedefs | |
typedef struct sols_s | sols_t |
#define NR_ROWS (1 << NR_ROWS_LOG) |
#define NR_SLOTS ((1 << (APX_NR_ELMS_LOG - NR_ROWS_LOG)) * OVERHEAD) |