#include "validators_common.hpp"

Public Member Functions | |
| ValidatorsConfig (uint64_t max_batch_size, bool partial_ordered_batches_are_valid=false, bool txs_duplicates_allowed=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 |
| const bool | txs_duplicates_allowed |
A struct that contains configuration parameters for all validators. A validator may read only specific fields.
| shared_model::validation::ValidatorsConfig::ValidatorsConfig | ( | uint64_t | max_batch_size, |
| bool | partial_ordered_batches_are_valid = false, |
||
| bool | txs_duplicates_allowed = false |
||
| ) |
| 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
| const bool shared_model::validation::ValidatorsConfig::txs_duplicates_allowed |
Defines whether a transactions collection, with duplicated transactions, valid or not. Used in: