hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
hash.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_HASH_HPP
7 #define IROHA_HASH_HPP
8 
10 
11 namespace iroha {
12  namespace model {
17  public:
18  size_t operator()(const DataType &batch) const;
19  };
20 
24  class BlobHasher {
25  public:
26  std::size_t operator()(const shared_model::crypto::Blob &blob) const;
27  };
28  } // namespace model
29 } // namespace iroha
30 
31 #endif // IROHA_HASH_HPP
Definition: hash.hpp:24
Definition: blob.hpp:24
Definition: hash.hpp:16
size_t operator()(const DataType &batch) const
Definition: hash.cpp:20
Definition: block_query.hpp:16
BatchPtr DataType
Definition: mst_types.hpp:40