From ec3b24d96ea47c93eda63ea2b6bfebda594d5c72 Mon Sep 17 00:00:00 2001
From: Forrest Voight
Previous: %s
' % (share.previous_hash, p2pool_data.format_hash(share.previous_hash))) + if share.previous_hash is not None: + request.write('Previous: %s' % (share.previous_hash, p2pool_data.format_hash(share.previous_hash))) + if tracker.get_height(share.hash) >= 100: + jump_hash = tracker.get_nth_parent_hash(share.hash, 100) + if jump_hash is not None: + request.write(' (100 jump %s)' % (jump_hash, p2pool_data.format_hash(jump_hash))) + request.write('
') request.write('Next: %s
' % (', '.join('%s' % (next, p2pool_data.format_hash(next)) for next in sorted(tracker.reverse_shares.get(share.hash, set()), key=lambda sh: -len(tracker.reverse_shares.get(sh, set())))),)) request.write('Verified: %s
' % (share.hash in tracker.verified.shares,)) request.write('Time first seen: %s
' % (time.ctime(start_time if share.time_seen == 0 else share.time_seen),)) -- 1.7.1