hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
client_api.hpp
Go to the documentation of this file.
1 
10 
11 namespace shared_model {
12  namespace bindings {
13  using Blob = std::vector<uint8_t>;
14 
20  void validateTransaction(const Blob &);
21 
27  void validateQuery(const Blob &);
28 
35  Blob signTransaction(const Blob &, const crypto::Keypair &);
36 
43  Blob signQuery(const Blob &, const crypto::Keypair &);
44 
50  Blob hashTransaction(const Blob &);
51 
57  Blob hashQuery(const Blob &);
58 
66  shared_model::proto::Transaction> &);
67 
68  } // namespace bindings
69 } // namespace shared_model
Blob signQuery(const Blob &b, const crypto::Keypair &key)
Definition: client_api.cpp:83
Blob signTransaction(const Blob &b, const crypto::Keypair &key)
Definition: client_api.cpp:66
Definition: hash.hpp:18
Blob hashTransaction(const Blob &b)
Definition: client_api.cpp:100
void validateTransaction(const Blob &b)
Definition: client_api.cpp:33
Definition: keypair.hpp:19
Blob hashQuery(const Blob &b)
Definition: client_api.cpp:113
void validateQuery(const Blob &b)
Definition: client_api.cpp:50
Definition: unsigned_proto.hpp:25
std::vector< uint8_t > Blob
Definition: client_api.hpp:13
interface::types::HashType utxReducedHash(const shared_model::proto::UnsignedWrapper< shared_model::proto::Transaction > &utx)
Definition: client_api.cpp:126
Definition: command_executor.hpp:12