Esempio n. 1
0
    def handle_version(self, payload):
        # Save their version payload
        stream = BytesIO(payload)
        self.peer_version_payload = read_version_payload(stream)

        # Acknowledge
        self.send_verack()
    def handle_version(self, payload):
        # save their version payload
        stream = BytesIO(payload)
        self.peer_version_payload = read_version_payload(stream)

        # ack
        self.send_verack()