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 
13 
14 namespace shared_model {
15  namespace interface {
16 
20  class RemovePeer : public ModelPrimitive<RemovePeer> {
21  public:
25  virtual const interface::types::PubkeyType &pubkey() const = 0;
26 
27  std::string toString() const override;
28 
29  bool operator==(const ModelType &rhs) const override;
30  };
31  } // namespace interface
32 } // namespace shared_model
33 
34 #endif // IROHA_SHARED_MODEL_REMOVE_PEER_HPP
virtual const interface::types::PubkeyType & pubkey() const =0
std::string toString() const override
Definition: remove_peer.cpp:13
Definition: remove_peer.hpp:20
Definition: public_key.hpp:16
Definition: model_primitive.hpp:22
Definition: command_executor.hpp:12
bool operator==(const ModelType &rhs) const override
Definition: remove_peer.cpp:20