CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
23 #include <unordered_set>
25 namespace catapult {
namespace utils {
class ConfigurationBag; } }
27 namespace catapult {
namespace config {
std::unordered_set< std::string > ReservedRootNamespaceNames
Reserved root namespaces that cannot be claimed.
Definition: NamespaceConfiguration.h:42
utils::BlockSpan MaxNamespaceDuration
Maximum namespace duration.
Definition: NamespaceConfiguration.h:36
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
Amount RootNamespaceRentalFeePerBlock
Root namespace rental fee per block.
Definition: NamespaceConfiguration.h:48
static NamespaceConfiguration LoadFromBag(const utils::ConfigurationBag &bag)
Loads a namespace configuration from bag.
Definition: NamespaceConfiguration.cpp:31
uint16_t MaxChildNamespaces
Maximum number of children for a root namespace.
Definition: NamespaceConfiguration.h:54
A simple bag of properties.
Definition: ConfigurationBag.h:57
static NamespaceConfiguration Uninitialized()
Creates an uninitialized namespace configuration.
Definition: NamespaceConfiguration.cpp:27
Represents a block duration.
Definition: BlockSpan.h:28
Amount ChildNamespaceRentalFee
Child namespace rental fee.
Definition: NamespaceConfiguration.h:51
NamespaceConfiguration()=default
#define LOAD_PROPERTY(NAME)
Key NamespaceRentalFeeSinkPublicKey
Public key of the namespace rental fee sink account.
Definition: NamespaceConfiguration.h:45
Namespace plugin configuration settings.
Definition: NamespaceConfiguration.h:30
uint8_t MaxNameSize
Maximum namespace and mosaic name size.
Definition: NamespaceConfiguration.h:33
Definition: AddressExtractionExtension.cpp:28
utils::BlockSpan NamespaceGracePeriodDuration
Grace period during which time only the previous owner can renew an expired namespace.
Definition: NamespaceConfiguration.h:39