I already had all working and running but I want to add a lyra2z330 coin but I think there are missing files for this algo.
I checked the /node_module/multihashing/ and I need the C source (.h and .c files) for the algo and I think recompile that.
After I need to modify another js file for calling it.
The question is, where do I find these files for decrypting the algo?
The files contains this (lyra2rev2)
.c
#include
#include
#include
#include
#include "Lyra2.h"
void lyra2rev2_hash(const char* input, char* output, uint32_t height)
{
uint32_t hashB[8];
LYRA2((void*)hashB, 32, (const void*)input, 80, (const void*)input, 80, 2, height, 256);
memcpy(output, hashB, 32);
}
.h
#define LYRA2REV2_H
#ifdef __cplusplus
extern "C" {
#endif
void lyra2rev2_hash(const char* input, char* output, uint32_t height);
#ifdef __cplusplus
}
#endif
#endif
thanks