|
| | StorageBase (StorageBase &&)=delete |
| |
| | StorageBase (StorageBase const &)=delete |
| |
| StorageBase & | operator= (StorageBase &&)=delete |
| |
| StorageBase & | operator= (StorageBase const &)=delete |
| |
| boost::optional< std::shared_ptr< PeerQuery > > | createPeerQuery () const override |
| |
| bool | preparedCommitEnabled () const override |
| | Check if prepared commits are enabled. More...
|
| |
| boost::optional< std::shared_ptr< BlockQuery > > | createBlockQuery () const override |
| |
| logger::LoggerManagerTreePtr | logManager () const |
| |
| auto & | blockIsPrepared () |
| |
| std::shared_ptr< BlockStorage > | blockStore () const |
| |
| std::shared_ptr< shared_model::interface::PermissionToString > | permConverter () const |
| |
| logger::LoggerPtr | log () const |
| |
| std::shared_ptr< PendingTransactionStorage > | pendingTxStorage () const |
| |
| auto & | temporaryBlockStorageFactory () |
| |
| std::shared_ptr< shared_model::interface::QueryResponseFactory > | queryResponseFactory () const |
| |
| std::optional< std::reference_wrapper< const VmCaller > > | vmCaller () const |
| |
| boost::optional< std::shared_ptr< const iroha::LedgerState > > | ledgerState () const |
| |
| void | ledgerState (boost::optional< std::shared_ptr< const iroha::LedgerState >> const &value) |
| |
| expected::Result< void, std::string > | insertBlock (std::shared_ptr< const shared_model::interface::Block > block) override |
| |
| expected::Result< void, std::string > | dropBlockStorage () override |
| |
| boost::optional< std::shared_ptr< const iroha::LedgerState > > | getLedgerState () const override |
| |
| CommitResult | commit (std::unique_ptr< MutableStorage > mutable_storage) override |
| |
| void | prepareBlockImpl (std::unique_ptr< TemporaryWsv > wsv, DatabaseTransaction &db_context) |
| |
| StoreBlockResult | storeBlock (std::shared_ptr< const shared_model::interface::Block > block) |
| |
| | StorageBase (boost::optional< std::shared_ptr< const iroha::LedgerState >> ledger_state, std::shared_ptr< BlockStorage > block_store, std::shared_ptr< shared_model::interface::PermissionToString > perm_converter, std::shared_ptr< PendingTransactionStorage > pending_txs_storage, std::shared_ptr< shared_model::interface::QueryResponseFactory > query_response_factory, std::unique_ptr< BlockStorageFactory > temporary_block_storage_factory, std::optional< std::reference_wrapper< const VmCaller >> vm_caller_ref, logger::LoggerManagerTreePtr log_manager, std::string const &prepared_block_name, std::function< void(std::shared_ptr< shared_model::interface::Block const >)> callback, bool prepared_blocks_enabled) |
| |
| | ~StorageBase () |
| |
| virtual std::shared_ptr< WsvQuery > | getWsvQuery () const =0 |
| |
| virtual std::shared_ptr< BlockQuery > | getBlockQuery () const =0 |
| |
| virtual expected::Result< std::unique_ptr< CommandExecutor >, std::string > | createCommandExecutor ()=0 |
| |
| virtual expected::Result< void, std::string > | insertPeer (const shared_model::interface::Peer &peer)=0 |
| |
| virtual iroha::expected::Result< std::unique_ptr< MutableStorage >, std::string > | createMutableStorage (std::shared_ptr< CommandExecutor > command_executor, BlockStorageFactory &storage_factory)=0 |
| |
| virtual expected::Result< void, std::string > | resetPeers ()=0 |
| |
| virtual void | freeConnections ()=0 |
| |
| virtual | ~Storage ()=default |
| |
| virtual std::unique_ptr< TemporaryWsv > | createTemporaryWsv (std::shared_ptr< CommandExecutor > command_executor)=0 |
| |
| virtual void | prepareBlock (std::unique_ptr< TemporaryWsv > wsv)=0 |
| |
| virtual | ~TemporaryFactory ()=default |
| |
| virtual iroha::expected::Result< std::unique_ptr< MutableStorage >, std::string > | createMutableStorage (std::shared_ptr< CommandExecutor > command_executor)=0 |
| |
| virtual CommitResult | commitPrepared (std::shared_ptr< const shared_model::interface::Block > block)=0 |
| |
| virtual | ~MutableFactory ()=default |
| |
| virtual | ~PeerQueryFactory ()=default |
| |
| virtual | ~BlockQueryFactory ()=default |
| |
| virtual iroha::expected::Result< std::unique_ptr< QueryExecutor >, std::string > | createQueryExecutor (std::shared_ptr< PendingTransactionStorage > pending_txs_storage, std::shared_ptr< shared_model::interface::QueryResponseFactory > response_factory) const =0 |
| |
| virtual | ~QueryExecutorFactory ()=default |
| |
| virtual boost::optional< std::unique_ptr< SettingQuery > > | createSettingQuery () const =0 |
| |
| virtual | ~SettingQueryFactory ()=default |
| |