CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
23 #include <boost/filesystem/path.hpp>
25 namespace catapult {
namespace utils {
class ConfigurationBag; } }
27 namespace catapult {
namespace partialtransaction {
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
utils::FileSize CacheMaxResponseSize
Maximum size of a partial transactions response.
Definition: PtConfiguration.h:33
PtConfiguration()=default
#define LOAD_PROPERTY(NAME)
Definition: PtConfiguration.cpp:28
A simple bag of properties.
Definition: ConfigurationBag.h:57
Partial transactions configuration settings.
Definition: PtConfiguration.h:30
static PtConfiguration LoadFromBag(const utils::ConfigurationBag &bag)
Loads a partial transactions configuration from bag.
Definition: PtConfiguration.cpp:34
Represents a file size.
Definition: FileSize.h:29
uint32_t CacheMaxSize
Maximum size of the partial transactions cache.
Definition: PtConfiguration.h:36
Definition: AddressExtractionExtension.cpp:28
static PtConfiguration Uninitialized()
Creates an uninitialized partial transactions configuration.
Definition: PtConfiguration.cpp:30
static PtConfiguration LoadFromPath(const boost::filesystem::path &resourcesPath)
Loads a partial transactions configuration from resourcesPath.
Definition: PtConfiguration.cpp:46