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 CommitResult restoreWsv (Storage &storage)=0

Detailed Description

Interface for World State View restoring from the storage

Constructor & Destructor Documentation

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

Member Function Documentation

virtual CommitResult iroha::ametsuchi::WsvRestorer::restoreWsv ( Storage storage)
pure virtual

Recover WSV (World State View).

storagestorage of blocks in ledger
ledger state after restoration on success, otherwise error string

Implemented in iroha::ametsuchi::WsvRestorerImpl.

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