diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/compileconfig.py | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/tools/compileconfig.py b/tools/compileconfig.py index 552f3b8..272b8f2 100755 --- a/tools/compileconfig.py +++ b/tools/compileconfig.py @@ -226,9 +226,14 @@ def gen_config(nodename, config, localconfig): ]) ] + if "dbbackend" in localconfig: + plopconfig += [ + (Symbol("db_backend"), Symbol(localconfig["dbbackend"])), + ] + if nodetype in ("frontendnodes", "storagenodes"): plopconfig += [ - (Symbol("entry_root_path"), paths["db"] + "certentries/"), + (Symbol("entry_root_path"), paths["db"] + "certentries"), ] if nodetype == "frontendnodes": plopconfig += [ @@ -241,8 +246,8 @@ def gen_config(nodename, config, localconfig): ] if nodetype in ("frontendnodes", "storagenodes"): plopconfig += [ - (Symbol("entryhash_root_path"), paths["db"] + "entryhash/"), - (Symbol("indexforhash_root_path"), paths["db"] + "certindex/"), + (Symbol("entryhash_root_path"), paths["db"] + "entryhash"), + (Symbol("indexforhash_root_path"), paths["db"] + "certindex"), ] if nodetype == "frontendnodes": plopconfig += [ @@ -260,7 +265,7 @@ def gen_config(nodename, config, localconfig): plopconfig += [ (Symbol("verifiedsize_path"), paths["mergedb"] + "/verifiedsize"), (Symbol("index_path"), paths["mergedb"] + "/logorder"), - (Symbol("entry_root_path"), paths["mergedb"] + "/chains/"), + (Symbol("entry_root_path"), paths["mergedb"] + "/chains"), ] signingnodes = config["signingnodes"] |