package org.ethereum.config.net;

import org.ethereum.config.blockchain.MordenConfig;

/**
 * Created by Anton Nashatyrev on 25.02.2016.
 */
public class MordenNetConfig extends AbstractNetConfig {
    public MordenNetConfig() {
        add(0, new MordenConfig.Frontier());
        add(494_000, new MordenConfig.Homestead());
    }
}

@@ -42,286 +42,983 @@
 org.
-ethereum.config.blockchain.MordenConfig;%0A%0A/**%0A * Created by Anton Nashatyrev on 25.02.2016.%0A */%0Apublic class MordenNetConfig extends AbstractNetConfig %7B%0A    public MordenNetConfig() %7B%0A        add(0, new MordenConfig.Frontier());%0A        add(494_000, new MordenConfig.Homestead()
+apache.commons.lang3.tuple.Pair;%0Aimport org.ethereum.config.blockchain.Eip150HFConfig;%0Aimport org.ethereum.config.blockchain.MordenConfig;%0Aimport org.spongycastle.util.encoders.Hex;%0A%0Aimport java.util.Collections;%0Aimport java.util.List;%0A%0A/**%0A * Created by Anton Nashatyrev on 25.02.2016.%0A */%0Apublic class MordenNetConfig extends AbstractNetConfig %7B%0A    private static final long EIP150_HF_BLOCK = 1_783_000;%0A    private static final byte%5B%5D EIP150_HF_BLOCK_HASH =%0A            Hex.decode(%22f376243aeff1f256d970714c3de9fd78fa4e63cf63e32a51fe1169e375d98145%22);%0A%0A    public MordenNetConfig() %7B%0A        add(0, new MordenConfig.Frontier());%0A        add(494_000, new MordenConfig.Homestead());%0A        add(EIP150_HF_BLOCK, new Eip150HFConfig(new MordenConfig.Homestead()) %7B%0A            @Override%0A            public List%3CPair%3CLong, byte%5B%5D%3E%3E blockHashConstraints() %7B%0A                return Collections.singletonList(Pair.of(EIP150_HF_BLOCK, EIP150_HF_BLOCK_HASH));%0A            %7D%0A        %7D
 );%0A 

Update for Morden EIP150 HF