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

Secret lock plugin configuration settings. More...

Collaboration diagram for catapult::config::SecretLockConfiguration:

Static Public Member Functions

static SecretLockConfiguration Uninitialized ()
 Creates an uninitialized lock configuration. More...
 
static SecretLockConfiguration LoadFromBag (const utils::ConfigurationBag &bag)
 Loads lock configuration from bag. More...
 

Public Attributes

utils::BlockSpan MaxSecretLockDuration
 Maximum number of blocks for which a secret lock can exist. More...
 
uint16_t MinProofSize
 Minimum size of a proof in bytes. More...
 
uint16_t MaxProofSize
 Maximum size of a proof in bytes. More...
 

Private Member Functions

 SecretLockConfiguration ()=default
 

Detailed Description

Secret lock plugin configuration settings.

Constructor & Destructor Documentation

◆ SecretLockConfiguration()

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

Member Function Documentation

◆ LoadFromBag()

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

Loads lock configuration from bag.

Here is the call graph for this function:

◆ Uninitialized()

SecretLockConfiguration catapult::config::SecretLockConfiguration::Uninitialized ( )
static

Creates an uninitialized lock configuration.

Here is the call graph for this function:

Member Data Documentation

◆ MaxProofSize

uint16_t catapult::config::SecretLockConfiguration::MaxProofSize

Maximum size of a proof in bytes.

◆ MaxSecretLockDuration

utils::BlockSpan catapult::config::SecretLockConfiguration::MaxSecretLockDuration

Maximum number of blocks for which a secret lock can exist.

◆ MinProofSize

uint16_t catapult::config::SecretLockConfiguration::MinProofSize

Minimum size of a proof in bytes.


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