A base patricia tree.
More...
template<typename TEncoder, typename TDataSource, typename THasher = std::hash<typename TEncoder::KeyType>>
class catapult::tree::BasePatriciaTree< TEncoder, TDataSource, THasher >
A base patricia tree.
◆ DeltaType
template<typename TEncoder , typename TDataSource , typename THasher = std::hash<typename TEncoder::KeyType>>
◆ KeyType
template<typename TEncoder , typename TDataSource , typename THasher = std::hash<typename TEncoder::KeyType>>
◆ ValueType
template<typename TEncoder , typename TDataSource , typename THasher = std::hash<typename TEncoder::KeyType>>
◆ BasePatriciaTree() [1/2]
template<typename TEncoder , typename TDataSource , typename THasher = std::hash<typename TEncoder::KeyType>>
Creates a tree around a dataSource.
◆ BasePatriciaTree() [2/2]
template<typename TEncoder , typename TDataSource , typename THasher = std::hash<typename TEncoder::KeyType>>
Creates a tree around a dataSource with specified root hash (rootHash).
◆ commit()
template<typename TEncoder , typename TDataSource , typename THasher = std::hash<typename TEncoder::KeyType>>
Commits all changes in the rebased tree.
◆ lookup()
template<typename TEncoder , typename TDataSource , typename THasher = std::hash<typename TEncoder::KeyType>>
Tries to find the value associated with key in the tree and stores proof of existence or not in nodePath.
◆ rebase()
template<typename TEncoder , typename TDataSource , typename THasher = std::hash<typename TEncoder::KeyType>>
Returns a delta based on the same data source as this tree.
◆ rebaseDetached()
template<typename TEncoder , typename TDataSource , typename THasher = std::hash<typename TEncoder::KeyType>>
Returns a delta based on the same data source as this tree but without the ability to commit any changes to the original tree.
◆ root()
template<typename TEncoder , typename TDataSource , typename THasher = std::hash<typename TEncoder::KeyType>>
Gets the root hash that uniquely identifies this tree.
◆ m_dataSource
template<typename TEncoder , typename TDataSource , typename THasher = std::hash<typename TEncoder::KeyType>>
◆ m_pWeakDelta
template<typename TEncoder , typename TDataSource , typename THasher = std::hash<typename TEncoder::KeyType>>
◆ m_tree
template<typename TEncoder , typename TDataSource , typename THasher = std::hash<typename TEncoder::KeyType>>
The documentation for this class was generated from the following file: