Adding leveldb support to hash tree