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 
11 #include "model/transaction.hpp"
12 
13 namespace iroha {
14  namespace model {
15  namespace generators {
17  public:
26  ts64_t timestamp, std::vector<std::string> peers_address);
27 
36  ts64_t timestamp,
37  std::string creator_account_id,
38  std::vector<std::shared_ptr<Command>> commands);
39 
48  std::string creator_account_id,
49  std::vector<std::shared_ptr<Command>> commands);
50  };
51  } // namespace generators
52  } // namespace model
53 } // namespace iroha
54 
55 #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:75
Definition: transaction.hpp:26
string(REPLACE".""/"CMAKE_SWIG_OUTDIR ${SWIG_JAVA_PKG}) else() set(CMAKE_SWIG_FLAGS"") endif() myswig_add_library(irohajava LANGUAGE java SOURCES bindings.i) unset(CMAKE_SWIG_FLAGS) swig_link_libraries(irohajava $
Definition: CMakeLists.txt:54
uint64_t ts64_t
Definition: time.hpp:14
Definition: block_query.hpp:16
Transaction generateGenesisTransaction(ts64_t timestamp, std::vector< std::string > peers_address)
Definition: transaction_generator.cpp:25
Definition: transaction_generator.hpp:16