use of org.ethereum.config.CommonConfig in project rskj by rsksmart.
the class CommonConfigTest method createRepositoryUsingNewRepository.
@Test
public void createRepositoryUsingNewRepository() {
CommonConfig config = new CommonConfig();
Repository repository = config.repository(this.config);
Assert.assertNotNull(repository);
Assert.assertTrue(repository instanceof RepositoryImpl);
}
use of org.ethereum.config.CommonConfig in project rskj by rsksmart.
the class CommonConfigTest method createParentHeaderValidator.
@Test
public void createParentHeaderValidator() {
CommonConfig config = new CommonConfig();
ParentBlockHeaderValidator result = config.parentHeaderValidator(this.config, new DifficultyCalculator(this.config));
Assert.assertNotNull(result);
}
use of org.ethereum.config.CommonConfig in project rskj by rsksmart.
the class CommonConfigTest method createTransactionPoolTransactions.
@Test
public void createTransactionPoolTransactions() {
CommonConfig config = new CommonConfig();
List<Transaction> result = config.transactionPoolTransactions();
Assert.assertNotNull(result);
Assert.assertTrue(result.isEmpty());
}
Aggregations