package org.ethereum.facade;

import org.ethereum.db.BlockStore;
import org.ethereum.db.InMemoryBlockStore;
import org.hibernate.SessionFactory;

/**
 *
 * @author: Roman Mandeleil
 * Created on: 27/01/2015 01:05
 */
public class RemoteConfig {

    //@Autowired
    CommonConfig commonConfig;

    public BlockStore blockStore(SessionFactory sessionFactory){

        BlockStore blockStore = new InMemoryBlockStore();
        blockStore.setSessionFactory(sessionFactory);
        return blockStore;
    }
}
