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 (CompleterType const &completer, logger::LoggerPtr mst_state_logger, logger::LoggerPtr log)
 
 MstStorageStateImpl (MstStorageStateImpl const &)=delete
 
MstStorageStateImploperator= (MstStorageStateImpl const &)=delete
 
auto applyImpl (shared_model::interface::types::PublicKeyHexStringView 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 extractExpiredTransactionsImpl (const TimeType &current_time) -> decltype(extractExpiredTransactions(current_time)) override
 
auto getDiffStateImpl (shared_model::interface::types::PublicKeyHexStringView 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
 
void processFinalizedTransactionImpl (shared_model::interface::types::HashType const &hash) override
 
- Public Member Functions inherited from iroha::MstStorage
StateUpdateResult apply (shared_model::interface::types::PublicKeyHexStringView target_peer_key, const MstState &new_state)
 
StateUpdateResult updateOwnState (const DataType &tx)
 
MstState extractExpiredTransactions (const TimeType &current_time)
 
MstState getDiffState (shared_model::interface::types::PublicKeyHexStringView target_peer_key, const TimeType &current_time)
 
MstState whatsNew (ConstRefState new_state) const
 
bool batchInStorage (const DataType &batch) const
 
void processFinalizedTransaction (shared_model::interface::types::HashType const &hash)
 
virtual ~MstStorage ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from iroha::MstStorage
 MstStorage (logger::LoggerPtr log)
 
- Protected Attributes inherited from iroha::MstStorage
logger::LoggerPtr log_
 

Constructor & Destructor Documentation

◆ MstStorageStateImpl() [1/2]

iroha::MstStorageStateImpl::MstStorageStateImpl ( CompleterType const &  completer,
logger::LoggerPtr  mst_state_logger,
logger::LoggerPtr  log 
)

◆ MstStorageStateImpl() [2/2]

iroha::MstStorageStateImpl::MstStorageStateImpl ( MstStorageStateImpl const &  )
delete

Member Function Documentation

◆ applyImpl()

auto iroha::MstStorageStateImpl::applyImpl ( shared_model::interface::types::PublicKeyHexStringView  target_peer_key,
const MstState new_state 
) -> decltype(apply(target_peer_key, new_state))
overridevirtual

Implements iroha::MstStorage.

◆ batchInStorageImpl()

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

Implements iroha::MstStorage.

Here is the call graph for this function:

◆ extractExpiredTransactionsImpl()

auto iroha::MstStorageStateImpl::extractExpiredTransactionsImpl ( const TimeType current_time) -> decltype(extractExpiredTransactions(current_time))
overridevirtual

Implements iroha::MstStorage.

Here is the call graph for this function:

◆ getDiffStateImpl()

auto iroha::MstStorageStateImpl::getDiffStateImpl ( shared_model::interface::types::PublicKeyHexStringView  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:

◆ operator=()

MstStorageStateImpl& iroha::MstStorageStateImpl::operator= ( MstStorageStateImpl const &  )
delete

◆ processFinalizedTransactionImpl()

void iroha::MstStorageStateImpl::processFinalizedTransactionImpl ( shared_model::interface::types::HashType const &  hash)
overridevirtual

Implements iroha::MstStorage.

Here is the call graph for this function:

◆ updateOwnStateImpl()

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

Implements iroha::MstStorage.

◆ whatsNewImpl()

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: