hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
proto_remove_peer.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_PROTO_REMOVE_PEER_HPP
7 #define IROHA_PROTO_REMOVE_PEER_HPP
8 
10 
12 #include "commands.pb.h"
13 
14 namespace shared_model {
15  namespace proto {
16 
17  class RemovePeer final : public interface::RemovePeer {
18  public:
19  explicit RemovePeer(iroha::protocol::Command &command);
20 
21  const interface::types::PubkeyType &pubkey() const override;
22 
23  private:
24  const interface::types::PubkeyType pubkey_;
25  };
26  } // namespace proto
27 } // namespace shared_model
28 
29 #endif // IROHA_PROTO_REMOVE_PEER_HPP
const interface::types::PubkeyType & pubkey() const override
Definition: proto_remove_peer.cpp:15
RemovePeer(iroha::protocol::Command &command)
Definition: proto_remove_peer.cpp:11
Definition: remove_peer.hpp:20
Definition: proto_remove_peer.hpp:17
Definition: public_key.hpp:16
Definition: command_executor.hpp:12