MCPcopy Index your code
hub / github.com/Bitmessage/PyBitmessage / set_connection_fully_established

Method set_connection_fully_established

src/network/tcp.py:100–112  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

98 return True
99
100 def set_connection_fully_established(self):
101 if not self.isOutbound and not self.local:
102 shared.clientHasReceivedIncomingConnections = True
103 UISignalQueue.put(('setStatusIcon', 'green'))
104 UISignalQueue.put(('updateNetworkStatusTab', (self.isOutbound, True, self.destination)))
105 self.antiIntersectionDelay(True)
106 self.fullyEstablished = True
107 if self.isOutbound:
108 knownnodes.increaseRating(self.destination)
109 if self.isOutbound:
110 Dandelion().maybeAddStem(self)
111 self.sendAddr()
112 self.sendBigInv()
113
114 def sendAddr(self):
115 # We are going to share a maximum number of 1000 addrs (per overlapping

Callers 1

Calls 6

antiIntersectionDelayMethod · 0.95
sendAddrMethod · 0.95
sendBigInvMethod · 0.95
DandelionClass · 0.90
putMethod · 0.80
maybeAddStemMethod · 0.80

Tested by

no test coverage detected