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

#include "yac_hash_provider_impl.hpp"

Inheritance diagram for iroha::consensus::yac::YacHashProviderImpl:
Inheritance graph
Collaboration diagram for iroha::consensus::yac::YacHashProviderImpl:
Collaboration graph

Public Member Functions

YacHash makeHash (const simulator::BlockCreatorEvent &event) const override
 
shared_model::interface::types::HashType toModelHash (const YacHash &hash) const override
 
- Public Member Functions inherited from iroha::consensus::yac::YacHashProvider
virtual ~YacHashProvider ()=default
 

Member Function Documentation

YacHash iroha::consensus::yac::YacHashProviderImpl::makeHash ( const simulator::BlockCreatorEvent event) const
overridevirtual

Make hash from block creator event

Implements iroha::consensus::yac::YacHashProvider.

Here is the call graph for this function:

shared_model::interface::types::HashType iroha::consensus::yac::YacHashProviderImpl::toModelHash ( const YacHash hash) const
overridevirtual

Convert YacHash to model hash

Parameters
hash- for converting
Returns
HashType of model hash

Implements iroha::consensus::yac::YacHashProvider.

Here is the call graph for this function:


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