CatapultServer
v0.5.0.1 (Elephant)
|
Secret lock plugin configuration settings. More...
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 | |
Secret lock plugin configuration settings.
|
privatedefault |
|
static |
Loads lock configuration from bag.
|
static |
Creates an uninitialized lock configuration.
uint16_t catapult::config::SecretLockConfiguration::MaxProofSize |
Maximum size of a proof in bytes.
utils::BlockSpan catapult::config::SecretLockConfiguration::MaxSecretLockDuration |
Maximum number of blocks for which a secret lock can exist.
uint16_t catapult::config::SecretLockConfiguration::MinProofSize |
Minimum size of a proof in bytes.