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

#include "transaction_batch_helpers.hpp"

Collaboration diagram for shared_model::interface::TransactionBatchHelpers:
Collaboration graph

Static Public Member Functions

template<typename Collection >
static types::HashType calculateReducedBatchHash (const Collection &reduced_hashes)
 

Detailed Description

Provides a method that calculates reduced batch hash

Member Function Documentation

◆ calculateReducedBatchHash()

template<typename Collection >
static types::HashType shared_model::interface::TransactionBatchHelpers::calculateReducedBatchHash ( const Collection &  reduced_hashes)
inlinestatic

Get the concatenation of reduced hashes as a single hash That kind of hash does not respect batch type

Template Parameters
Collectiontype of const ref iterator
Parameters
reduced_hashes
Returns
concatenated reduced hashes
Here is the call graph for this function:
Here is the caller graph for this function:

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