CatapultServer  v0.5.0.1 (Elephant)
catapult::cache::MosaicPatriciaTree Class Reference
Inheritance diagram for catapult::cache::MosaicPatriciaTree:
Collaboration diagram for catapult::cache::MosaicPatriciaTree:

Public Types

using Serializer = MosaicCacheDescriptor::Serializer
 
- Public Types inherited from catapult::tree::BasePatriciaTree< TEncoder, TDataSource, THasher >
using KeyType = typename TEncoder::KeyType
 
using ValueType = typename TEncoder::ValueType
 
using DeltaType = BasePatriciaTreeDelta< TEncoder, TDataSource, THasher >
 

Additional Inherited Members

- Public Member Functions inherited from catapult::tree::BasePatriciaTree< TEncoder, TDataSource, THasher >
 BasePatriciaTree (TDataSource &dataSource)
 Creates a tree around a dataSource. More...
 
 BasePatriciaTree (TDataSource &dataSource, const Hash256 &rootHash)
 Creates a tree around a dataSource with specified root hash (rootHash). More...
 
Hash256 root () const
 Gets the root hash that uniquely identifies this tree. More...
 
std::pair< Hash256, bool > lookup (const KeyType &key, std::vector< TreeNode > &nodePath) const
 Tries to find the value associated with key in the tree and stores proof of existence or not in nodePath. More...
 
std::shared_ptr< DeltaTyperebase ()
 Returns a delta based on the same data source as this tree. More...
 
std::shared_ptr< DeltaTyperebaseDetached () const
 
void commit ()
 Commits all changes in the rebased tree. More...
 

Member Typedef Documentation

◆ Serializer


The documentation for this class was generated from the following file: