hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
transaction_generator.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_TRANSACTION_GENERATOR_HPP
7 #define IROHA_TRANSACTION_GENERATOR_HPP
8 
9 #include "logger/logger_fwd.hpp"
12 #include "model/transaction.hpp"
13 
14 namespace iroha {
15  namespace model {
16  namespace generators {
18  public:
27  ts64_t timestamp,
28  std::vector<std::string> peers_address,
29  logger::LoggerPtr keys_manager_logger);
30 
39  ts64_t timestamp,
40  std::string creator_account_id,
41  std::vector<std::shared_ptr<Command>> commands);
42 
51  std::string creator_account_id,
52  std::vector<std::shared_ptr<Command>> commands);
53  };
54  } // namespace generators
55  } // namespace model
56 } // namespace iroha
57 
58 #endif // IROHA_TRANSACTION_GENERATOR_HPP
Transaction generateTransaction(ts64_t timestamp, std::string creator_account_id, std::vector< std::shared_ptr< Command >> commands)
Definition: transaction_generator.cpp:78
Definition: transaction.hpp:26
std::shared_ptr< Logger > LoggerPtr
Definition: logger_fwd.hpp:22
uint64_t ts64_t
Definition: time.hpp:14
Definition: block_query.hpp:16
Transaction generateGenesisTransaction(ts64_t timestamp, std::vector< std::string > peers_address, logger::LoggerPtr keys_manager_logger)
Definition: transaction_generator.cpp:25
Definition: transaction_generator.hpp:17