Ethereum  PoC-8
The C++ Implementation of Ethereum
TrieCommon.h File Reference
#include "Common.h"
#include "RLP.h"

Go to the source code of this file.

Classes

struct  dev::NibbleSlice
 

Namespaces

 dev
 

Functions

byte dev::nibble (bytesConstRef _data, unsigned _i)
 
unsigned dev::sharedNibbles (bytesConstRef _first, unsigned _beginFirst, unsigned _endFirst, bytesConstRef _second, unsigned _beginSecond, unsigned _endSecond)
 
std::ostream & dev::operator<< (std::ostream &_out, NibbleSlice const &_m)
 
bool dev::isLeaf (RLP const &_twoItem)
 
NibbleSlice dev::keyOf (bytesConstRef _hpe)
 
NibbleSlice dev::keyOf (RLP const &_twoItem)
 
byte dev::uniqueInUse (RLP const &_orig, byte except)
 
std::string dev::hexPrefixEncode (bytes const &_hexVector, bool _leaf, int _begin, int _end)
 
std::string dev::hexPrefixEncode (bytesConstRef _data, bool _leaf, int _beginNibble, int _endNibble, unsigned _offset)
 
std::string dev::hexPrefixEncode (bytesConstRef _d1, unsigned _o1, bytesConstRef _d2, unsigned _o2, bool _leaf)
 
std::string dev::hexPrefixEncode (NibbleSlice _s, bool _leaf, int _begin=0, int _end=-1)
 
std::string dev::hexPrefixEncode (NibbleSlice _s1, NibbleSlice _s2, bool _leaf)
 

Detailed Description

Author
Gav Wood i@gav.nosp@m.wood.nosp@m..com
Date
2014

Definition in file TrieCommon.h.