You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

23 lines
390 B

#include "Common.h"
#include "PatriciaTree.h"
using namespace std;
using namespace eth;
/*
PatriciaTree::PatriciaTree(RLP const& _data)
{
// Make tree based on _data
assert(_data.isList());
if (_data.isEmpty())
{
// NULL node.
}
else if (_data.isList() && _data.itemCount() == 2)
{
// Key-value pair
}
else if (_data.isList() && _data.itemCount() == 17)
{
// Branch
}
}
*/