mirror of
https://github.com/JayDDee/cpuminer-opt.git
synced 2025-09-17 23:44:27 +00:00
v3.7.10
This commit is contained in:
39
algo/x11/timetravel10-gate.h
Normal file
39
algo/x11/timetravel10-gate.h
Normal file
@@ -0,0 +1,39 @@
|
||||
#ifndef TIMETRAVEL10_GATE_H__
|
||||
#define TIMETRAVEL10_GATE_H__ 1
|
||||
|
||||
#include "algo-gate-api.h"
|
||||
#include <stdint.h>
|
||||
|
||||
#if defined(HASH_4WAY) && defined(__AES__)
|
||||
#define TIMETRAVEL10_4WAY
|
||||
#endif
|
||||
|
||||
// BitCore Genesis Timestamp
|
||||
#define TT10_FUNC_BASE_TIMESTAMP 1492973331U
|
||||
#define TT10_FUNC_COUNT 10
|
||||
#define TT10_FUNC_COUNT_PERMUTATIONS 40320
|
||||
|
||||
void tt10_next_permutation( int *pbegin, int *pend );
|
||||
|
||||
bool register_timetravel10_algo( algo_gate_t* gate );
|
||||
|
||||
#if defined(TIMETRAVEL10_4WAY)
|
||||
|
||||
void timetravel10_4way_hash( void *state, const void *input );
|
||||
|
||||
int scanhash_timetravel10_4way( int thr_id, struct work *work,
|
||||
uint32_t max_nonce, uint64_t *hashes_done );
|
||||
|
||||
void init_tt10_4way_ctx();
|
||||
|
||||
#endif
|
||||
|
||||
void timetravel10_hash( void *state, const void *input );
|
||||
|
||||
int scanhash_timetravel10( int thr_id, struct work *work, uint32_t max_nonce,
|
||||
uint64_t *hashes_done );
|
||||
|
||||
void init_tt10_ctx();
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user