示例#1
0
 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());
 }
示例#2
0
 public void Start(Wallet wallet)
 {
     if (started)
     {
         return;
     }
     started   = true;
     consensus = neoSystem.ActorSystem.ActorOf(ConsensusService.Props(neoSystem, settings, wallet));
     consensus.Tell(new ConsensusService.Start());
 }