Search in sources :

Example 1 with TrieDBRocks

use of snowblossom.lib.trie.TrieDBRocks in project snowblossom by snowblossomcoin.

the class TrieRocksTest method setupDB.

@Before
public void setupDB() throws Exception {
    File db_dir = testFolder.newFolder();
    db = new TrieDBRocks(db_dir);
    trie = new HashedTrie(db, true, false);
}
Also used : TrieDBRocks(snowblossom.lib.trie.TrieDBRocks) HashedTrie(snowblossom.lib.trie.HashedTrie) File(java.io.File)

Aggregations

File (java.io.File)1 HashedTrie (snowblossom.lib.trie.HashedTrie)1 TrieDBRocks (snowblossom.lib.trie.TrieDBRocks)1