hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
validators_common.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_VALIDATORS_COMMON_HPP
7 #define IROHA_VALIDATORS_COMMON_HPP
8 
9 #include <string>
10 
11 namespace shared_model {
12  namespace validation {
13 
21  bool txs_duplicates_allowed = false);
23  const uint64_t max_batch_size;
24 
28 
37  };
38 
44  bool validateHexString(const std::string &str);
45 
46  } // namespace validation
47 } // namespace shared_model
48 
49 #endif // IROHA_VALIDATORS_COMMON_HPP
const bool partial_ordered_batches_are_valid
Definition: validators_common.hpp:27
const uint64_t max_batch_size
Maximum allowed amount of transactions within a batch.
Definition: validators_common.hpp:23
ValidatorsConfig(uint64_t max_batch_size, bool partial_ordered_batches_are_valid=false, bool txs_duplicates_allowed=false)
Definition: validators_common.cpp:13
Definition: validators_common.hpp:18
const bool txs_duplicates_allowed
Definition: validators_common.hpp:36
bool validateHexString(const std::string &str)
Definition: validators_common.cpp:20
Definition: command_executor.hpp:12