class MiningMainchainViewImpl implements MiningMainchainView {

    @Override
    public List<BlockHeader> get() {
        synchronized (internalBlockStoreReadWriteLock) {
            return Collections.unmodifiableList(mainchain);
        }
    }

    public  MiningMainchainViewImpl(BlockStore blockStore,
                                   int height);

}