6 #ifndef IROHA_ON_DEMAND_OS_TRANSPORT_HPP 7 #define IROHA_ON_DEMAND_OS_TRANSPORT_HPP 10 #include <unordered_set> 14 #include <boost/optional.hpp> 22 class TransactionBatch;
45 const std::shared_ptr<shared_model::interface::TransactionBatch>
47 return hasher_(a->reducedHash());
52 std::shared_ptr<shared_model::interface::TransactionBatch>,
60 std::shared_ptr<shared_model::interface::TransactionBatch>;
79 virtual boost::optional<std::shared_ptr<const ProposalType>>
107 #endif // IROHA_ON_DEMAND_OS_TRANSPORT_HPP std::shared_ptr< shared_model::interface::TransactionBatch > TransactionBatchType
Definition: on_demand_os_transport.hpp:60
std::unordered_set< std::shared_ptr< shared_model::interface::TransactionBatch >, BatchPointerHasher, shared_model::interface::BatchHashEquality > BatchesSetType
Definition: on_demand_os_transport.hpp:54
shared_model::crypto::Hash::Hasher hasher_
Definition: on_demand_os_transport.hpp:43
Definition: on_demand_os_transport.hpp:42
Definition: transaction_batch.hpp:64
Definition: result_fwd.hpp:27
Definition: proposal.hpp:17
Definition: on_demand_os_transport.hpp:88
Definition: block_query.hpp:15
Definition: on_demand_os_transport.hpp:35
size_t operator()(const std::shared_ptr< shared_model::interface::TransactionBatch > &a) const
Definition: on_demand_os_transport.hpp:44
Definition: command_executor.hpp:12
std::vector< TransactionBatchType > CollectionType
Definition: on_demand_os_transport.hpp:65