db: remove wal disabling / fast-and-loose option. (#8963)
* parity: highlight --fast-and-loose is not recommended. * parity: remove fast-and-loose option, ref #1765 * db: remove db wal from options, it's always enabled * db: remove wal from rocksdb helpers * cli: fix wallet import test * ethcore: fix client config tests * parity: proper deprecated handling for fast-and-loose * ethcore-client: fix config * parity: mark fast-and-loose removed * parity: fix test_find_deprecated * parity: fix type for fast-and-loose flag * lock file
This commit is contained in:
@@ -102,8 +102,6 @@ pub struct ClientConfig {
|
||||
pub db_cache_size: Option<usize>,
|
||||
/// State db compaction profile
|
||||
pub db_compaction: DatabaseCompactionProfile,
|
||||
/// Should db have WAL enabled?
|
||||
pub db_wal: bool,
|
||||
/// Operating mode
|
||||
pub mode: Mode,
|
||||
/// The chain spec name
|
||||
@@ -137,7 +135,6 @@ impl Default for ClientConfig {
|
||||
name: "default".into(),
|
||||
db_cache_size: None,
|
||||
db_compaction: Default::default(),
|
||||
db_wal: true,
|
||||
mode: Mode::Active,
|
||||
spec_name: "".into(),
|
||||
verifier_type: VerifierType::Canon,
|
||||
|
||||
Reference in New Issue
Block a user