Skip to content

Commit

Permalink
show desired version in share explorer
Browse files Browse the repository at this point in the history
  • Loading branch information
forrestv committed May 3, 2012
1 parent fb1e69b commit 5e361db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions p2pool/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ def get_share(share_hash_str):
donation=share.share_data['donation']/65535,
stale_info=share.share_data['stale_info'],
nonce=share.share_data['nonce'],
desired_version=share.share_data['desired_version'],
),
block=dict(
hash='%064x' % share.header_hash,
Expand Down
1 change: 1 addition & 0 deletions web-static/share.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
b.append('p').text('Donation amount: ' + d3.format('.3p')(share.share_data.donation));
b.append('p').text('Stale info: ' + (share.share_data.stale_info == 0 ? 'none' : share.share_data.stale_info == 253 ? 'had an orphan' : share.share_data.stale_info == 254 ? 'had a dead' : 'unknown'));
b.append('p').text('Nonce: ' + share.share_data.nonce);
b.append('p').text('Desired version: ' + share.share_data.desired_version);
b.append('h2').text('Block');
var block = b.append('p')
block.append('span').text('Hash: ')
Expand Down

0 comments on commit 5e361db

Please sign in to comment.