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"
8 
9 #ifndef IROHA_BLOCK_GENERATOR_HPP
10 #define IROHA_BLOCK_GENERATOR_HPP
11 namespace iroha {
12  namespace model {
13  namespace generators {
14 
16  public:
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
Definition: block_generator.hpp:15
iroha::model::Block generateGenesisBlock(ts64_t created_ts, const std::vector< iroha::model::Transaction > &transactions)
Definition: block_generator.cpp:13
uint64_t ts64_t
Definition: time.hpp:14
Definition: block_query.hpp:16
Definition: block.hpp:24