CatapultServer
v0.5.0.1 (Elephant)
|
Key PublicKey
Public key of an account. Present if PublicKeyHeight > 0.
Definition: AccountState.h:64
Account is a remote harvester account that is linked to a balance-holding account.
bool IsRemote(AccountType accountType)
Returns true if accountType corresponds to a remote account.
Definition: AccountState.cpp:41
Container holding information about account.
Definition: AccountBalances.h:31
Account state data.
Definition: AccountState.h:44
Stack of account activity buckets.
Definition: AccountActivityBuckets.h:29
Height PublicKeyHeight
Height at which public key has been obtained.
Definition: AccountState.h:67
state::AccountType AccountType
Type of account.
Definition: AccountState.h:70
AccountActivityBuckets ActivityBuckets
Activity buckets of the account.
Definition: AccountState.h:79
AccountType
Possible account types.
Definition: AccountState.h:29
Account is not linked to another account.
catapult::Address Address
Address of an account.
Definition: AccountState.h:58
Key LinkedAccountKey
Public key of linked account.
Definition: AccountState.h:73
Stack of account importance snapshots.
Definition: AccountImportanceSnapshots.h:28
std::string AddressToString(const Address &address)
Creates an encoded address from an address.
Definition: Address.cpp:38
#define CATAPULT_THROW_RUNTIME_ERROR(MESSAGE)
Macro used to throw a catapult runtime error.
Definition: exceptions.h:167
void RequireLinkedRemoteAndMainAccounts(const AccountState &remoteAccountState, const AccountState &mainAccountState)
Requires that remoteAccountState and mainAccountState state are linked.
Definition: AccountState.cpp:52
Account is a remote harvester eligible account that is unlinked.
AccountBalances Balances
Balances of an account.
Definition: AccountState.h:82
Definition: AddressExtractionExtension.cpp:28
Account is a balance-holding account that is linked to a remote harvester account.
Height AddressHeight
Height at which address has been obtained.
Definition: AccountState.h:61
AccountImportanceSnapshots ImportanceSnapshots
Importance snapshots of the account.
Definition: AccountState.h:76
AccountState(const catapult::Address &address, Height addressHeight)
Creates an account state from an address and a height (addressHeight).
Definition: AccountState.h:47