Iroha - A simple, decentralized ledger http://iroha.tech
shared_model::interface::BatchHashEquality Struct Reference

#include "transaction_batch.hpp"

Collaboration diagram for shared_model::interface::BatchHashEquality:
Collaboration graph

Public Member Functions

bool operator() (const std::shared_ptr< TransactionBatch > &left_tx, const std::shared_ptr< TransactionBatch > &right_tx) const

Detailed Description

This is a helper structure which serves as a predicate for hash comparison.

Member Function Documentation

◆ operator()()

bool shared_model::interface::BatchHashEquality::operator() ( const std::shared_ptr< TransactionBatch > &  left_tx,
const std::shared_ptr< TransactionBatch > &  right_tx 
) const

The function used to compare batches for equality: check only hashes of batches, without signatures

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