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

#include "mst_storage_impl.hpp"

Inheritance diagram for iroha::MstStorageStateImpl:
Inheritance graph
Collaboration diagram for iroha::MstStorageStateImpl:
Collaboration graph

Public Member Functions

 MstStorageStateImpl (const CompleterType &completer)
 
auto applyImpl (const shared_model::crypto::PublicKey &target_peer_key, const MstState &new_state) -> decltype(apply(target_peer_key, new_state)) override
 
auto updateOwnStateImpl (const DataType &tx) -> decltype(updateOwnState(tx)) override
 
auto getExpiredTransactionsImpl (const TimeType &current_time) -> decltype(getExpiredTransactions(current_time)) override
 
auto getDiffStateImpl (const shared_model::crypto::PublicKey &target_peer_key, const TimeType &current_time) -> decltype(getDiffState(target_peer_key, current_time)) override
 
auto whatsNewImpl (ConstRefState new_state) const -> decltype(whatsNew(new_state)) override
 
bool batchInStorageImpl (const DataType &batch) const override
 
- Public Member Functions inherited from iroha::MstStorage
StateUpdateResult apply (const shared_model::crypto::PublicKey &target_peer_key, const MstState &new_state)
 
StateUpdateResult updateOwnState (const DataType &tx)
 
MstState getExpiredTransactions (const TimeType &current_time)
 
MstState getDiffState (const shared_model::crypto::PublicKey &target_peer_key, const TimeType &current_time)
 
MstState whatsNew (ConstRefState new_state) const
 
bool batchInStorage (const DataType &batch) const
 
virtual ~MstStorage ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from iroha::MstStorage
 MstStorage (logger::Logger log=logger::log("MstStorage"))
 
- Protected Attributes inherited from iroha::MstStorage
logger::Logger log_
 

Constructor & Destructor Documentation

iroha::MstStorageStateImpl::MstStorageStateImpl ( const CompleterType completer)
explicit

Member Function Documentation

auto iroha::MstStorageStateImpl::applyImpl ( const shared_model::crypto::PublicKey target_peer_key,
const MstState new_state 
) -> decltype(apply(target_peer_key, new_state))
overridevirtual

Implements iroha::MstStorage.

bool iroha::MstStorageStateImpl::batchInStorageImpl ( const DataType batch) const
overridevirtual

Implements iroha::MstStorage.

Here is the call graph for this function:

auto iroha::MstStorageStateImpl::getDiffStateImpl ( const shared_model::crypto::PublicKey target_peer_key,
const TimeType current_time 
) -> decltype(getDiffState(target_peer_key, current_time))
overridevirtual

Implements iroha::MstStorage.

Here is the call graph for this function:

auto iroha::MstStorageStateImpl::getExpiredTransactionsImpl ( const TimeType current_time) -> decltype(getExpiredTransactions(current_time))
overridevirtual

Implements iroha::MstStorage.

Here is the call graph for this function:

auto iroha::MstStorageStateImpl::updateOwnStateImpl ( const DataType tx) -> decltype(updateOwnState(tx))
overridevirtual

Implements iroha::MstStorage.

auto iroha::MstStorageStateImpl::whatsNewImpl ( ConstRefState  new_state) const -> decltype(whatsNew(new_state))
overridevirtual

Implements iroha::MstStorage.


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