use of org.tron.core.db.Manager in project java-tron by tronprotocol.
the class ApplicationImpl method init.
@Override
@Autowired
public void init(Args args) {
// p2pNode = new NodeImpl();
// p2pNode = ctx.getBean(NodeImpl.class);
dbManager = new Manager();
dbManager.init();
blockStoreDb = dbManager.getBlockStore();
services = new ServiceContainer();
nodeDelegate = new NodeDelegateImpl(dbManager);
}
Aggregations