6 #ifndef IROHA_VOTE_MESSAGE_HPP 7 #define IROHA_VOTE_MESSAGE_HPP 11 #include <boost/functional/hash.hpp> 22 std::shared_ptr<shared_model::interface::Signature>
signature;
29 return not(*
this == rhs);
48 boost::hash_combine(seed, m.signature->publicKey());
49 boost::hash_combine(seed, m.hash.vote_round);
50 boost::hash_combine(seed, m.hash.vote_hashes.proposal_hash);
51 boost::hash_combine(seed, m.hash.vote_hashes.block_hash);
57 #endif // IROHA_VOTE_MESSAGE_HPP std::string toString() const
Definition: vote_message.hpp:32
PrettyStringBuilder & init(const std::string &name)
Definition: string_builder.cpp:18
Definition: yac_hash_provider.hpp:25
std::string finalize()
Definition: string_builder.cpp:44
std::shared_ptr< shared_model::interface::Signature > signature
Definition: vote_message.hpp:22
Definition: string_builder.hpp:18
Definition: block_query.hpp:15
std::size_t operator()(iroha::consensus::yac::VoteMessage const &m) const noexcept
Definition: vote_message.hpp:45
YacHash hash
Definition: vote_message.hpp:21
bool operator==(const VoteMessage &rhs) const
Definition: vote_message.hpp:24
Definition: vote_message.hpp:20
bool operator!=(const VoteMessage &rhs) const
Definition: vote_message.hpp:28
PrettyStringBuilder & appendNamed(const Name &name, const Value &value)
----—— Augmented appending functions. ----—— ///
Definition: string_builder.hpp:53
Definition: cluster_order.hpp:16