class DefaultConfig {

    @Bean
    public PruneManager pruneManager() {
        if (config.databasePruneDepth() >= 0) {
            return new PruneManager((IndexedBlockStore) blockStore(), commonConfig.stateSource().getJournalSource(),
                    commonConfig.stateSource().getNoJournalSource(), config.databasePruneDepth());
        } else {
            return new PruneManager(null, null, null, -1); // dummy
        }
    }

    public  DefaultConfig();

}