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

#include "validators_common.hpp"

Collaboration diagram for shared_model::validation::ValidatorsConfig:
Collaboration graph

Public Member Functions

 ValidatorsConfig (uint64_t max_batch_size, bool partial_ordered_batches_are_valid=false)

Public Attributes

const uint64_t max_batch_size
 Maximum allowed amount of transactions within a batch. More...
const bool partial_ordered_batches_are_valid

Detailed Description

A struct that contains configuration parameters for all validators. A validator may read only specific fields.

Constructor & Destructor Documentation

shared_model::validation::ValidatorsConfig::ValidatorsConfig ( uint64_t  max_batch_size,
bool  partial_ordered_batches_are_valid = false 

Member Data Documentation

const uint64_t shared_model::validation::ValidatorsConfig::max_batch_size

Maximum allowed amount of transactions within a batch.

const bool shared_model::validation::ValidatorsConfig::partial_ordered_batches_are_valid

Batch meta can contain more hashes of batch transactions than it actually has. Used for block validation

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