hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
get_pending_transactions.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_SHARED_MODEL_GET_PENDING_TRANSACTIONS_HPP
7 #define IROHA_SHARED_MODEL_GET_PENDING_TRANSACTIONS_HPP
8 
9 #include <boost/optional.hpp>
12 
13 namespace shared_model {
14  namespace interface {
15  class TxPaginationMeta;
16 
22  : public ModelPrimitive<GetPendingTransactions> {
23  public:
24  // TODO igor-egorov 2019-06-06 IR-516 make page meta non-optional
28  virtual boost::optional<const TxPaginationMeta &> paginationMeta()
29  const = 0;
30 
31  std::string toString() const override;
32 
33  bool operator==(const ModelType &rhs) const override;
34  };
35 
36  } // namespace interface
37 } // namespace shared_model
38 
39 #endif // IROHA_SHARED_MODEL_GET_PENDING_TRANSACTIONS_HPP
Definition: get_pending_transactions.hpp:21
bool operator==(const ModelType &rhs) const override
Definition: get_pending_transactions.cpp:22
std::string toString() const override
Definition: get_pending_transactions.cpp:13
Definition: model_primitive.hpp:23
Definition: command_executor.hpp:12
virtual boost::optional< const TxPaginationMeta & > paginationMeta() const =0