hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
block_index.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_BLOCK_INDEX_HPP
7 #define IROHA_BLOCK_INDEX_HPP
8 
9 #include <memory>
10 
11 namespace shared_model {
12  namespace interface {
13  class Block;
14  } // namespace interface
15 } // namespace shared_model
16 
17 namespace iroha {
18  namespace ametsuchi {
22  class BlockIndex {
23  public:
24  virtual ~BlockIndex() = default;
25 
30  virtual void index(const shared_model::interface::Block &) = 0;
31  };
32  } // namespace ametsuchi
33 } // namespace iroha
34 
35 #endif // IROHA_BLOCK_INDEX_HPP
Definition: block_index.hpp:22
Definition: block.hpp:15
Definition: block_query.hpp:16
Definition: command_executor.hpp:12