1#include <equihash/pow.hpp>
5#define EQUIHASH_NONCE 2
7namespace fc {
namespace equihash {
14 new_seed.v[0] = (
unsigned int) seed.
_hash[0];
15 new_seed.v[0] ^= (
unsigned int) seed.
_hash[2];
16 new_seed.v[1] = (
unsigned int)( seed.
_hash[0] >> 32 );
17 new_seed.v[1] ^= (
unsigned int)( seed.
_hash[2] >> 32 );
18 new_seed.v[2] = (
unsigned int) seed.
_hash[1];
19 new_seed.v[2] ^= (
unsigned int) seed.
_hash[3];
20 new_seed.v[3] = (
unsigned int)( seed.
_hash[1] >> 32 );
21 new_seed.v[3] ^= (
unsigned int)( seed.
_hash[3] >> 32 );
42 p.inputs = result.inputs;
_POW::Seed sha_to_seed(sha256 seed)
std::vector< uint32_t > inputs
static proof hash(uint32_t n, uint32_t k, sha256 seed)