6 #ifndef IROHA_PB_COMMON_HPP 7 #define IROHA_PB_COMMON_HPP 9 #include "commands.pb.h" 17 #include "qry_responses.pb.h" 21 namespace converters {
44 return sha3_256(pb.payload().SerializeAsString());
48 #endif // IROHA_PB_COMMON_HPP Definition: account_asset.hpp:16
iroha::protocol::Domain serializeDomain(const iroha::model::Domain &domain)
Definition: pb_common.cpp:63
iroha::model::Peer deserializePeer(protocol::Peer pb_peer)
Definition: pb_common.cpp:25
iroha::protocol::AccountAsset serializeAccountAsset(const iroha::model::AccountAsset &account_asset)
Definition: pb_common.cpp:54
Definition: block_query.hpp:15
hash256_t hash(const T &pb)
Definition: pb_common.hpp:43
void sha3_256(uint8_t *output, const uint8_t *input, size_t in_size)
Definition: sha3_hash.cpp:13
Definition: account.hpp:17
Definition: domain.hpp:16
iroha::protocol::Account serializeAccount(const iroha::model::Account &account)
Definition: pb_common.cpp:36
protocol::Peer serializePeer(iroha::model::Peer iroha_peer)
Definition: pb_common.cpp:18
iroha::protocol::Asset serializeAsset(const iroha::model::Asset &asset)
Definition: pb_common.cpp:46