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

#include "postgres_block_storage_factory.hpp"

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

Public Member Functions

 PostgresBlockStorageFactory (soci::session &sql, std::shared_ptr< PostgresBlockStorage::BlockTransportFactory > block_factory, logger::LoggerPtr log)
 
std::unique_ptr< BlockStoragecreate () override
 
- Public Member Functions inherited from iroha::ametsuchi::BlockStorageFactory
virtual ~BlockStorageFactory ()=default
 

Constructor & Destructor Documentation

PostgresBlockStorageFactory::PostgresBlockStorageFactory ( soci::session &  sql,
std::shared_ptr< PostgresBlockStorage::BlockTransportFactory block_factory,
logger::LoggerPtr  log 
)

Member Function Documentation

std::unique_ptr< BlockStorage > PostgresBlockStorageFactory::create ( )
overridevirtual

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