hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
iroha::ametsuchi::FlatFileBlockStorageFactory Class Reference

#include "flat_file_block_storage_factory.hpp"

Inheritance diagram for iroha::ametsuchi::FlatFileBlockStorageFactory:
Inheritance graph
Collaboration diagram for iroha::ametsuchi::FlatFileBlockStorageFactory:
Collaboration graph

Public Member Functions

 FlatFileBlockStorageFactory (std::function< std::string()> path_provider, std::shared_ptr< shared_model::interface::BlockJsonConverter > json_block_converter, logger::LoggerManagerTreePtr log_manager)
 
iroha::expected::Result< std::unique_ptr< BlockStorage >, std::string > create () override
 
- Public Member Functions inherited from iroha::ametsuchi::BlockStorageFactory
virtual ~BlockStorageFactory ()=default
 

Constructor & Destructor Documentation

◆ FlatFileBlockStorageFactory()

FlatFileBlockStorageFactory::FlatFileBlockStorageFactory ( std::function< std::string()>  path_provider,
std::shared_ptr< shared_model::interface::BlockJsonConverter json_block_converter,
logger::LoggerManagerTreePtr  log_manager 
)

Member Function Documentation

◆ create()

iroha::expected::Result< std::unique_ptr< BlockStorage >, std::string > FlatFileBlockStorageFactory::create ( )
overridevirtual

Implements iroha::ametsuchi::BlockStorageFactory.

Here is the call graph for this function:

The documentation for this class was generated from the following files: