CatapultServer  v0.5.0.1 (Elephant)
AggregateConfiguration.h
Go to the documentation of this file.
1 
21 #pragma once
23 
24 namespace catapult { namespace utils { class ConfigurationBag; } }
25 
26 namespace catapult { namespace config {
27 
30  public:
33 
36 
40 
44 
47 
48  private:
49  AggregateConfiguration() = default;
50 
51  public:
54 
57  };
58 }}
catapult::utils::VerifyBagSizeLte
void VerifyBagSizeLte(const ConfigurationBag &bag, size_t expectedSize)
Verifies that the number of properties in bag is no greater than expectedSize.
Definition: utils/ConfigurationUtils.cpp:38
catapult::config::AggregateConfiguration::MaxTransactionsPerAggregate
uint32_t MaxTransactionsPerAggregate
Maximum number of transactions per aggregate.
Definition: AggregateConfiguration.h:32
catapult::config::AggregateConfiguration::AggregateConfiguration
AggregateConfiguration()=default
LOAD_PROPERTY
#define LOAD_PROPERTY(NAME)
catapult::utils::TimeSpan
Represents a time duration.
Definition: TimeSpan.h:30
catapult::config::AggregateConfiguration
Aggregate plugin configuration settings.
Definition: AggregateConfiguration.h:29
catapult::utils::ConfigurationBag
A simple bag of properties.
Definition: ConfigurationBag.h:57
catapult::config::AggregateConfiguration::Uninitialized
static AggregateConfiguration Uninitialized()
Creates an uninitialized aggregate configuration.
Definition: AggregateConfiguration.cpp:27
AggregateConfiguration.h
catapult::config::AggregateConfiguration::MaxCosignaturesPerAggregate
uint8_t MaxCosignaturesPerAggregate
Maximum number of cosignatures per aggregate.
Definition: AggregateConfiguration.h:35
catapult::config::AggregateConfiguration::MaxBondedTransactionLifetime
utils::TimeSpan MaxBondedTransactionLifetime
Maximum lifetime a bonded transaction can have before it expires.
Definition: AggregateConfiguration.h:46
catapult::config::AggregateConfiguration::EnableStrictCosignatureCheck
bool EnableStrictCosignatureCheck
Definition: AggregateConfiguration.h:39
ConfigurationUtils.h
catapult::config::AggregateConfiguration::LoadFromBag
static AggregateConfiguration LoadFromBag(const utils::ConfigurationBag &bag)
Loads an aggregate configuration from bag.
Definition: AggregateConfiguration.cpp:31
TimeSpan.h
ConfigurationBag.h
catapult
Definition: AddressExtractionExtension.cpp:28
catapult::config::AggregateConfiguration::EnableBondedAggregateSupport
bool EnableBondedAggregateSupport
Definition: AggregateConfiguration.h:43