pub fn new(config: DatabaseSettings, canonicalization_delay: u64) -> Result<Self, client::error::Error> {
		let db = open_database(&config, columns::META, "full")?;

		Backend::from_kvdb(db as Arc<_>, config.pruning, canonicalization_delay)
	}
/// Create a new instance of database backend.
///
/// The pruning window is how old a block must be before the state is pruned.
Create a new instance of database backend.
The pruning window is how old a block must be before the state is pruned.
Create a new instance of database backend . The pruning window is how old a block must be before the state is pruned .
pub fn new(config: DatabaseSettings, canonicalization_delay: u64) -> Result<Self, client::error::Error> {
		let db = open_database(&config, columns::META, "full")?;
		Backend::from_kvdb(db as Arc<_>, config.pruning, canonicalization_delay)
	}
pub fn new ( config : DatabaseSettings , canonicalization_delay : u64 ) -> Result < Self , client :: error :: Error > { let db = open_database ( & config , columns :: META , " " ) ? ; Backend :: from_kvdb ( db as Arc < _ > , config . pruning , canonicalization_delay ) }
Create a new instance of database backend.
Create a new instance of database backend .
config
DatabaseSettings
canonicalization_delay
u64
config
DatabaseSettings
canonicalization_delay
u64