Search in sources :

Example 1 with BlockDbMapDbImpl

use of neo.model.db.mapdb.BlockDbMapDbImpl in project neo-java by coranos.

the class TestBlockDbMapDbImpl method test001getHeaderOfBlockWithMaxIndex.

@Test
public void test001getHeaderOfBlockWithMaxIndex() throws IOException, DecoderException {
    final BlockDb blockDb = new BlockDbMapDbImpl(null);
    Assert.assertNotNull("header of block database should not be null", blockDb.getHeaderOfBlockWithMaxIndex());
}
Also used : BlockDb(neo.model.db.BlockDb) BlockDbMapDbImpl(neo.model.db.mapdb.BlockDbMapDbImpl) Test(org.junit.Test)

Aggregations

BlockDb (neo.model.db.BlockDb)1 BlockDbMapDbImpl (neo.model.db.mapdb.BlockDbMapDbImpl)1 Test (org.junit.Test)1