public void Start(Wallet wallet) { if (started) { return; } started = true; consensus = System.ActorSystem.ActorOf(ConsensusService.Props(System.LocalNode, System.TaskManager, System.Blockchain, System.LoadStore(Settings.Default.RecoveryLogs), wallet)); consensus.Tell(new ConsensusService.Start()); }
public void Start(Wallet wallet) { if (started) { return; } started = true; consensus = neoSystem.ActorSystem.ActorOf(ConsensusService.Props(neoSystem, settings, wallet)); consensus.Tell(new ConsensusService.Start()); }