Skip to content

Commit

Permalink
Merge pull request #639 from 0xPolygonHermez/KVTree
Browse files Browse the repository at this point in the history
LevelTree & KVTree
  • Loading branch information
rickb80 authored Oct 16, 2023
2 parents 58374c5 + 90611e5 commit a8f1429
Show file tree
Hide file tree
Showing 9 changed files with 1,583 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/config/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ void Config::load(json &config)
ParseString(config, "checkTreeRoot", "CHECK_TREE_ROOT", checkTreeRoot, "auto");
ParseBool(config, "runDatabasePerformanceTest", "RUN_DATABASE_PERFORMANCE_TEST", runDatabasePerformanceTest, false);
ParseBool(config, "runPageManagerTest", "RUN_PAGE_MANAGER_TEST", runPageManagerTest, false);
ParseBool(config, "runKeyValueTreeTest", "RUN_KEY_VALUE_TREE_TEST", runKeyValueTreeTest, false);
ParseBool(config, "runSMT64Test", "RUN_SMT64_TEST", runSMT64Test, false);
ParseBool(config, "runUnitTest", "RUN_UNIT_TEST", runUnitTest, false);

Expand Down Expand Up @@ -370,6 +371,8 @@ void Config::print(void)
zklog.info(" runDatabasePerformanceTest=true");
if (runPageManagerTest)
zklog.info(" runPageManagerTest=true");
if (runKeyValueTreeTest)
zklog.info(" runKeyValueTreeTest=true");
if (runSMT64Test)
zklog.info(" runSMT64Test=true");
if (runUnitTest)
Expand Down
1 change: 1 addition & 0 deletions src/config/config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ class Config
string checkTreeRoot;
bool runDatabasePerformanceTest;
bool runPageManagerTest;
bool runKeyValueTreeTest;
bool runSMT64Test;
bool runUnitTest;

Expand Down
Loading

0 comments on commit a8f1429

Please sign in to comment.