CatapultServer
v0.5.0.1 (Elephant)
|
Classes | |
class | AccountActivityBuckets |
Stack of account activity buckets. More... | |
class | AccountBalances |
Container holding information about account. More... | |
class | AccountImportanceSnapshots |
Stack of account importance snapshots. More... | |
class | AccountRestriction |
Account restriction. More... | |
class | AccountRestrictionDescriptor |
Account restriction descriptor. More... | |
class | AccountRestrictions |
Account restrictions. More... | |
struct | AccountRestrictionsSerializer |
Policy for saving and loading account restrictions data. More... | |
struct | AccountState |
Account state data. More... | |
struct | AccountStateNonHistoricalSerializer |
Policy for saving and loading account state data without historical information. More... | |
struct | AccountStateSerializer |
Policy for saving and loading account state data. More... | |
struct | BlockDifficultyInfo |
struct | CatapultState |
Stateful catapult information. More... | |
class | CompactArrayStack |
Compact array-based stack that allocates memory dynamically only when it is not empty. More... | |
class | CompactMosaicMap |
struct | HashLockInfo |
A hash lock info. More... | |
struct | HashLockInfoExtendedDataSerializer |
Policy for saving and loading hash lock info extended data. More... | |
struct | HashLockInfoSerializer |
Policy for saving and loading hash lock info data. More... | |
struct | LockInfo |
A lock info. More... | |
struct | LockInfoSerializer |
Policy for saving and loading lock info data. More... | |
class | MosaicDefinition |
Represents a mosaic definition. More... | |
class | MosaicEntry |
A tuple composed of a mosaic definition and its current state. More... | |
struct | MosaicEntrySerializer |
Policy for saving and loading mosaic entry data. More... | |
class | MosaicEntrySupplyMixin |
Mixin for storing and modifying a supply in MosaicEntry. More... | |
class | MultisigCosignatoriesMixin |
Mixin for storing information about cosignatories of an account. More... | |
class | MultisigCosignatoryOfMixin |
Mixin for storing information about accounts that current account can cosign. More... | |
class | MultisigEntry |
Multisig entry. More... | |
struct | MultisigEntrySerializer |
Policy for saving and loading multisig entry data. More... | |
class | Namespace |
A catapult namespace. More... | |
class | NamespaceAlias |
A namespace alias. More... | |
class | NamespaceEntry |
A pair composed of a namespace and its root. More... | |
struct | NamespaceLifetime |
Lifetime of a namespace. More... | |
class | RootNamespace |
A root namespace. More... | |
class | RootNamespaceHistory |
A root namespace history. More... | |
struct | RootNamespaceHistoryNonHistoricalSerializer |
Policy for saving and loading root namespace history data without historical information. More... | |
struct | RootNamespaceHistorySerializer |
Policy for saving and loading root namespace history data. More... | |
struct | SecretLockInfo |
A secret lock info. More... | |
struct | SecretLockInfoExtendedDataSerializer |
Policy for saving and loading secret lock info extended data. More... | |
struct | SecretLockInfoSerializer |
Policy for saving and loading secret lock info data. More... | |
struct | TimestampedHash |
Represents a hash with attached timestamp. More... | |
class | TypedAccountRestriction |
Typed account restriction. More... | |
Typedefs | |
using | TimestampedHashRange = model::EntityRange< TimestampedHash > |
An entity range composed of timestamped hashes. More... | |
Enumerations | |
enum | LockStatus : uint8_t { LockStatus::Unused, LockStatus::Used } |
A lock status. More... | |
enum | AliasType : uint8_t { AliasType::None, AliasType::Mosaic, AliasType::Address } |
Possible alias types. More... | |
enum | AccountRestrictionOperationType { AccountRestrictionOperationType::Allow, AccountRestrictionOperationType::Block } |
Operation type. More... | |
enum | AccountType : uint8_t { AccountType::Unlinked, AccountType::Main, AccountType::Remote, AccountType::Remote_Unlinked } |
Possible account types. More... | |
Functions | |
template<typename T > | |
auto | ToVector (T value) |
Converts value to a vector. More... | |
template<size_t N> | |
auto | ToVector (const std::array< uint8_t, N > &value) |
Converts an array (value) to a vector. More... | |
bool | IsRemote (AccountType accountType) |
Returns true if accountType corresponds to a remote account. More... | |
void | RequireLinkedRemoteAndMainAccounts (const AccountState &remoteAccountState, const AccountState &mainAccountState) |
Requires that remoteAccountState and mainAccountState state are linked. More... | |
RawBuffer | SerializeKey (const TimestampedHash ×tampedHash) |
Wraps timestampedHash in raw buffer. More... | |
std::ostream & | operator<< (std::ostream &out, const TimestampedHash ×tampedHash) |
Insertion operator for outputting timestampedHash to out. More... | |
using catapult::state::TimestampedHashRange = typedef model::EntityRange<TimestampedHash> |
An entity range composed of timestamped hashes.
|
strong |
|
strong |
Possible account types.
|
strong |
|
strong |
bool catapult::state::IsRemote | ( | AccountType | accountType | ) |
Returns true
if accountType corresponds to a remote account.
std::ostream & catapult::state::operator<< | ( | std::ostream & | out, |
const TimestampedHash & | timestampedHash | ||
) |
Insertion operator for outputting timestampedHash to out.
void catapult::state::RequireLinkedRemoteAndMainAccounts | ( | const AccountState & | remoteAccountState, |
const AccountState & | mainAccountState | ||
) |
Requires that remoteAccountState and mainAccountState state are linked.
RawBuffer catapult::state::SerializeKey | ( | const TimestampedHash & | timestampedHash | ) |
Wraps timestampedHash in raw buffer.
auto catapult::state::ToVector | ( | const std::array< uint8_t, N > & | value | ) |
Converts an array (value) to a vector.
auto catapult::state::ToVector | ( | T | value | ) |
Converts value to a vector.