def start_dispersy(self): DispersyExperimentScriptClient.start_dispersy(self) # as i'm cpu bound, lowering the number of bits of the elliptic curve self._my_member = self._dispersy.callback.call(self._dispersy.get_new_member, (u"NID_secp112r1",)) self.community_args = (self._my_member,)
def start_dispersy(self): DispersyExperimentScriptClient.start_dispersy(self) # as i'm cpu bound, lowering the number of bits of the elliptic curve self._my_member = self._dispersy.callback.call( self._dispersy.get_new_member, (u"NID_secp112r1", )) self.community_args = (self._my_member, )
def start_dispersy(self): from Tribler.community.channel.preview import PreviewChannelCommunity from Tribler.community.channel.community import ChannelCommunity DispersyExperimentScriptClient.start_dispersy(self) self._dispersy.callback.call(self._dispersy.define_auto_load, (ChannelCommunity, (), {"integrate_with_tribler": False})) self._dispersy.callback.call(self._dispersy.define_auto_load, (PreviewChannelCommunity, (), {"integrate_with_tribler": False})) self.community_args = (self._my_member,)
def start_dispersy(self): from Tribler.community.channel.preview import PreviewChannelCommunity from Tribler.community.channel.community import ChannelCommunity DispersyExperimentScriptClient.start_dispersy(self) self._dispersy.define_auto_load(ChannelCommunity, self._my_member, (), {"integrate_with_tribler": False}) self._dispersy.define_auto_load(PreviewChannelCommunity, self._my_member, (), {"integrate_with_tribler": False})
def start_dispersy(self): DispersyExperimentScriptClient.start_dispersy(self) self.community_args = (self._my_member,)
def start_dispersy(self, autoload_discovery=True): DispersyExperimentScriptClient.start_dispersy(self, autoload_discovery=False)