#pragma once #include #include namespace fc { namespace equihash { struct proof { uint32_t n; uint32_t k; sha256 seed; std::vector< uint32_t > inputs; bool is_valid( bool test_canonical_order = false, bool test_intermediate_zeros = false ) const; void canonize_indexes(); static proof hash( uint32_t n, uint32_t k, sha256 seed ); }; } } // fc FC_REFLECT( fc::equihash::proof, (n)(k)(seed)(inputs) )