6 #ifndef IROHA_BLOCK_LOADER_HPP 7 #define IROHA_BLOCK_LOADER_HPP 10 #include <rxcpp/rx-observable-fwd.hpp> 28 virtual rxcpp::observable<std::shared_ptr<shared_model::interface::Block>>
30 shared_model::interface::types::PublicKeyHexStringView
40 virtual boost::optional<std::shared_ptr<shared_model::interface::Block>>
42 shared_model::interface::types::PublicKeyHexStringView peer_pubkey,
50 #endif // IROHA_BLOCK_LOADER_HPP uint64_t HeightType
Type of height (for Block, Proposal etc)
Definition: types.hpp:48
virtual rxcpp::observable< std::shared_ptr< shared_model::interface::Block > > retrieveBlocks(const shared_model::interface::types::HeightType height, shared_model::interface::types::PublicKeyHexStringView peer_pubkey)=0
Definition: block_loader.hpp:20
Definition: block_query.hpp:15
virtual boost::optional< std::shared_ptr< shared_model::interface::Block > > retrieveBlock(shared_model::interface::types::PublicKeyHexStringView peer_pubkey, shared_model::interface::types::HeightType block_height)=0
virtual ~BlockLoader()=default