hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
storage_impl.cpp File Reference
#include "ametsuchi/impl/storage_impl.hpp"
#include <utility>
#include <soci/callbacks.h>
#include <soci/postgresql/soci-postgresql.h>
#include <boost/algorithm/string.hpp>
#include <boost/format.hpp>
#include <boost/range/algorithm/replace_if.hpp>
#include "ametsuchi/impl/flat_file/flat_file.hpp"
#include "ametsuchi/impl/mutable_storage_impl.hpp"
#include "ametsuchi/impl/peer_query_wsv.hpp"
#include "ametsuchi/impl/postgres_block_index.hpp"
#include "ametsuchi/impl/postgres_block_query.hpp"
#include "ametsuchi/impl/postgres_command_executor.hpp"
#include "ametsuchi/impl/postgres_query_executor.hpp"
#include "ametsuchi/impl/postgres_wsv_command.hpp"
#include "ametsuchi/impl/postgres_wsv_query.hpp"
#include "ametsuchi/impl/temporary_wsv_impl.hpp"
#include "ametsuchi/tx_executor.hpp"
#include "backend/protobuf/permissions.hpp"
#include "common/bind.hpp"
#include "common/byteutils.hpp"
#include "converters/protobuf/json_proto_converter.hpp"
#include "cryptography/public_key.hpp"
#include "logger/logger.hpp"
#include "logger/logger_manager.hpp"
Include dependency graph for storage_impl.cpp:

Classes

class  iroha::ametsuchi::FailoverCallback
 
class  iroha::ametsuchi::FailoverCallbackFactory
 

Namespaces

 iroha
 
 iroha::ametsuchi
 

Functions

template<typename RollbackFunction >
void iroha::ametsuchi::initializeConnectionPool (soci::connection_pool &connection_pool, size_t pool_size, const std::string &prepare_tables_sql, RollbackFunction try_rollback, FailoverCallbackFactory &callback_factory, ReconnectionStrategyFactory &reconnection_strategy_factory, const std::string &pg_reconnection_options, logger::LoggerManagerTreePtr log_manager)
 

Variables

const char * iroha::ametsuchi::kCommandExecutorError = "Cannot create CommandExecutorFactory"
 
const char * iroha::ametsuchi::kPsqlBroken = "Connection to PostgreSQL broken: %s"
 
const char * iroha::ametsuchi::kTmpWsv = "TemporaryWsv"