hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
proto_signatories_response.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_SHARED_MODEL_PROTO_SIGNATORIES_RESPONSE_HPP
7 #define IROHA_SHARED_MODEL_PROTO_SIGNATORIES_RESPONSE_HPP
8 
12 #include "qry_responses.pb.h"
13 
14 namespace shared_model {
15  namespace proto {
16  class SignatoriesResponse final
17  : public CopyableProto<interface::SignatoriesResponse,
18  iroha::protocol::QueryResponse,
19  SignatoriesResponse> {
20  public:
21  template <typename QueryResponseType>
22  explicit SignatoriesResponse(QueryResponseType &&queryResponse);
23 
25 
27 
28  const interface::types::PublicKeyCollectionType &keys() const override;
29 
30  private:
31  const iroha::protocol::SignatoriesResponse &signatories_response_;
32 
34  };
35  } // namespace proto
36 } // namespace shared_model
37 
38 #endif // IROHA_SHARED_MODEL_PROTO_SIGNATORIES_RESPONSE_HPP
Definition: proto_signatories_response.hpp:16
const interface::types::PublicKeyCollectionType & keys() const override
Definition: proto_signatories_response.cpp:41
std::vector< PubkeyType > PublicKeyCollectionType
Type of public keys&#39; collection.
Definition: types.hpp:47
Definition: command_executor.hpp:12
Definition: trivial_proto.hpp:45
SignatoriesResponse(QueryResponseType &&queryResponse)
Definition: proto_signatories_response.cpp:15