referrerpolicy=no-referrer-when-downgrade

new_db_backend

Function new_db_backend 

Source
pub fn new_db_backend<Block>(
    settings: DatabaseSettings,
) -> Result<Arc<Backend<Block>>, Error>
where Block: BlockT,
Expand description

Create an instance of the default DB-backend.

Pruning filters can be configured via settings.pruning_filters. If any filter returns true for a block’s justifications, the block will not be pruned.