41cd6eb2b071904133dfc44f511318c3f774cbf5,grid/pubsub/workers/anchor.py,GridAnchor,__init__,#GridAnchor#,7

Before Change


		// Blocking until this node has found at least one other OpenMined node
		// This functionality queries https://github.com/OpenMined/BootstrapNodes for Anchor nodes
		// then asks those nodes for which other OpenMined nodes they know about on the network.
		self.listen_for_openmined_nodes(min_om_nodes=int(0))

		self.listen_to_channel(channels.openmined,just_listen)
		self.listen_to_channel(channels.list_workers,self.list_workers)
		

After Change


		self.processes["listen_for_openmined_nodes"] = ListenForOpenMinedNodesProcess(self,min_om_nodes=0)

		// just lets the network know its a member of the openmined network
		self.processes["passively_broadcast_membership"] = PassivelyBroadcastMembershipProcess(self)

		
		
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: OpenMined/Grid
Commit Name: 41cd6eb2b071904133dfc44f511318c3f774cbf5
Time: 2018-02-27
Author: liamtrask@gmail.com
File Name: grid/pubsub/workers/anchor.py
Class Name: GridAnchor
Method Name: __init__


Project Name: OpenMined/Grid
Commit Name: 41cd6eb2b071904133dfc44f511318c3f774cbf5
Time: 2018-02-27
Author: liamtrask@gmail.com
File Name: grid/pubsub/workers/base_worker.py
Class Name: GridWorker
Method Name: __init__


Project Name: OpenMined/Grid
Commit Name: bab459a1b22a119700573e5ae27b40b419ee4b5f
Time: 2018-02-27
Author: liamtrask@gmail.com
File Name: grid/pubsub/workers/anchor.py
Class Name: GridAnchor
Method Name: __init__