CatapultServer
v0.5.0.1 (Elephant)
|
Height End
End height excluding grace period.
Definition: NamespaceLifetime.h:54
Height GracePeriodEnd
End height including grace period.
Definition: NamespaceLifetime.h:57
Height Start
Start height.
Definition: NamespaceLifetime.h:51
bool operator!=(const NamespaceLifetime &rhs) const
Returns true if this NamespaceLifetime is not equal to rhs.
Definition: NamespaceLifetime.cpp:65
utils::BaseValue< uint64_t, BlockDuration_tag > BlockDuration
Definition: src/catapult/types.h:88
utils::BaseValue< uint64_t, Height_tag > Height
Definition: src/catapult/types.h:85
bool isActiveAndUnlocked(Height height) const
Returns true if history is active at height (excluding grace period).
Definition: NamespaceLifetime.cpp:53
bool operator==(const NamespaceLifetime &rhs) const
Returns true if this NamespaceLifetime is equal to rhs.
Definition: NamespaceLifetime.cpp:61
Lifetime of a namespace.
Definition: NamespaceLifetime.h:27
bool isActiveOrGracePeriod(Height height) const
Returns true if history is active at height (including grace period).
Definition: NamespaceLifetime.cpp:57
#define CATAPULT_THROW_INVALID_ARGUMENT(MESSAGE)
Macro used to throw a catapult invalid argument.
Definition: exceptions.h:179
Definition: AddressExtractionExtension.cpp:28
NamespaceLifetime(Height start, Height end)
Creates a lifetime with start height and end height.
Definition: NamespaceLifetime.cpp:35