|
| | SpecificTrieDB (DB *_db=nullptr) |
| |
| | SpecificTrieDB (DB *_db, h256 _root, Verification _v=Verification::Normal) |
| |
| std::string | operator[] (KeyType _k) const |
| |
| bool | contains (KeyType _k) const |
| |
| std::string | at (KeyType _k) const |
| |
| void | insert (KeyType _k, bytesConstRef _value) |
| |
| void | insert (KeyType _k, bytes const &_value) |
| |
| void | remove (KeyType _k) |
| |
| iterator | begin () const |
| |
| iterator | end () const |
| |
| iterator | lower_bound (KeyType _k) const |
| |
| | GenericTrieDB (DB *_db=nullptr) |
| |
| | GenericTrieDB (DB *_db, h256 const &_root, Verification _v=Verification::Normal) |
| |
| | ~GenericTrieDB () |
| |
| void | open (DB *_db) |
| |
| void | open (DB *_db, h256 const &_root, Verification _v=Verification::Normal) |
| |
| void | init () |
| |
| void | setRoot (h256 const &_root, Verification _v=Verification::Normal) |
| |
| bool | isNull () const |
| | True if the trie is uninitialised (i.e. that the DB doesn't contain the root node). More...
|
| |
| bool | isEmpty () const |
| | True if the trie is initialised but empty (i.e. that the DB contains the root node which is empty). More...
|
| |
| h256 const & | root () const |
| |
| std::string | at (bytes const &_key) const |
| |
| std::string | at (bytesConstRef _key) const |
| |
| void | insert (bytes const &_key, bytes const &_value) |
| |
| void | insert (bytesConstRef _key, bytes const &_value) |
| |
| void | insert (bytes const &_key, bytesConstRef _value) |
| |
| void | insert (bytesConstRef _key, bytesConstRef _value) |
| |
| void | remove (bytes const &_key) |
| |
| void | remove (bytesConstRef _key) |
| |
| bool | contains (bytes const &_key) |
| |
| bool | contains (bytesConstRef _key) |
| |
| iterator | begin () const |
| |
| iterator | end () const |
| |
| iterator | lower_bound (bytesConstRef _key) const |
| |
| void | descendKey (h256 const &_k, h256Hash &_keyMask, bool _wasExt, std::ostream *_out, int _indent=0) const |
| | Used for debugging, scans the whole trie. More...
|
| |
| void | descendEntry (RLP const &_r, h256Hash &_keyMask, bool _wasExt, std::ostream *_out, int _indent) const |
| | Used for debugging, scans the whole trie. More...
|
| |
| void | descendList (RLP const &_r, h256Hash &_keyMask, bool _wasExt, std::ostream *_out, int _indent) const |
| | Used for debugging, scans the whole trie. More...
|
| |
| h256Hash | leftOvers (std::ostream *_out=nullptr) const |
| | Used for debugging, scans the whole trie. More...
|
| |
| void | debugStructure (std::ostream &_out) const |
| | Used for debugging, scans the whole trie. More...
|
| |
| bool | check (bool _requireNoLeftOvers) const |
| | Used for debugging, scans the whole trie. More...
|
| |
| DB const * | db () const |
| | Get the underlying database. More...
|
| |
| DB * | db () |
| |
template<class _DB>
class dev::HashedGenericTrieDB< _DB >
Definition at line 367 of file TrieDB.h.