difficulty calculation, move from randomx to autolykos2
This commit is contained in:
14
include/blake2/blake2.h
Normal file
14
include/blake2/blake2.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#ifndef MINICOIN_BLAKE2_H
|
||||
#define MINICOIN_BLAKE2_H
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#define MINICOIN_BLAKE2B_OUTBYTES 64
|
||||
#define MINICOIN_BLAKE2S_OUTBYTES 32
|
||||
|
||||
bool Blake2b_Hash(const uint8_t* input, size_t inputLen, uint8_t* out, size_t outLen);
|
||||
bool Blake2s_Hash(const uint8_t* input, size_t inputLen, uint8_t* out, size_t outLen);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user