Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
equihash.hpp
Go to the documentation of this file.
1#pragma once
3#include <fc/vector.hpp>
4
5namespace fc { namespace equihash {
6
7 struct proof
8 {
12 std::vector< uint32_t > inputs;
13
14 bool is_valid() const;
15
17 };
18
19} } // fc
20
21FC_REFLECT( fc::equihash::proof, (n)(k)(seed)(inputs) )
namespace sysio::chain
Definition authority.cpp:3
#define FC_REFLECT(TYPE, MEMBERS)
Specializes fc::reflector for TYPE.
Definition reflect.hpp:311
unsigned int uint32_t
Definition stdint.h:126
std::vector< uint32_t > inputs
Definition equihash.hpp:12
bool is_valid() const
Definition equihash.cpp:26
static proof hash(uint32_t n, uint32_t k, sha256 seed)
Definition equihash.cpp:33