From 5b425c9bf3f4f6c2d1d1626f451096e13e571718 Mon Sep 17 00:00:00 2001 From: Paul Hauner Date: Fri, 31 May 2019 17:53:52 +1000 Subject: [PATCH] Switch runtime fork choice to optimized --- beacon_node/client/src/beacon_chain_types.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/beacon_node/client/src/beacon_chain_types.rs b/beacon_node/client/src/beacon_chain_types.rs index 24ad93ad44..f84a7fdf65 100644 --- a/beacon_node/client/src/beacon_chain_types.rs +++ b/beacon_node/client/src/beacon_chain_types.rs @@ -1,5 +1,5 @@ use beacon_chain::{ - fork_choice::BitwiseLMDGhost, + fork_choice::OptimizedLMDGhost, slot_clock::SystemTimeSlotClock, store::{DiskStore, MemoryStore, Store}, BeaconChain, BeaconChainTypes, @@ -28,7 +28,7 @@ pub struct TestnetMemoryBeaconChainTypes; impl BeaconChainTypes for TestnetMemoryBeaconChainTypes { type Store = MemoryStore; type SlotClock = SystemTimeSlotClock; - type ForkChoice = BitwiseLMDGhost; + type ForkChoice = OptimizedLMDGhost; type EthSpec = LighthouseTestnetEthSpec; } @@ -45,7 +45,7 @@ pub struct TestnetDiskBeaconChainTypes; impl BeaconChainTypes for TestnetDiskBeaconChainTypes { type Store = DiskStore; type SlotClock = SystemTimeSlotClock; - type ForkChoice = BitwiseLMDGhost; + type ForkChoice = OptimizedLMDGhost; type EthSpec = LighthouseTestnetEthSpec; }