def start(self, port, peer_id="", group_id=""): self.__port = port if self.__inner_service_port is None: self.__inner_service_port = int(port) + conf.PORT_DIFF_INNER_SERVICE self.__peer_id = peer_id self.__group_id = group_id CommonThread.start(self)
def start(self, port, peer_id="", group_id=""): self.__port = port self.peer_id = peer_id self.__group_id = group_id CommonThread.start(self) self.__broadcast_process.set_to_process( BroadcastProcess.PROCESS_INFO_KEY, f"peer_id({self.get_peer_id()})")
def start(self, port, peer_id="", group_id=""): self.__port = port if self.__inner_service_port is None: self.__inner_service_port = port + conf.PORT_DIFF_INNER_SERVICE self.__peer_id = peer_id self.__group_id = group_id CommonThread.start(self) self.__broadcast_process.set_to_process(BroadcastProcess.PROCESS_INFO_KEY, f"peer_id({self.__peer_id})")
def start(self): if conf.ALLOW_MAKE_EMPTY_BLOCK: self.__block_generation_scheduler.start() CommonThread.start(self)