CatapultServer  v0.5.0.1 (Elephant)
catapult::config::NamespaceConfiguration Struct Reference

Namespace plugin configuration settings. More...

Collaboration diagram for catapult::config::NamespaceConfiguration:

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
 

Detailed Description

Namespace plugin configuration settings.

Constructor & Destructor Documentation

◆ NamespaceConfiguration()

catapult::config::NamespaceConfiguration::NamespaceConfiguration ( )
privatedefault
Here is the caller graph for this function:

Member Function Documentation

◆ LoadFromBag()

NamespaceConfiguration catapult::config::NamespaceConfiguration::LoadFromBag ( const utils::ConfigurationBag bag)
static

Loads a namespace configuration from bag.

Here is the call graph for this function:

◆ Uninitialized()

NamespaceConfiguration catapult::config::NamespaceConfiguration::Uninitialized ( )
static

Creates an uninitialized namespace configuration.

Here is the call graph for this function:

Member Data Documentation

◆ ChildNamespaceRentalFee

Amount catapult::config::NamespaceConfiguration::ChildNamespaceRentalFee

Child namespace rental fee.

◆ MaxChildNamespaces

uint16_t catapult::config::NamespaceConfiguration::MaxChildNamespaces

Maximum number of children for a root namespace.

◆ MaxNameSize

uint8_t catapult::config::NamespaceConfiguration::MaxNameSize

Maximum namespace and mosaic name size.

◆ MaxNamespaceDuration

utils::BlockSpan catapult::config::NamespaceConfiguration::MaxNamespaceDuration

Maximum namespace duration.

◆ NamespaceGracePeriodDuration

utils::BlockSpan catapult::config::NamespaceConfiguration::NamespaceGracePeriodDuration

Grace period during which time only the previous owner can renew an expired namespace.

◆ NamespaceRentalFeeSinkPublicKey

Key catapult::config::NamespaceConfiguration::NamespaceRentalFeeSinkPublicKey

Public key of the namespace rental fee sink account.

◆ ReservedRootNamespaceNames

std::unordered_set<std::string> catapult::config::NamespaceConfiguration::ReservedRootNamespaceNames

Reserved root namespaces that cannot be claimed.

◆ RootNamespaceRentalFeePerBlock

Amount catapult::config::NamespaceConfiguration::RootNamespaceRentalFeePerBlock

Root namespace rental fee per block.


The documentation for this struct was generated from the following files: