def addToRouter(self, node):
        if self.isNewConnection(node) and node.id not in self.recent_transfers:
            if len(self.recent_transfers) == 10:
                self.recent_transfers.pop()
            self.recent_transfers.add(node.id)
            self.log.debug("found a new node, transferring key/values")
            reactor.callLater(1, self.transferKeyValues, node)
        self.router.addContact(node)
Called by rpc_ functions when a node sends them a request.
dataset/ETHPy150Open OpenBazaar/OpenBazaar-Server/dht/protocol.py/KademliaProtocol.addToRouter