Skip to content

Commit

Permalink
added unix timestamp display to share explorer
Browse files Browse the repository at this point in the history
  • Loading branch information
forrestv committed Feb 27, 2012
1 parent 6d3eed1 commit 1cf73bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2pool/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def render_GET(self, request):
request.write('<p>Peer first received from: %s</p>' % ('%s:%i' % share.peer.addr if share.peer is not None else 'self or cache',))

request.write('<h2>Share data</h2>')
request.write('<p>Timestamp: %s</p>' % (time.ctime(share.timestamp),))
request.write('<p>Timestamp: %s (%i)</p>' % (time.ctime(share.timestamp), share.timestamp))
request.write('<p>Difficulty: %s</p>' % (format_bits(share.share_info['bits']),))
request.write('<p>Minimum difficulty: %s</p>' % (format_bits(share.share_info.get('max_bits', share.share_info['bits'])),))
request.write('<p>Payout script: %s</p>' % (bitcoin_data.script2_to_human(share.new_script, share.net.PARENT),))
Expand Down

0 comments on commit 1cf73bc

Please sign in to comment.