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

#include "wsv_restorer.hpp"

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

Public Member Functions

virtual ~WsvRestorer ()=default
 
virtual expected::Result< void, std::stringrestoreWsv (Storage &storage)=0
 

Detailed Description

Interface for World State View restoring from the storage

Constructor & Destructor Documentation

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

Member Function Documentation

virtual expected::Result<void, std::string> iroha::ametsuchi::WsvRestorer::restoreWsv ( Storage storage)
pure virtual

Recover WSV (World State View).

Parameters
storagestorage of blocks in ledger
Returns
void on success, otherwise error string

Implemented in iroha::ametsuchi::WsvRestorerImpl.


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