use of io.nuls.ledger.service.intf.LedgerService in project nuls by nuls-io.
the class UtxoLedgerModuleBootstrap method init.
@Override
public void init() {
EventManager.putEvent(BalanceChangeNotice.class);
registerService();
ledgerService = NulsContext.getServiceBean(LedgerService.class);
UtxoOutputDataService outputDataService = NulsContext.getServiceBean(UtxoOutputDataService.class);
coinManager = UtxoCoinManager.getInstance();
coinManager.setOutputDataService(outputDataService);
cacheService = LedgerCacheService.getInstance();
addNormalTxValidator();
}
Aggregations