CatapultServer
v0.5.0.1 (Elephant)
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Variables
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
w
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
i
l
m
n
o
p
r
s
t
u
v
w
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
Related Functions
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
u
v
w
Functions
m
r
Variables
a
b
c
d
e
f
h
i
l
m
n
p
r
s
t
u
v
w
Macros
b
c
d
e
f
g
i
l
m
n
p
r
s
u
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
NamespaceLifetimeConstraints.h
Go to the documentation of this file.
1
21
#pragma once
22
#include "
NamespaceConstants.h
"
23
24
namespace
catapult
{
namespace
model {
25
27
struct
NamespaceLifetimeConstraints
{
28
public
:
30
constexpr
NamespaceLifetimeConstraints
(
BlockDuration
maxDuration,
BlockDuration
gracePeriodDuration)
31
:
MaxNamespaceDuration
(maxDuration.unwrap() + gracePeriodDuration.unwrap())
32
{}
33
34
public
:
36
BlockDuration
MaxNamespaceDuration
;
37
};
38
}}
NamespaceConstants.h
catapult::utils::BaseValue< uint64_t, BlockDuration_tag >
catapult::model::NamespaceLifetimeConstraints
Constraints for a namespace's lifetime.
Definition:
NamespaceLifetimeConstraints.h:27
catapult::model::NamespaceLifetimeConstraints::NamespaceLifetimeConstraints
constexpr NamespaceLifetimeConstraints(BlockDuration maxDuration, BlockDuration gracePeriodDuration)
Creates constraints around maxDuration and gracePeriodDuration.
Definition:
NamespaceLifetimeConstraints.h:30
catapult::model::NamespaceLifetimeConstraints::MaxNamespaceDuration
BlockDuration MaxNamespaceDuration
Maximum lifetime a namespace may have including the grace period.
Definition:
NamespaceLifetimeConstraints.h:36
catapult
Definition:
AddressExtractionExtension.cpp:28
catapult-server
plugins
txes
namespace
src
model
NamespaceLifetimeConstraints.h
Generated by
1.8.16