txgossip/gossip.py
def _handle_first_response(self, message, address):
        """Handle the response to a request."""
        self._scuttle.update_known_state(message['updates'])
        response = json.dumps({
            'type': 'second-response',
            'updates': self._scuttle.fetch_deltas(
                    message['digest'])
            })
        self.transport.write(response, address)
Handle the response to a request.
Handle the response to a request.
Handle the response to a request .
def _handle_first_response(self, message, address):
        self._scuttle.update_known_state(message['updates'])
        response = json.dumps({
            'type': 'second-response',
            'updates': self._scuttle.fetch_deltas(
                    message['digest'])
            })
        self.transport.write(response, address)
def _handle_first_response ( self , message , address ) : self . _scuttle . update_known_state ( message [ 'updates' ] ) response = json . dumps ( { 'type' : 'second-response' , 'updates' : self . _scuttle . fetch_deltas ( message [ 'digest' ] ) } ) self . transport . write ( response , address )
Handle the response to a request.
Handle the response to a request .
"""Handle the response to a request."""
self
message
address