hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
sha3_hash.hpp
Go to the documentation of this file.
1 
5 #ifndef IROHA_SHA3_HASH_HPP
6 #define IROHA_SHA3_HASH_HPP
7 
8 #include "crypto/hash_types.hpp"
9 
10 namespace iroha {
11  namespace model {
12  struct Transaction;
13  struct Block;
14  struct Query;
15  } // namespace model
16 
17  hash256_t hash(const model::Transaction &tx);
18  hash256_t hash(const model::Block &block);
19  hash256_t hash(const model::Query &query);
20 } // namespace iroha
21 #endif // IROHA_SHA3_HASH_HPP
Definition: block_query.hpp:16
hash_t< 256/8 > hash256_t
Definition: hash_types.hpp:18
hash256_t hash(const T &pb)
Definition: pb_common.hpp:43