We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f534365 commit 0ad876aCopy full SHA for 0ad876a
2 files changed
src/electrumx/server/env.py
@@ -224,8 +224,6 @@ def db_engine_enum(self) -> str:
224
choices = list_db_engine_choices()
225
db_eng = self.default('DB_ENGINE', None)
226
227
- if db_eng is None and electrumx.__version__.startswith("1."): # temporary legacy hack
228
- db_eng = "leveldb"
229
if db_eng is None:
230
raise self.Error(
231
f"required envvar DB_ENGINE not set.\n"
tests/server/test_env.py
@@ -16,8 +16,9 @@
16
17
base_environ = {
18
'DB_DIRECTORY': BASE_DB_DIR,
19
+ 'DB_ENGINE': 'rocksdb',
20
'DAEMON_URL': BASE_DAEMON_URL,
- 'COIN': 'BitcoinSV',
21
+ 'COIN': 'Bitcoin',
22
}
23
24
0 commit comments