|
| virtual std::shared_ptr< WsvQuery > | getWsvQuery () const =0 |
| |
| virtual std::shared_ptr< BlockQuery > | getBlockQuery () const =0 |
| |
| virtual iroha::expected::Result< void, std::string > | insertBlock (std::shared_ptr< const shared_model::interface::Block > block)=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 expected::Result< void, std::string > | dropBlockStorage ()=0 |
| |
| virtual boost::optional< std::shared_ptr< const iroha::LedgerState > > | getLedgerState () const =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 | commit (std::unique_ptr< MutableStorage > mutableStorage)=0 |
| |
| virtual bool | preparedCommitEnabled () const =0 |
| | Check if prepared commits are enabled. More...
|
| |
| virtual CommitResult | commitPrepared (std::shared_ptr< const shared_model::interface::Block > block)=0 |
| |
| virtual | ~MutableFactory ()=default |
| |
| virtual boost::optional< std::shared_ptr< PeerQuery > > | createPeerQuery () const =0 |
| |
| virtual | ~PeerQueryFactory ()=default |
| |
| virtual boost::optional< std::shared_ptr< BlockQuery > > | createBlockQuery () const =0 |
| |
| 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 |
| |
Storage interface, which allows queries on current committed state, and creation of state which can be mutated with blocks and transactions