internal void ResumeNodeStartup() { suspend = false; if (start_message != null) { LocalNode.Tell(start_message); start_message = null; } }
public void StartNode(int port = 0, int wsPort = 0, int minDesiredConnections = Peer.DefaultMinDesiredConnections, int maxConnections = Peer.DefaultMaxConnections) { start_message = new Peer.Start { Port = port, WsPort = wsPort, MinDesiredConnections = minDesiredConnections, MaxConnections = maxConnections }; if (!suspend) { LocalNode.Tell(start_message); start_message = null; } }