good chain choosing scheme
[p2pool.git] / p2pool / bitcoin / p2p.py
index 3156fa2..dab765a 100644 (file)
@@ -390,6 +390,9 @@ class HeightTracker(object):
         if last is not None:
             self.request([], last)
         return height
+    
+    def get_highest_height(self):
+        return self.tracker.get_highest_height()
 
 if __name__ == '__main__':
     factory = ClientFactory(bitcoin_data.Mainnet)