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

#include "temporary_wsv.hpp"

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

Classes

struct  SavepointWrapper
 

Public Member Functions

virtual expected::Result< void, validation::CommandErrorapply (const shared_model::interface::Transaction &transaction)=0
 
virtual std::unique_ptr< TemporaryWsv::SavepointWrappercreateSavepoint (const std::string &name)=0
 
virtual ~TemporaryWsv ()=default
 

Detailed Description

Temporary world state view Allows to query the temporary world state view

Constructor & Destructor Documentation

virtual iroha::ametsuchi::TemporaryWsv::~TemporaryWsv ( )
virtualdefault

Member Function Documentation

virtual expected::Result<void, validation::CommandError> iroha::ametsuchi::TemporaryWsv::apply ( const shared_model::interface::Transaction transaction)
pure virtual

Applies a transaction to current state

Parameters
transactionTransaction to be applied
Returns
True if transaction was successfully applied, false otherwise

Implemented in iroha::ametsuchi::TemporaryWsvImpl.

Here is the caller graph for this function:

virtual std::unique_ptr<TemporaryWsv::SavepointWrapper> iroha::ametsuchi::TemporaryWsv::createSavepoint ( const std::string &  name)
pure virtual

Create a savepoint for wsv state

Parameters
nameof savepoint to be created
Returns
RAII wrapper for savepoints

Implemented in iroha::ametsuchi::TemporaryWsvImpl.

Here is the caller graph for this function:


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