hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
remove_peer.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_SHARED_MODEL_REMOVE_PEER_HPP
7 #define IROHA_SHARED_MODEL_REMOVE_PEER_HPP
8 
10 
12 
13 namespace shared_model {
14  namespace interface {
15 
19  class RemovePeer : public ModelPrimitive<RemovePeer> {
20  public:
24  virtual const std::string &pubkey() const = 0;
25 
26  std::string toString() const override;
27 
28  bool operator==(const ModelType &rhs) const override;
29  };
30  } // namespace interface
31 } // namespace shared_model
32 
33 #endif // IROHA_SHARED_MODEL_REMOVE_PEER_HPP
RemovePeer ModelType
Definition: model_primitive.hpp:27
std::string toString() const override
Definition: remove_peer.cpp:11
Definition: remove_peer.hpp:19
virtual const std::string & pubkey() const =0
Definition: model_primitive.hpp:22
Definition: command_executor.hpp:12
bool operator==(const ModelType &rhs) const override
Definition: remove_peer.cpp:18