5 #ifndef IROHA_ORDERING_SERVICE_TRANSPORT_H 6 #define IROHA_ORDERING_SERVICE_TRANSPORT_H 26 std::unique_ptr<shared_model::interface::TransactionBatch> batch) = 0;
43 virtual void subscribe(
44 std::shared_ptr<OrderingServiceNotification> subscriber) = 0;
50 virtual void publishProposal(
51 std::unique_ptr<shared_model::interface::Proposal> proposal,
52 const std::vector<std::string> &peers) = 0;
60 #endif // IROHA_ORDERING_SERVICE_TRANSPORT_H virtual ~OrderingServiceNotification()=default
virtual void onBatch(std::unique_ptr< shared_model::interface::TransactionBatch > batch)=0
Definition: block_query.hpp:15
Definition: ordering_service_transport.hpp:36
Definition: ordering_service_transport.hpp:19