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

#include "wsv_restorer_impl.hpp"

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

Public Member Functions

virtual ~WsvRestorerImpl ()=default
 
virtual expected::Result< void, std::stringrestoreWsv (Storage &storage) override
 
- Public Member Functions inherited from iroha::ametsuchi::WsvRestorer
virtual ~WsvRestorer ()=default
 

Detailed Description

Recover WSV (World State View).

Returns
true on success, otherwise false

Constructor & Destructor Documentation

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

Member Function Documentation

expected::Result< void, std::string > iroha::ametsuchi::WsvRestorerImpl::restoreWsv ( Storage storage)
overridevirtual

Recover WSV (World State View). Drop storage and apply blocks one by one.

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

Implements iroha::ametsuchi::WsvRestorer.

Here is the call graph for this function:


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