@ -23,8 +23,8 @@ import org.hyperledger.besu.consensus.common.VoteTallyUpdater;
import org.hyperledger.besu.consensus.common.bft.BftContext ;
import org.hyperledger.besu.consensus.common.bft.BftContext ;
import org.hyperledger.besu.consensus.ibftlegacy.IbftLegacyBlockInterface ;
import org.hyperledger.besu.consensus.ibftlegacy.IbftLegacyBlockInterface ;
import org.hyperledger.besu.consensus.ibftlegacy.IbftProtocolSchedule ;
import org.hyperledger.besu.consensus.ibftlegacy.IbftProtocolSchedule ;
import org.hyperledger.besu.consensus.ibftlegacy.protocol.Istanbul64 Protocol ;
import org.hyperledger.besu.consensus.ibftlegacy.protocol.Istanbul99 Protocol ;
import org.hyperledger.besu.consensus.ibftlegacy.protocol.Istanbul64 ProtocolManager ;
import org.hyperledger.besu.consensus.ibftlegacy.protocol.Istanbul99 ProtocolManager ;
import org.hyperledger.besu.ethereum.ProtocolContext ;
import org.hyperledger.besu.ethereum.ProtocolContext ;
import org.hyperledger.besu.ethereum.blockcreation.MiningCoordinator ;
import org.hyperledger.besu.ethereum.blockcreation.MiningCoordinator ;
import org.hyperledger.besu.ethereum.blockcreation.NoopMiningCoordinator ;
import org.hyperledger.besu.ethereum.blockcreation.NoopMiningCoordinator ;
@ -58,7 +58,7 @@ public class IbftLegacyBesuControllerBuilder extends BesuControllerBuilder {
protected SubProtocolConfiguration createSubProtocolConfiguration (
protected SubProtocolConfiguration createSubProtocolConfiguration (
final EthProtocolManager ethProtocolManager ) {
final EthProtocolManager ethProtocolManager ) {
return new SubProtocolConfiguration ( )
return new SubProtocolConfiguration ( )
. withSubProtocol ( Istanbul64 Protocol . get ( ) , ethProtocolManager ) ;
. withSubProtocol ( Istanbul99 Protocol . get ( ) , ethProtocolManager ) ;
}
}
@Override
@Override
@ -113,7 +113,7 @@ public class IbftLegacyBesuControllerBuilder extends BesuControllerBuilder {
@Override
@Override
protected String getSupportedProtocol ( ) {
protected String getSupportedProtocol ( ) {
return Istanbul64 Protocol . get ( ) . getName ( ) ;
return Istanbul99 Protocol . get ( ) . getName ( ) ;
}
}
@Override
@Override
@ -128,7 +128,7 @@ public class IbftLegacyBesuControllerBuilder extends BesuControllerBuilder {
final EthScheduler scheduler ,
final EthScheduler scheduler ,
final List < PeerValidator > peerValidators ) {
final List < PeerValidator > peerValidators ) {
LOG . info ( "Operating on IBFT-1.0 network." ) ;
LOG . info ( "Operating on IBFT-1.0 network." ) ;
return new Istanbul64 ProtocolManager (
return new Istanbul99 ProtocolManager (
protocolContext . getBlockchain ( ) ,
protocolContext . getBlockchain ( ) ,
networkId ,
networkId ,
protocolContext . getWorldStateArchive ( ) ,
protocolContext . getWorldStateArchive ( ) ,