hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
remove_signatory.hpp
Go to the documentation of this file.
1 
5 #ifndef IROHA_REMOVE_SIGNATORY_HPP
6 #define IROHA_REMOVE_SIGNATORY_HPP
7 
8 #include <string>
9 #include "crypto/keypair.hpp"
10 #include "model/command.hpp"
11 
12 namespace iroha {
13  namespace model {
14 
18  struct RemoveSignatory : public Command {
22  std::string account_id;
23 
30 
31  bool operator==(const Command &command) const override;
32 
34 
35  RemoveSignatory(const std::string &account_id, const pubkey_t &pubkey)
36  : account_id(account_id), pubkey(pubkey) {}
37  };
38  } // namespace model
39 } // namespace iroha
40 
41 #endif // IROHA_REMOVE_SIGNATORY_HPP
RemoveSignatory(const std::string &account_id, const pubkey_t &pubkey)
Definition: remove_signatory.hpp:35
std::string account_id
Definition: remove_signatory.hpp:22
Definition: command.hpp:14
pubkey_t pubkey
Definition: remove_signatory.hpp:29
Definition: remove_signatory.hpp:18
Definition: block_query.hpp:16
bool operator==(const Command &command) const override
Definition: model_operators.cpp:163
RemoveSignatory()
Definition: remove_signatory.hpp:33