peerplays_migrated/libraries/chain/genesis_state.cpp
2015-08-06 12:42:59 -04:00

15 lines
385 B
C++

#include <graphene/chain/genesis_state.hpp>
// these are required to serialize a genesis_state
#include <fc/smart_ref_impl.hpp> // required for gcc in release mode
#include <graphene/chain/protocol/fee_schedule.hpp>
namespace graphene { namespace chain {
chain_id_type genesis_state_type::compute_chain_id() const
{
return fc::sha256::hash( *this );
}
} } // graphene::chain