hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
block_generator.hpp
Go to the documentation of this file.
1
6
#include "
model/block.hpp
"
7
#include "
model/generators/transaction_generator.hpp
"
8
9
#ifndef IROHA_BLOCK_GENERATOR_HPP
10
#define IROHA_BLOCK_GENERATOR_HPP
11
namespace
iroha
{
12
namespace
model {
13
namespace
generators {
14
15
class
BlockGenerator
{
16
public
:
23
iroha::model::Block
generateGenesisBlock
(
24
ts64_t
created_ts,
25
const
std::vector<iroha::model::Transaction> &transactions);
26
};
27
28
}
// namespace generators
29
}
// namespace model
30
}
// namespace iroha
31
32
#endif // IROHA_BLOCK_GENERATOR_HPP
iroha::model::generators::BlockGenerator
Definition:
block_generator.hpp:15
iroha::model::generators::BlockGenerator::generateGenesisBlock
iroha::model::Block generateGenesisBlock(ts64_t created_ts, const std::vector< iroha::model::Transaction > &transactions)
Definition:
block_generator.cpp:13
block.hpp
iroha::ts64_t
uint64_t ts64_t
Definition:
time.hpp:14
transaction_generator.hpp
iroha
Definition:
block_query.hpp:15
iroha::model::Block
Definition:
block.hpp:24
irohad
model
generators
block_generator.hpp
Generated by
1.8.13