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
iroha::ametsuchi::BlockIndex
Definition:
block_index.hpp:22
shared_model::interface::Block
Definition:
block.hpp:16
iroha
Definition:
block_query.hpp:15
shared_model
Definition:
command_executor.hpp:12
irohad
ametsuchi
impl
block_index.hpp
Generated by
1.8.13