CatapultServer
v0.5.0.1 (Elephant)
|
Namespace plugin configuration settings. More...
Static Public Member Functions | |
static NamespaceConfiguration | Uninitialized () |
Creates an uninitialized namespace configuration. More... | |
static NamespaceConfiguration | LoadFromBag (const utils::ConfigurationBag &bag) |
Loads a namespace configuration from bag. More... | |
Public Attributes | |
uint8_t | MaxNameSize |
Maximum namespace and mosaic name size. More... | |
utils::BlockSpan | MaxNamespaceDuration |
Maximum namespace duration. More... | |
utils::BlockSpan | NamespaceGracePeriodDuration |
Grace period during which time only the previous owner can renew an expired namespace. More... | |
std::unordered_set< std::string > | ReservedRootNamespaceNames |
Reserved root namespaces that cannot be claimed. More... | |
Key | NamespaceRentalFeeSinkPublicKey |
Public key of the namespace rental fee sink account. More... | |
Amount | RootNamespaceRentalFeePerBlock |
Root namespace rental fee per block. More... | |
Amount | ChildNamespaceRentalFee |
Child namespace rental fee. More... | |
uint16_t | MaxChildNamespaces |
Maximum number of children for a root namespace. More... | |
Private Member Functions | |
NamespaceConfiguration ()=default | |
Namespace plugin configuration settings.
|
privatedefault |
|
static |
Loads a namespace configuration from bag.
|
static |
Creates an uninitialized namespace configuration.
Amount catapult::config::NamespaceConfiguration::ChildNamespaceRentalFee |
Child namespace rental fee.
uint16_t catapult::config::NamespaceConfiguration::MaxChildNamespaces |
Maximum number of children for a root namespace.
uint8_t catapult::config::NamespaceConfiguration::MaxNameSize |
Maximum namespace and mosaic name size.
utils::BlockSpan catapult::config::NamespaceConfiguration::MaxNamespaceDuration |
Maximum namespace duration.
utils::BlockSpan catapult::config::NamespaceConfiguration::NamespaceGracePeriodDuration |
Grace period during which time only the previous owner can renew an expired namespace.
Key catapult::config::NamespaceConfiguration::NamespaceRentalFeeSinkPublicKey |
Public key of the namespace rental fee sink account.
std::unordered_set<std::string> catapult::config::NamespaceConfiguration::ReservedRootNamespaceNames |
Reserved root namespaces that cannot be claimed.
Amount catapult::config::NamespaceConfiguration::RootNamespaceRentalFeePerBlock |
Root namespace rental fee per block.