6 #ifndef IROHA_PROTO_BLOCK_FACTORY_HPP 7 #define IROHA_PROTO_BLOCK_FACTORY_HPP 27 iroha::protocol::Block>> proto_validator);
57 #endif // IROHA_PROTO_BLOCK_FACTORY_HPP
uint64_t HeightType
Type of height (for Block, Proposal etc)
Definition: types.hpp:48
Definition: abstract_validator.hpp:17
ProtoBlockFactory(std::unique_ptr< shared_model::validation::AbstractValidator< shared_model::interface::Block >> interface_validator, std::unique_ptr< shared_model::validation::AbstractValidator< iroha::protocol::Block >> proto_validator)
Definition: proto_block_factory.cpp:16
Definition: result_fwd.hpp:27
iroha::expected::Result< std::unique_ptr< interface::Block >, std::string > createBlock(iroha::protocol::Block block)
Definition: proto_block_factory.cpp:68
Definition: unsafe_block_factory.hpp:16
std::unique_ptr< interface::Block > unsafeCreateBlock(interface::types::HeightType height, const interface::types::HashType &prev_hash, interface::types::TimestampType created_time, const interface::types::TransactionsCollectionType &txs, const interface::types::HashCollectionType &rejected_hashes) override
Definition: proto_block_factory.cpp:26
boost::any_range< HashType, boost::forward_traversal_tag, const HashType & > HashCollectionType
Type of hash collection.
Definition: range_types.hpp:36
Definition: command_executor.hpp:12
boost::any_range< Transaction, boost::random_access_traversal_tag, Transaction & > TransactionsCollectionType
Type of transactions' collection.
Definition: range_types.hpp:29
Definition: proto_block_factory.hpp:21
uint64_t TimestampType
Type of timestamp.
Definition: types.hpp:67