CatapultServer
v0.5.0.1 (Elephant)
|
Public Types | |
using | Serializer = AccountStatePatriciaTreeSerializer |
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< DeltaType > | rebase () |
Returns a delta based on the same data source as this tree. More... | |
std::shared_ptr< DeltaType > | rebaseDetached () const |
void | commit () |
Commits all changes in the rebased tree. More... | |