CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
25 namespace catapult {
namespace state {
61 SnapshotStack::const_iterator
begin()
const;
64 SnapshotStack::const_iterator
end()
const;
model::ImportanceHeight height() const
Gets the height at which the current importance was calculated.
Definition: AccountImportanceSnapshots.cpp:30
Importance get(model::ImportanceHeight height) const
Gets the importance of the account at height.
Definition: AccountImportanceSnapshots.cpp:34
Temporal importance information.
Definition: AccountImportanceSnapshots.h:31
void set(Importance importance, model::ImportanceHeight height)
Sets the current account importance to importance at height.
Definition: AccountImportanceSnapshots.cpp:42
SnapshotStack::const_iterator end() const
Returns a const iterator to the element following the last element of the underlying container.
Definition: AccountImportanceSnapshots.cpp:61
catapult::Importance Importance
Account importance.
Definition: AccountImportanceSnapshots.h:33
SnapshotStack::const_iterator begin() const
Returns a const iterator to the first element of the underlying container.
Definition: AccountImportanceSnapshots.cpp:57
SnapshotStack m_snapshots
Definition: AccountImportanceSnapshots.h:67
const_iterator begin() const
Returns a const iterator to the first element of the underlying container.
Definition: CompactArrayStack.h:150
Importance current() const
Gets the current importance of the account.
Definition: AccountImportanceSnapshots.cpp:26
Stack of account importance snapshots.
Definition: AccountImportanceSnapshots.h:28
const_iterator end() const
Returns a const iterator to the element following the last element of the underlying container.
Definition: CompactArrayStack.h:155
void push(const T &value)
Pushes value onto the stack.
Definition: CompactArrayStack.h:178
model::ImportanceHeight Height
Importance height.
Definition: AccountImportanceSnapshots.h:36
#define CATAPULT_THROW_RUNTIME_ERROR(MESSAGE)
Macro used to throw a catapult runtime error.
Definition: exceptions.h:167
void pop()
Pops the current importance.
Definition: AccountImportanceSnapshots.cpp:53
Definition: AddressExtractionExtension.cpp:28
void pop()
Pops the top value from the stack.
Definition: CompactArrayStack.h:190