Beispiel #1
0
 def send_getheaders(self):
     # We ask for headers from their last tip.
     m = msg_getheaders()
     m.locator = self.block_store.get_locator(self.bestblockhash)
     self.conn.send_message(m)
Beispiel #2
0
 def send_getheaders(self):
     # We ask for headers from their last tip.
     m = msg_getheaders()
     m.locator = self.block_store.get_locator(self.bestblockhash)
     self.conn.send_message(m)