CatapultServer
v0.5.0.1 (Elephant)
|
Basic delta on top of the multisig cache. More...
Public Types | |
using | ReadOnlyView = MultisigCacheTypes::CacheReadOnlyType |
Public Types inherited from catapult::cache::MutableAccessorMixin< TSet, TCacheDescriptor, TValueAdapter > | |
using | iterator = detail::CacheFindIterator< TCacheDescriptor, TValueAdapter, SetIteratorType, ValueType > |
Find (mutable) iterator. More... | |
Public Member Functions | |
BasicMultisigCacheDelta (const MultisigCacheTypes::BaseSetDeltaPointers &multisigSets) | |
Creates a delta around multisigSets. More... | |
Public Member Functions inherited from catapult::utils::MoveOnly | |
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... | |
Public Member Functions inherited from catapult::cache::ContainsMixin< TSet, TCacheDescriptor > | |
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... | |
Public Member Functions inherited from catapult::cache::MutableAccessorMixin< TSet, TCacheDescriptor, TValueAdapter > | |
MutableAccessorMixin (TSet &set) | |
Creates a mixin around set. More... | |
iterator | find (const KeyType &key) |
Finds the cache value identified by key. More... | |
Public Member Functions inherited from catapult::cache::PatriciaTreeDeltaMixin< TSet, TTree > | |
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) |
Public Member Functions inherited from catapult::deltaset::DeltaElementsMixin< TSetDelta > | |
DeltaElementsMixin (const TSetDelta &setDelta) | |
Creates a mixin around setDelta. More... | |
PointerContainer | addedElements () const |
Gets pointers to all added elements. More... | |
PointerContainer | modifiedElements () const |
Gets pointers to all modified elements. More... | |
PointerContainer | removedElements () const |
Gets pointers to all removed elements. More... | |
Private Attributes | |
MultisigCacheTypes::PrimaryTypes::BaseSetDeltaPointerType | m_pMultisigEntries |
Basic delta on top of the multisig cache.
using catapult::cache::BasicMultisigCacheDelta::ReadOnlyView = MultisigCacheTypes::CacheReadOnlyType |
|
inlineexplicit |
Creates a delta around multisigSets.
|
private |