hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
proto_remove_signatory.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_PROTO_REMOVE_SIGNATORY_HPP
7 #define IROHA_PROTO_REMOVE_SIGNATORY_HPP
8 
10 
11 #include "commands.pb.h"
13 
14 namespace shared_model {
15  namespace proto {
16 
18  public:
19  explicit RemoveSignatory(iroha::protocol::Command &command);
20 
21  const interface::types::AccountIdType &accountId() const override;
22 
23  const interface::types::PubkeyType &pubkey() const override;
24 
25  private:
26  const iroha::protocol::RemoveSignatory &remove_signatory_;
27 
28  const interface::types::PubkeyType pubkey_;
29  };
30 
31  } // namespace proto
32 } // namespace shared_model
33 
34 #endif // IROHA_PROTO_REMOVE_SIGNATORY_HPP
Definition: remove_signatory.hpp:18
Definition: proto_remove_signatory.hpp:17
std::string AccountIdType
Type of account id.
Definition: types.hpp:39
const interface::types::PubkeyType & pubkey() const override
Definition: proto_remove_signatory.cpp:22
const interface::types::AccountIdType & accountId() const override
Definition: proto_remove_signatory.cpp:18
Definition: public_key.hpp:16
Definition: command_executor.hpp:12
RemoveSignatory(iroha::protocol::Command &command)
Definition: proto_remove_signatory.cpp:13