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 {
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
string(REPLACE".""/"CMAKE_SWIG_OUTDIR ${SWIG_JAVA_PKG}) else() set(CMAKE_SWIG_FLAGS"") endif() myswig_add_library(irohajava LANGUAGE java SOURCES bindings.i) unset(CMAKE_SWIG_FLAGS) swig_link_libraries(irohajava $
Definition: CMakeLists.txt:54
Definition: block_query.hpp:16
bool operator==(const Command &command) const override
Definition: model_operators.cpp:163
RemoveSignatory()
Definition: remove_signatory.hpp:33