mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 00:42:42 +00:00
Modularize beacon node backend (#4718)
#4669 Modularize the beacon node backend to make it easier to add new database implementations
This commit is contained in:
@@ -7,7 +7,7 @@ autotests = false
|
||||
rust-version = "1.80.0"
|
||||
|
||||
[features]
|
||||
default = ["slasher-lmdb"]
|
||||
default = ["slasher-lmdb", "beacon-node-leveldb"]
|
||||
# Writes debugging .ssz files to /tmp during block processing.
|
||||
write_ssz_files = ["beacon_node/write_ssz_files"]
|
||||
# Compiles the BLS crypto code so that the binary is portable across machines.
|
||||
@@ -24,6 +24,11 @@ slasher-mdbx = ["slasher/mdbx"]
|
||||
slasher-lmdb = ["slasher/lmdb"]
|
||||
# Support slasher redb backend.
|
||||
slasher-redb = ["slasher/redb"]
|
||||
# Supports beacon node leveldb backend.
|
||||
beacon-node-leveldb = ["store/leveldb"]
|
||||
# Supports beacon node redb backend.
|
||||
beacon-node-redb = ["store/redb"]
|
||||
|
||||
# Deprecated. This is now enabled by default on non windows targets.
|
||||
jemalloc = []
|
||||
|
||||
@@ -56,6 +61,7 @@ serde_json = { workspace = true }
|
||||
serde_yaml = { workspace = true }
|
||||
slasher = { workspace = true }
|
||||
slog = { workspace = true }
|
||||
store = { workspace = true }
|
||||
task_executor = { workspace = true }
|
||||
types = { workspace = true }
|
||||
unused_port = { workspace = true }
|
||||
|
||||
Reference in New Issue
Block a user