mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-15 10:21:05 +00:00
Remove real-overseer 🎉 (#2834)
* remove real-overseer * overseer: only activate leaves which support parachains * integrate HeadSupportsParachains into service * remove unneeded line
This commit is contained in:
committed by
GitHub
parent
a345e2a83e
commit
57038b2e46
@@ -13,7 +13,7 @@
|
||||
|
||||
//! A RocksDB instance for storing parachain data; availability data, and approvals.
|
||||
|
||||
#[cfg(feature = "real-overseer")]
|
||||
#[cfg(feature = "full-node")]
|
||||
use {
|
||||
std::io,
|
||||
std::path::PathBuf,
|
||||
@@ -25,7 +25,6 @@ use {
|
||||
mod upgrade;
|
||||
|
||||
mod columns {
|
||||
#[cfg(feature = "real-overseer")]
|
||||
pub const NUM_COLUMNS: u32 = 3;
|
||||
|
||||
|
||||
@@ -73,13 +72,13 @@ impl Default for CacheSizes {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(feature = "real-overseer")]
|
||||
#[cfg(feature = "full-node")]
|
||||
fn other_io_error(err: String) -> io::Error {
|
||||
io::Error::new(io::ErrorKind::Other, err)
|
||||
}
|
||||
|
||||
/// Open the database on disk, creating it if it doesn't exist.
|
||||
#[cfg(feature = "real-overseer")]
|
||||
#[cfg(feature = "full-node")]
|
||||
pub fn open_creating(
|
||||
root: PathBuf,
|
||||
cache_sizes: CacheSizes,
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
//! Migration code for the parachain's DB.
|
||||
|
||||
|
||||
#![cfg(feature = "real-overseer")]
|
||||
#![cfg(feature = "full-node")]
|
||||
|
||||
use std::fs;
|
||||
use std::io;
|
||||
|
||||
Reference in New Issue
Block a user