|
| AccountStateCacheDelta (const AccountStateCacheTypes::BaseSetDeltaPointers &accountStateSets, const AccountStateCacheTypes::Options &options, const model::AddressSet &highValueAddresses) |
| Creates a delta around accountStateSets, options and highValueAddresses. More...
|
|
| ReadOnlyViewSupplier (TArgs &&... args) |
| Creates a read-only view supplier around args. More...
|
|
| ReadOnlyViewSupplier (ReadOnlyViewSupplier &&rhs) |
|
const BasicAccountStateCacheDelta ::ReadOnlyView & | asReadOnly () const |
| Returns a read-only view of this view. More...
|
|
| BasicAccountStateCacheDelta (const AccountStateCacheTypes::BaseSetDeltaPointers &accountStateSets, const AccountStateCacheTypes::Options &options, const model::AddressSet &highValueAddresses) |
| Creates a delta around accountStateSets, options and highValueAddresses. More...
|
|
model::NetworkIdentifier | networkIdentifier () const |
| Gets the network identifier. More...
|
|
uint64_t | importanceGrouping () const |
| Gets the network importance grouping. More...
|
|
Amount | minHarvesterBalance () const |
| Gets the minimum harvester balance. More...
|
|
MosaicId | harvestingMosaicId () const |
| Gets the harvesting mosaic id. More...
|
|
void | addAccount (const Address &address, Height addressHeight) |
| If not present, adds an account to the cache at given height (addressHeight) using address. More...
|
|
void | addAccount (const Key &publicKey, Height publicKeyHeight) |
|
void | addAccount (const state::AccountState &accountState) |
| If not present, adds an account to the cache using information in accountState. More...
|
|
void | queueRemove (const Address &address, Height height) |
|
void | queueRemove (const Key &publicKey, Height height) |
|
void | commitRemovals () |
| Commits all queued removals. More...
|
|
HighValueAddressesTuple | highValueAddresses () const |
| Gets all high value addresses. More...
|
|
constexpr | MoveOnly ()=default |
| Default constructor. More...
|
|
| ~MoveOnly ()=default |
| Default destructor. More...
|
|
| MoveOnly (const NonCopyable &)=delete |
| Disabled copy constructor. More...
|
|
| MoveOnly (MoveOnly &&)=default |
| Default move constructor. More...
|
|
MoveOnly & | operator= (const MoveOnly &)=delete |
| Disabled assignment operator. More...
|
|
MoveOnly & | operator= (MoveOnly &&)=default |
| Default move assignment operator. More...
|
|
| ContainsMixin (const TSet &set) |
| Creates a mixin around set. More...
|
|
bool | contains (const KeyType &key) const |
| Gets a value indicating whether or not the cache contains an element with key. More...
|
|
| ConstAccessorMixin (const TSet &set) |
| Creates a mixin around set. More...
|
|
const_iterator | find (const KeyType &key) const |
| Finds the cache value identified by key. More...
|
|
| MutableAccessorMixin (TSet &set) |
| Creates a mixin around set. More...
|
|
iterator | find (const KeyType &key) |
| Finds the cache value identified by key. More...
|
|
| PatriciaTreeDeltaMixin (TSet &set, const std::shared_ptr< TTree > &pTree) |
| Creates a mixin around delta set and pTree. More...
|
|
bool | supportsMerkleRoot () const |
| Returns true if merkle root is supported. More...
|
|
std::pair< Hash256, bool > | tryGetMerkleRoot () const |
| Tries to get the merkle root if supported. More...
|
|
void | updateMerkleRoot (Height height) |
| Recalculates the merkle root given the specified chain height if supported. More...
|
|
void | setMerkleRoot (const Hash256 &merkleRoot) |
|
Delta on top of the account state cache.