Skip to content

Commit

Permalink
Merge pull request #993 from opentensor/chore/add-fast-blocks-to-node
Browse files Browse the repository at this point in the history
Add `fast-blocks` feature to node
  • Loading branch information
sam0x17 authored Nov 18, 2024
2 parents 03527fa + e7d06ca commit c062265
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 15 deletions.
19 changes: 5 additions & 14 deletions node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -106,25 +106,16 @@ subtensor-custom-rpc-runtime-api = { path = "../pallets/subtensor/runtime-api" }
substrate-build-script-utils = { workspace = true }

[features]
default = [
"rocksdb",
"sql",
"txpool",
]
sql = [
"fc-db/sql",
"fc-mapping-sync/sql",
]
default = ["rocksdb", "sql", "txpool"]
fast-blocks = ["node-subtensor-runtime/fast-blocks"]
sql = ["fc-db/sql", "fc-mapping-sync/sql"]
rocksdb = [
"sc-service/rocksdb",
"fc-db/rocksdb",
"fc-mapping-sync/rocksdb",
"fc-rpc/rocksdb"
]
txpool = [
"fc-rpc/txpool",
"fc-rpc-core/txpool"
"fc-rpc/rocksdb",
]
txpool = ["fc-rpc/txpool", "fc-rpc-core/txpool"]

# Dependencies that are only required if runtime benchmarking should be build.
runtime-benchmarks = [
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1 +1 @@

//! This crate exists for linting in CI. Look inside build.rs for reference.

0 comments on commit c062265

Please sign in to comment.